Fix powerpc64 ceil, rint etc. on sNaN input (bug 20160).
[glibc.git] / ChangeLog
blob776b7cab9894324bae9066579b6fa3506bed9603
1 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #20160]
4         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
5         argument to itself before returning the result.
6         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
7         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
8         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
9         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10         Likewise.
11         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
12         Likewise.
13         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
14         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
15         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
16         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
17         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
18         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
20         [BZ #20160]
21         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
22         argument to itself before returning the result.
23         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
24         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
25         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
26         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
27         Likewise.
28         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
29         Likewise.
30         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
31         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
32         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
33         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
34         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
35         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
37 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
39         * libm-test.inc: Replace usage of M_El with
40         (lit_e): New macro.
42 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
44         * libm-test.inc: Replace usage of M_PI_4l with
45         (lit_pi_4_d): New macro.
47 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
49         * libm-test.inc: Replace usage of M_PIl with
50         (lit_pi): New macro.
52 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
54         * libm-test.inc: Replace usage of M_PI2l with
55         (lit_pi_2_d): New macro.
57         * math/test-double.h (LITM): New macro.
58         * math/test-float.h (LITM): Likewise.
59         * math/test-ldouble.h (LITM): Likewise.
61 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
63         * libm-test.inc (M_PI_34l): Rename to
64         (lit_pi_3_m_4_d): New Macro.
65         (M_PI_34_LOG10El): Rename to
66         (lit_pi_3_m_4_ln10_m_d): New Macro.
67         (M_PI2_LOG10El): Rename to
68         (lit_pi_2_ln10_m_d):  New Macro.
69         (M_PI4_LOG10El): Rename to
70         (lit_pi_4_ln10_m_d):  New Macro.
71         (M_PI_LOG10El): Rename to
72         (lit_pi_ln10_d):  New Macro.
74 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
76         [BZ #20157]
77         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
78         determine whether to negate low half if [_ARCH_PPCGR], and integer
79         comparison otherwise.
80         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
81         determine whether to negate low half.
83         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
84         (NO_TEST_INLINE_DOUBLE): Likewise.
85         (TEST_COND_x86_64): Likewise.
86         (TEST_COND_x86): Likewise.
87         (M_PI_6l): Likewise.
89 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
91         * math/libm-test.inc:
92         (TEST_FLOAT): Change usage to TEST_COND_binary32.
93         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
94         (TEST_LDOUBLE): Update usage to evaluate as true if
95         the guarded tests match the property being tested.
96         (LDBL_MAX_EXP): Change to MAX_EXP.
97         (LDBL_MIN_EXP): Change to MIN_EXP.
98         (LDBL_MANT_DIG): Change to MANT_DIG, except for
99         nexttoward tests.
101 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
103         * math/libm-test.inc:
104         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
105         (TYPE_MIN): Likewise.
106         (TYPE_TRUE_MIN): Likewise.
107         (TYPE_MAX): Likewise.
108         (MIN_EXP): Likewise.
109         (MAX_EXP): Likewise.
110         (MANT_DIG): Likewise.
112         (FSTR_MAX): New macro.
113         (__CONCATX): Likewise.
114         (QTYPE_STR): Likewise.
115         (TEST_COND_binary32): Likewise.
116         (TEST_COND_binary64): Likewise.
117         (TEST_COND_binary128): Likewise.
118         (TEST_COND_ibm128): Likewise.
119         (TEST_COND_intel96): Likewise.
120         (TEST_COND_m68k96): Likewise.
122         (TEST_COND_flt_32): Redefine as equivalent format test macro.
123         (TEST_COND_dbl_64): Likewise.
124         (TEST_COND_ldbl_96_intel): Likewise.
125         (TEST_COND_ldbl_96_m68k): Likewise.
126         (TEST_COND_ldbl_128): Likewise.
127         (TEST_COND_ldbl_128ibm): Likewise.
129         (plus_zero): Redefine using LIT macro.
130         (minus_zero): Likewise.
131         (plus_infty): Redefine as (INF).
132         (minux_infty): Redefine as (-INF).
133         (max_value): Redefine as TYPE_MAX.
134         (min_value): Redefine as TYPE_MIN.
135         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
137         (print_float): Refactor to use snprintf to convert FLOAT values
138         to string. This brings it closer to dropin replacement of strtof
139         for the TS 18661 defined types.
140         (update_stats): Likewise.
141         (print_complex_function_ulps): Likewise.
142         (print_max_error): Likewise.
143         (print_complex_max_error): Likewise.
144         (check_float_internal): Likewise.
146         * math/test-float.h (PREFIX): New macro.
147         (LIT): Likewise.
148         (TYPE_STR): Likewise.
149         (FTOSTR): Likewise.
151         * math/test-double.h (PREFIX): New macro.
152         (LIT): Likewise.
153         (TYPE_STR): Likewise.
154         (FTOSTR): Likewise.
156         * math/test-ldouble.h (PREFIX): New macro.
157         (LIT): Likewise.
158         (TYPE_STR): Likewise.
159         (FTOSTR): Likewise.
161 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
163         [BZ #20156]
164         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
165         to itself when zero or not finite.
166         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
167         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
168         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
169         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
171 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
173         [BZ #20153]
174         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
175         x * x + x for infinities and NaNs.
177         [BZ #20151]
178         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
179         argument to itself before returning result.
180         (__ieee754_y0l): Likewise.
181         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
182         (__ieee754_y1l).
184         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
185         (atan_test_data): Likewise.
186         (ceil_test_data): Likewise.
187         (cos_test_data): Likewise.
188         (cosh_test_data): Likewise.
189         (erf_test_data): Likewise.
190         (exp2_test_data): Likewise.
191         (fabs_test_data): Likewise.
192         (floor_test_data): Likewise.
193         (ilogb_test_data): Likewise.
194         (j0_test_data): Likewise.
195         (j1_test_data): Likewise.
196         (jn_test_data): Likewise.
197         (lgamma_test_data): Likewise.
198         (lrint_test_data): Likewise.
199         (llrint_test_data): Likewise.
200         (logb_test_data): Likewise.
201         (lround_test_data): Likewise.
202         (llround_test_data): Likewise.
203         (nearbyint_test_data): Likewise.
204         (rint_test_data): Likewise.
205         (round_test_data): Likewise.
206         (sin_test_data): Likewise.
207         (sincos_test_data): Likewise.
208         (sinh_test_data): Likewise.
209         (sqrt_test_data): Likewise.
210         (tan_test_data): Likewise.
211         (tanh_test_data): Likewise.
212         (tgamma_test_data): Likewise.
213         (trunc_test_data): Likewise.
214         (y0_test_data): Likewise.
215         (y1_test_data): Likewise.
216         (yn_test_data): Likewise.
218         * math/libm-test.inc: Update comment about NaN testing.
219         (TEST_SNAN): New macro.
220         (snan_value): Likewise.
221         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
222         (fpclassify_test_data): Add sNaN tests.
223         (isfinite_test_data): Likewise.
224         (isinf_test_data): Likewise.
225         (isnan_test_data): Likewise.
226         (isnormal_test_data): Likewise.
227         (issignaling_test_data): Likewise.
228         (signbit_test_data): Likewise.
229         * math/gen-libm-test.pl (%beautify): Add snan_value.
230         (show_exceptions): Add argument $test_snan.
231         (parse_args): Handle snan_value as non-finite.  Update call to
232         show_exceptions.
233         * math/Makefile (libm-test-no-inline-cflags): Add
234         -fsignaling-nans.
236 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
238         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
239         (CFLAGS-oldsendmsg.c): Add rule.
240         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
241         Correct recvmsg symbol name.
242         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
243         Likewise.
245 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
247         * sysdeps/unix/sysv/linux/Makefile
248         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
249         oldsendmmsg.
250         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
251         sendmmsg.
252         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
253         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
254         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
255         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
257         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
258         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
260         Likewise.
261         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
262         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
263         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
264         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
265         iovlen and controllen fields to adjust to POSIX specification.
266         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
268         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
269         and change to correct expected type.
270         (msghdr.msg_controllen): Likewise.
271         (cmsghdr.cmsg_len): Likewise.
272         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
273         expected POSIX assumption about the size.
274         (msghdr.msg_controllen): Likewise.
275         (msghdr.__glibc_reserved1): Likewise.
276         (msghdr.__glibc_reserved2): Likewise.
277         (cmsghdr.cmsg_len): Likewise.
278         (cmsghdr.__glibc_reserved1): Likewise.
279         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
280         Add ptw-oldrecvmsg and ptw-oldsendmsg.
281         (CFLAGS-sendmsg.c): Remove rule.
282         (CFLAGS-recvmsg.c): Likewise.
283         (CFLAGS-oldsendmsg.c): Add rule.
284         (CFLAGS-oldrecvmsg.c): Likewise.
285         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
286         recvmsg and sendmsg.
287         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
288         Likewise.
289         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
290         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
291         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
292         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
293         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
294         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
295         Likewise.
296         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
297         Likewise.
298         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
299         Likewise.
300         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
301         Likewise.
302         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
303         Likewise.
304         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
305         Likewise.
306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
307         (GLIBC_2.24): Likewise.
308         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
309         Likewise.
310         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
311         Likewise.
312         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
313         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
314         Likewise.
315         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
316         Likewise.
317         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
318         Likewise.
319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
320         (GLIBC_2.24): Likewise.
321         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
322         Likewise.
323         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
324         Likewise.
325         * sysdeps/unix/sysv/linux/Makefile
326         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
327         (CFLAGS-sendmsg.c): Add rule.
328         (CFLAGS-recvmsg.c): Likewise.
329         (CFLAGS-oldsendmsg.c): Likewise.
330         (CFLAGS-oldrecvmsg.c): Likewise.
331         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
332         initialization.
333         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
334         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
335         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
336         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
337         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
338         iovlen and controllen fields to adjust to POSIX specification.
339         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
340         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
341         added recvmsg and sendmsg.
342         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
343         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
344         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
345         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
346         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
347         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
348         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
349         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
350         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
351         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
352         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
353         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
355         Likewise.
356         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
358         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
359         Likewise.
360         Likewise.
361         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
362         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
363         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
364         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
365         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
366         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
368         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
370         Likewise.
371         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
372         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
374         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
375         from auto-generation.
376         (sendmsg): Likewise.
377         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
378         (sendmsg): Likewise.
379         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
380         (sendmsg): Likewise.
381         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
382         (sendmsg): Likewise.
383         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
384         (sendmsg): Likewise.
385         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
386         (sendmsg): Likewise.
387         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
388         Likewise.
389         (sendmsg): Likewise.
390         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
391         (sendmsg): Likewise.
392         * sysdeps/unix/sysv/linux/i386/kernel-features.h
393         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
394         Remove.
395         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
396         Likewise.
397         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
398         Undefine.
399         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
400         Likewise.
401         * sysdeps/unix/sysv/linux/kernel-features.h
402         (__ASSUME_SENDMSG_SYSCALL): Define.
403         (__ASSUME_RECVMSG_SYSCALL): Likewise.
404         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
405         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
406         Remove.
407         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
408         Likewise.
409         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
410         Undefine.
411         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
412         Likewise.
413         * sysdeps/unix/sysv/linux/s390/kernel-features.h
414         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
415         Remove.
416         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
417         Likewise.
418         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
419         Undefine.
420         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
421         Likewise.
422         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
423         (__ASSUME_SENDMSG_SYSCALL): Undefine.
424         (__ASSUME_RECVMSG_SYSCALL): Likewise.
425         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
426         (__ASSUME_SENDMSG_SYSCALL): Likewise.
427         (__ASSUME_RECVMSG_SYSCALL): Likewise.
428         * sysdeps/unix/sysv/linux/sh/kernel-features.h
429         (__ASSUME_SENDMSG_SYSCALL): Likewise.
430         (__ASSUME_RECVMSG_SYSCALL): Likewise.
432 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
434         * stdlib/gen-tst-strtod-round.c: Add backslash to
435         compile command in comment.
436         (printfp): Remove the literal suffix, and define an infinite
437         value as INF to avoid expansion clash with INFINITY.
438         (round_str): Remove the literal suffix.
439         (round_for_all): Likewise, remove the now duplicate ldbl-64
440         entry, and remove some magic constants.
442         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
443         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
444         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
445         (_CONCAT): New macro.
446         (CONCAT): Likewise.
447         (CHOOSE_ld): Likewise.
448         (CHOOSE_f): Likewise.
449         (CHOOSE_d): Likewise.
450         (FTYPE_MEMBER): Likewise.
451         (BOOL_MEMBER): Likewise.
452         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
453         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
454         (_XNTRY): Likewise.
455         (XNTRY): Likewise.
456         (_ENTRY): Likewise.
457         (ENTRY): Likewise.
458         (test_exactness): Generate members via macro.
459         (test_results): Likewise.
460         (test): Update members.
461         (TEST): Redefine using new macros.
462         (INF): New macro.
463         (fetestmodes): New structure.
464         (do_test): Refactor to be type generic.
465         (test_in_one_mode): Refactor duplicate code into
466         (GEN_ONE_TEST): New macro.
468         * stdlib/tst-strtod-round-data.h: Regenerate.
470         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
471         Extend to pass additional arbitrary parameters to
472         generators.
474 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
476         [BZ #15479]
477         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
478         floating-point state after first floating-point operation on
479         input.  Restore full floating-point state instead of just rounding
480         mode.
481         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
482         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
483         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
484         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
485         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
487         [BZ #15479]
488         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
489         floating-point state after first floating-point operation on
490         input.  Restore full floating-point state instead of just rounding
491         mode.
492         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
493         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
494         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
495         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
496         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
498 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
500         [BZ #19727]
501         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
502         valid high surrogate.
503         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
504         of an utf16 surrogate.
505         * iconv/gconv_simple.c (BODY): Likewise.
506         * iconvdata/bug-iconv12.c: New file.
507         * iconvdata/Makefile (tests): Add bug-iconv12.
509 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
511         [BZ #19726]
512         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
513         outptrp in case of an illegal input.
514         * iconv/tst-iconv6.c: New file.
515         * iconv/Makefile (tests): Add tst-iconv6.
517 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
519         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
520         an error in case of a value in range of an utf16 low surrogate.
522 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
524         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
525         an error in case of a value in range of an utf16 low surrogate.
527 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
529         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
530         Move to ...
531         * sysdeps/s390/Makefile: ... here.
532         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
533         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
534         (BRANCH_ON_COUNT): New define.
535         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
536         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
537         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
538         run on s390-32, too.
539         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
540         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
541         run on s390-32, too.
542         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
543         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
544         run on s390-32, too.
546 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
548         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
549         etf3eh or new vector loop-variant.
551 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
553         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
554         etf3eh or new vector loop-variant.
556 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
558         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
559         or new vector loop-variant.
561 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
563         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
564         Rename to TR_LOOP and usage of tr instead of troo instruction.
566 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
568         * sysdeps/s390/multiarch/gconv_simple.c: New File.
569         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
571 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
573         * sysdeps/s390/multiarch/8bit-generic.c: New File.
574         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
575         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
576         New override define.
577         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
579 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
581         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
582         * sysdeps/s390/configure.ac: Add test for S390 vector register
583         support in gcc.
584         * sysdeps/s390/configure: Regenerated.
586 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
588         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
589         Install file from $(objpfx)gconv-modules.
590         ($(objpfx)gconv-modules): Concatenate architecture specific file
591         in variable sysdeps-gconv-modules and gconv-modules in src dir.
592         * sysdeps/s390/gconv-modules: New file.
593         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
594         Deleted.
595         ($(objpfx)gconv-modules-s390): Deleted.
596         (sysdeps-gconv-modules): New variable.
598 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
600         [BZ #15479]
601         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
602         of immediate operand to rounding instruction.
603         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
604         Likewise.
605         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
606         Likewise.
607         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
608         Likewise.
610 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
612         * math/libm-test.inc (MIN_EXP): Directly define as
613         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
615 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
617         * math/libm-test.inc (MANT_DIG): Directly define as
618         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
620 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
622         * stdlib/gen-tst-strtod-round.c (main):
623           Change usage to more closely match the generated
624           output.  Add usage and compilation instructions.
625           (string_to_fp): Add and use FILE* parameter as
626           output target.
627           (print_fp): Likewise.
628           (round_str): Likewise.
629           (round_for_all): Likewise.
630         * stdlib/tst-strtod-round.c (tests): Move into
631         * stdlib/tst-strtod-round-data.h: New file.
633 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
635         [BZ #15479]
636         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
637         (__round): Do not force "inexact" exception.
638         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
639         variable.
640         (__round): Do not force "inexact" exception.
641         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
642         (__roundf): Do not force "inexact" exception.
643         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
644         (__roundl): Do not force "inexact" exception.
645         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
646         (__roundl): Do not force "inexact" exception.
647         * math/libm-test.inc (round_test_data): Do not allow spurious
648         "inexact" exceptions.
650         [BZ #15479]
651         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
652         exception in comment.
653         (huge): Remove variable.
654         (__floor): Do not force "inexact" exception.
655         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
656         "inexact" exception in comment.
657         (huge): Remove variable.
658         (__floor): Do not force "inexact" exception.
659         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
660         exception in comment.
661         (huge): Remove variable.
662         (__floorf): Do not force "inexact" exception.
663         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
664         exception in comment.
665         (huge): Remove variable.
666         (__floorl): Do not force "inexact" exception.
668         [BZ #15479]
669         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
670         exception in comment.
671         (huge): Remove variable.
672         (__ceil): Do not force "inexact" exception.
673         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
674         "inexact" exception in comment.
675         (huge): Remove variable.
676         (__ceil): Do not force "inexact" exception.
677         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
678         (__ceilf): Do not force "inexact" exception.
679         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
680         exception in comment.
681         (huge): Remove variable.
682         (__ceill): Do not force "inexact" exception.
684 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
686         * config.h.in (BIND_NOW): New.
687         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
688         * configure: Regenerated.
689         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
690         indirect branch via the GOT slot.
692 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
694         [BZ #19765]
695         * sysdeps/s390/mempcpy.S: New File.
696         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
697         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
698         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
699         Add mempcpy variants.
700         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
701         (memcpy): Adjust to be usable from mempcpy entry point.
702         (__memcpy_mvcle): Likewise.
703         * sysdeps/s390/s390-64/memcpy.S: Likewise.
704         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
705         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
706         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
707         (__memcpy_z10): Likewise.
708         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
710 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
712         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
713         Remove __GI_ symbol.
714         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
715         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
716         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
717         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
718         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
719         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
721 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
723         * sysdeps/s390/s390-64/memcpy.S (memcpy):
724         Use cghi instead of chi to compare 64bit value.
726 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
728         * sysdeps/s390/s390-32/memcpy.S (memcpy):
729         Jump to 1MB check before executing mvc-loop.
731 2016-05-24  Florian Weimer  <fweimer@redhat.com>
733         [BZ #6527]
734         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
735         unconditionally.
736         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
738 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
740         * stdlib/tst-strtod6.c (do_test): Use new type generic
741         invocation of the test function.
742         (test): Refactor into ...
743         (TEST_STRTOD): New macro base function.
745 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
747         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
748         (TEST_STRTOD): New macro.
749         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
751 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
753         * stdlib/tst-strtod6.c (do_test): Use new type generic
754         invocation of the test function.
755         (test): Refactor into ...
756         (TEST_STRTOD): New macro base function.
758 2016-05-23  Florian Weimer  <fweimer@redhat.com>
760         CVE-2016-4429
761         [BZ #20112]
762         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
763         payload.
765 2016-05-23  Florian Weimer  <fweimer@redhat.com>
767         [BZ #20111]
768         * bits/sockaddr.h (_SS_SIZE): Define.
769         * bits/socket.h (_SS_SIZE): Remove.
770         (_SS_PADSIZE): Adjust to account for all padding.
771         (struct sockaddr_storage): Update comment.  Avoid implicit
772         padding.
773         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
774         (_SS_PADSIZE): Adjust to account for all padding.
775         (struct sockaddr_storage): Update comment.  Avoid implicit
776         padding.
777         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
778         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
779         (_SS_PADSIZE): Adjust to account for all padding.
780         (struct sockaddr_storage): Update comment.  Avoid implicit
781         padding.
782         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
783         __SS_SIZE is 126 in this version.
784         * inet/tst-sockaddr.c: New file.
785         * inet/Makefile (tests): Add tst-sockaddr.c
786         (tst-sockaddr.c): Compile with non-strict aliasing.
788 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
790         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
791         [XPG3 || XPG4].
792         (NL_ARGMAX): Also expect for [XPG3].
793         (NL_LANGMAX): Likewise.
794         (NL_MSGMAX): Likewise.
795         (NL_NMAX): Likewise.
796         (NL_SETMAX): Likewise.
797         (NL_TEXTMAX): Likewise.
798         (NZERO): Likewise.
799         (TMP_MAX): Likewise.
800         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
801         variable.
803         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
804         (PF_MAX): Update value.
805         (AF_KCM): New macro.
806         (SOL_NETBEUI): Likewise.
807         (SOL_LLC): Likewise.
808         (SOL_DCCP): Likewise.
809         (SOL_NETLINK): Likewise.
810         (SOL_TIPC): Likewise.
811         (SOL_RXRPC): Likewise.
812         (SOL_PPPOL2TP): Likewise.
813         (SOL_BLUETOOTH): Likewise.
814         (SOL_PNPIPE): Likewise.
815         (SOL_RDS): Likewise.
816         (SOL_IUCV): Likewise.
817         (SOL_CAIF): Likewise.
818         (SOL_ALG): Likewise.
819         (SOL_NFC): Likewise.
820         (SOL_KCM): Likewise.
821         (MSG_BATCH): New enum value and macro.
823 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
825         [BZ #18185]
826         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
827         sharing L2 cache to 2 for Knights Landing.
829 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
831         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
832         (FTW_DP): Do not expect for [XPG3 || XPG4].
833         (FTW_SL): Do not expect for [XPG3].
834         (FTW_SLN): Likewise.
835         (FTW_PHYS): Likewise.
836         (FTW_MOUNT): Likewise.
837         (FTW_DEPTH): Likewise.
838         (FTW_CHDIR): Likewise.
839         (nftw): Likewise.
840         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
841         variable.
843 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
845         * manual/errno.texi: Fix various typos & grammar errors.
847 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
849         * manual/intro.texi: Fix duplicated typo.
851 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
853         [BZ #13304]
854         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
855         <float.h>, <math_private.h> and <stdlib.h>.
856         (add_split): New function.
857         (mul_split): Likewise.
858         (ext_val): New typedef.
859         (store_ext_val): New function.
860         (mul_ext_val): New function.
861         (compare): New function.
862         (add_split_ext): New function.
863         (__fmal): After checking for Inf, NaN and zero, compute result as
864         an exact sum of scaled double values in round-to-nearest before
865         adding those up and adjusting for other rounding modes.
866         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
867         tests of fma.
868         * math/auto-libm-test-out: Regenerated.
870 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
872         [BZ #20119]
873         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
874         processor level type mask for CPUID with EAX == 11.
876 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
878         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
879         logical threads if the HTT bit is 0.
880         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
881         (index_cpu_HTT): Likewise.
882         (reg_HTT): Likewise.
884 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
886         [BZ #20115]
887         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
888         Remove alignments on jump targets.
890 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
892         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
893         (getpwent): Likewise.
894         (setpwent): Likewise.
895         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
896         variable.
898         * conform/data/search.h-data (insque): Do not expect for [XPG3].
899         (remque): Likewise.
900         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
901         variable.
903 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
905         * math/libm-test.inc: Update comment not to refer to signs of NaNs
906         not being tested.
908 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
910         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
911         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
912         call.
913         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
914         (__condvar_cleanup1): Likewise.
916 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
918         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
919         New
920         (__pthread_unwind): Renamed to ...
921         (PTHREAD_UNWIND): This.
922         (__pthread_enable_asynccancel): Replace
923         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
925 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
927         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
928         (CLONE_NEWCGROUP): New macro.
930         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
931         (Q_GETNEXTQUOTA): New macro.
933 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
935         [BZ #19907]
936         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
937         buffer updated by the previous run.
938         * string/test-memcpy.c (do_one_test): Likewise.
939         * benchtests/bench-memmove.c (do_one_test): Add a comment.
940         * string/test-memmove.c (do_one_test): Likewise.
942 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
944         [BZ #20094]
945         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
946         not [__USE_XOPEN].
947         (unlockpt): Likewise.
948         (ptsname): Likewise.
949         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
950         variable.
952         [BZ #20076]
953         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
954         instead of [__USE_UNIX98].
955         (S_ISSOCK): Likewise.
956         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
957         variable.
959         [BZ #20074]
960         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
961         [__USE_POSIX].
962         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
963         variable.
965         [BZ #20051]
966         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
967         (ttyslot): Do not declare.
968         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
969         (ttyslot): New prototype.
970         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
971         variable.
972         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
974 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
976         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
978 2016-05-13  Florian Weimer  <fweimer@redhat.com>
980         Fix race condition in tst-mallocfork2, use fewer resources.
981         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
982         to current process group.
983         (signal_sender): Yield in the non-sleeping case.
985 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
987         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
988         (ecvt): Likewise.
989         (fcvt): Likewise.
990         (gcvt): Likewise.
991         (getsubopt): Likewise.
992         (grantpt): Likewise.
993         (initstate): Likewise.
994         (l64a): Likewise.
995         (mktemp): Likewise.
996         (mkstemp): Likewise.
997         (ptsname): Likewise.
998         (random): Likewise.
999         (realpath): Likewise.
1000         (setstate): Likewise.
1001         (srandom): Likewise.
1002         (ttyslot): Likewise.
1003         (unlockpt): Likewise.
1004         (valloc): Likewise.
1006         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
1007         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
1008         variable.
1010 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1012         [BZ #20072]
1013         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
1014         init_cpu_features only if SHARED is defined.
1015         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
1017 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1019         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
1020         non-inclusive caches on Intel processors.
1022 2016-05-13  Florian Weimer  <fweimer@redhat.com>
1024         * malloc/malloc.c (dumped_main_arena_start)
1025         (dumped_main_arena_end): New variables.
1026         (DUMPED_MAIN_ARENA_CHUNK): New macro.
1027         (do_check_chunk): Skip dumped fake mmapped chunks.
1028         (munmap_chunk): Likewise.
1029         (__libc_free): Do not adjust statistics for fake mmapped chunks.
1030         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
1031         mmapped chunks.
1032         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
1033         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
1034         and dumped_main_arena_end to cover the dumped heap.
1036 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
1038         * conform/data/time.h-data (getdate_err): Do not expect for
1039         [XPG3].
1040         (getdate): Likewise.
1041         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
1042         variable.
1044         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
1045         (F_ULOCK): Likewise.
1046         (F_TEST): Likewise.
1047         (F_TLOCK): Likewise.
1048         (useconds_t): Likewise.
1049         (intptr_t): Do not expect for [XPG3] or [XPG4].
1050         (brk): Do not expect for [XPG3]
1051         (fchown): Likewise.
1052         (fchdir): Likewise.
1053         (ftruncate): Likewise.
1054         (getdtablesize): Likewise.
1055         (gethostid): Likewise.
1056         (getpagesize): Likewise.
1057         (getpgid): Likewise.
1058         (getsid): Likewise.
1059         (getwd): Likewise.
1060         (lchown): Likewise.
1061         (lockf): Likewise.
1062         (readlink): Likewise.
1063         (sbrk): Likewise.
1064         (setpgrp): Likewise.
1065         (setregid): Likewise.
1066         (setreuid): Likewise.
1067         (symlink): Likewise.
1068         (sync): Likewise.
1069         (truncate): Likewise.
1070         (ualarm): Likewise.
1071         (usleep): Likewise.
1072         (vfork): Likewise.
1073         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
1074         variable.
1076         [BZ #20054]
1077         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
1078         not [__USE_UNIX98].
1079         * conform/data/unistd.h-data (gethostname): Do not expect for
1080         [XPG3].
1082         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
1083         [!POSIX] (S_IFBLK): Likewise.
1084         [!POSIX] (S_IFCHR): Likewise.
1085         [!POSIX] (S_IFIFO): Likewise.
1086         [!POSIX] (S_IFREG): Likewise.
1087         [!POSIX] (S_IFDIR): Likewise.
1088         [!POSIX] (S_IFLNK): Likewise.
1089         [!POSIX] (S_IFSOCK): Likewise.
1090         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
1091         variable.
1092         (test-xfail-XPG4/fcntl.h/conform): Likewise.
1094 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
1096         * sysdeps/aarch64/memset.S (__memset):
1097         Rewrite of optimized memset.
1099 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1101         [BZ #19703]
1102         Partially async-signal-safe fork for single-threaded processes.
1103         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
1104         variable.  Do not acquire and reset/release malloc and libio locks
1105         in single-threaded processes.
1106         * malloc/tst-mallocfork2.c: New file.
1107         * malloc/Makefile (tests): Add it.
1109 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1111         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
1112         argument.  Use scratch buffer instead of extend_alloca.
1113         (gethosts): Use scratch buffer instead of extend_alloca.
1114         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
1115         extend_alloca.
1116         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
1118 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
1120         [BZ #20055]
1121         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
1122         instead of [__USE_UNIX98].
1123         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
1124         [__USE_UNIX98].
1125         * conform/data/termios.h-data (tcgetsid): Do not expect for
1126         [XPG3].
1127         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
1128         variable.
1129         (test-xfail-XPG4/termios.h/conform): Likewise.
1131 2016-05-11  Florian Weimer  <fweimer@redhat.com>
1133         Do not use mcheck in localedef.
1134         * locale/programs/localedef.c (turn_on_mcheck)
1135         (__malloc_initialize_hook): Remove.
1137 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1139         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
1140         * sysdeps/s390/s390-64/Makefile: Likewise.
1142 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
1144         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
1145         Remove ifunc-defines.sym.
1146         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
1147         Likewise.
1148         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
1149         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1150         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
1151         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
1152         rtld-global-offsets.sym.
1153         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
1154         * sysdeps/x86/cpu-features-offsets.sym: This.
1155         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
1156         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
1158 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
1160         [BZ #20073]
1161         * io/sys/stat.h (fchmod): Declare for
1162         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
1163         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
1164         variable.
1166         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
1167         [XPG3] (S_IFSOCK): Likewise.
1168         [XPG3] (S_ISVTX): Likewise.
1169         [XPG3] (S_ISLNK): Likewise.
1170         [XPG3] (S_ISSOCK): Likewise.
1171         [XPG3] (fchmod): Likewise.
1172         [XPG3] (lstat): Likewise.
1173         [XPG3] (mknod): Likewise.
1175         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
1176         [XPG3].  Expect type long and XFAIL for [XPG4].
1177         (st_blocks): Likewise.
1179         [BZ #20044]
1180         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
1181         (pthread_atfork): New prototype.
1182         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
1183         variable.
1185         [BZ #20043]
1186         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
1187         prototype.
1189 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1191         [BZ #20017]
1192         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
1193         gmtime.
1195 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1197         [BZ #19994]
1198         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
1199         flag in _res.options.
1201 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
1203         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
1204         [XPG3 || XPG4].
1205         (blksize_t): Likewise.
1206         (clockid_t): Likewise.
1207         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
1208         variable.
1209         (test-xfail-XPG4/sys/types.h/conform): Likewise.
1211 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1213         * sysdeps/unix/sysv/linux/s390/init-first.c:
1214         Add VDSO_SYMBOL(getcpu).
1215         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
1216         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
1217         Add VDSO_SYMBOL(getcpu).
1218         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
1219         New define HAVE_GETCPU_VSYSCALL.
1220         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1222 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
1224         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
1225         instead of <sysdeps/x86_64/cacheinfo.c>.
1226         * sysdeps/x86_64/cacheinfo.c: Moved to ...
1227         * sysdeps/x86/cacheinfo.c: Here.
1229 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1231         * malloc/malloc-internal.h: Adjust header file guard.
1233 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1235         [BZ #19787]
1236         * inet/getnameinfo.c (check_sprintf_result): New function.
1237         (CHECKED_SNPRINTF): New macro.
1238         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
1239         to the host buffer.
1240         (gni_host_local): Use checked_copy to copy the host name.
1241         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
1242         (gni_serv_local): Use checked_copy to copy the service name.
1243         (getnameinfo): Remove unnecessary truncation of result buffers.
1245 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1247         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
1248         in case of inet_ntop failure.
1250 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1252         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
1253         avoid long lines.
1254         (gni_host_inet_numeric): Likewise.  Reduce scope of local
1255         variables.
1256         (gni_host_inet, gni_host_local): Add comment.
1257         (gni_host): Add comment.  Use temporary to avoid long lines.
1259 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1261         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
1262         registers specifiers where general purpose registers specifiers should
1263         have been used.
1265 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1267         [BZ #19779]
1268         CVE-2016-1234
1269         Avoid copying names of directory entries.
1270         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
1271         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
1272         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
1273         (struct readdir_result): New type.
1274         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
1275         (GL_READDIR): New macros.
1276         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
1277         (convert_dirent, convert_dirent64): New functions.
1278         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
1279         convert_dirent64.  Adjust references to the readdir result.
1280         * sysdeps/unix/sysv/linux/i386/glob64.c:
1281         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
1282         * posix/bug-glob2.c (LONG_NAME): Define.
1283         (filesystem): Add LONG_NAME.
1284         (my_DIR): Increase the size of room_for_dirent.
1286 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
1288         [BZ #20041]
1289         * misc/sys/select.h (__need_timespec): Only define if
1290         [__USE_XOPEN2K].
1291         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
1292         variable.
1293         (test-xfail-XPG4/utmpx.h/conform): Likewise.
1294         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1295         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1297 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1298             Segher Boessenkool  <segher@gcc.gnu.org>
1300         [BZ #20004]
1301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
1302         (__novec_swapcontext): Add missing load.
1304 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
1306         [BZ #20023]
1307         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
1308         <time.h>.
1309         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
1310         variable.
1311         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1313 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
1316         flags CLONE_VM compare.
1318 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1320         [BZ #20031]
1321         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
1322         completely empty.
1324 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1326         [BZ #19573]
1327         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
1328         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
1329         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
1330         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
1331         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
1332         (hesiod_free_list): Mark as hidden.
1333         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
1334         res_set, res_get.
1335         * hesiod/hesiod.c: Remove unnecessary forward declarations.
1336         (init, __hesiod_res_get, __hesiod_res_set): Remove.
1337         (hesiod_init): Remove obsolete res_ninit call.
1338         (hesiod_end): Do not free resolver state.  Do not invoke callback.
1339         (hesiod_bind): Do not call init.
1340         (get_txt_records): Use res_mkquery, res_send instead of
1341         res_nmkquery, res_nsend.
1342         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
1343         instead of _nss_hesiod_init.
1344         (_nss_hesiod_initgroups_dyn): Likewise.
1345         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
1346         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
1347         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
1349 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1351         * hesiod/hesiod_p.h (DEF_RHS): Remove.
1352         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
1354 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1356         * hesiod/hesiod.h: Remove RCS keyword.
1357         * hesiod/hesiod_p.h: Likewise.
1359         * hesiod/hesiod.c: Likewise.
1361 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
1363         [BZ #12450]
1364         * locale/iso-639.def: Add Samogitian/sgs.
1366 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
1368         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
1370         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
1372 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
1373             Carlos O'Donell  <carlos@redhat.com>
1375         [BZ #19072]
1376         * grp/Makefile (headers): Add grp-merge.h
1377         (routines): Add grp-merge.
1378         * grp/getgrgid_r.c: Include grp-merge.h.
1379         (DEEPCOPY_FN): Define.
1380         (MERGE_FN): Define.
1381         * grp/getgrname_r.c: Include grp-merge.h.
1382         (DEEPCOPY_FN): Define.
1383         (MERGE_FN): Define.
1384         * grp/grp-merge.c: New file.
1385         * grp/grp-merge.h: New file.
1386         * include/grp-merge.h: New file.
1387         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
1388         __copy_grp@GLIBC_PRIVATE.
1389         * manual/nss.texi (Actions in the NSS configuration): Describe
1390         return, continue, and merge.
1391         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
1392         (DEEPCOPY_FN): Define.
1393         (MERGE_FN): Define.
1394         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
1395         (DEEPCOPY_FN): Define.
1396         (MERGE_FN): Define.
1397         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
1398         [!MERGE_FN]: Define __merge_einval.
1399         (CHECK_MERGE): Define.
1400         (REENTRANT_NAME): Process merge if do_merge is true.
1401         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
1402         (__nss_getent_r): Likewise.
1403         * nss/nsswitch.c (nss_parse_service_list): Likewise.
1404         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
1406 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1408         [BZ #20012]
1409         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
1410         length to calculate the buffer to read.
1411         (fmemopen_write): Set the buffer position based on bytes written.
1412         (fmemopen_seek): Return EINVAL for invalid whence modes.
1414         [BZ #19957]
1415         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
1416         tst-getpid2.
1417         (test): Add tst-clone2.
1418         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
1419         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
1420         pid/tid fields for CLONE_VM.
1421         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1422         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1423         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1424         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
1425         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
1426         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1427         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
1428         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1430         Likewise.
1431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1432         Likewise.
1433         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
1434         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
1435         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1436         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1437         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1438         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1439         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1440         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
1442 2016-04-29  Florian Weimer  <fweimer@redhat.com>
1444         [BZ #19642]
1445         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
1446         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
1447         (gni_serv_local, gni_serv): New functions extracted from
1448         getnameinfo.
1449         (getnameinfo): Call gni_host and gni_serv to perform the
1450         processing.  Always free scratch buffer.
1452 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1454         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
1455         remaining bytes in the dest string, with zeros.
1457 2016-04-29  Florian Weimer  <fweimer@redhat.com>
1459         [BZ #20010]
1460         CVE-2016-3706
1461         * sysdeps/posix/getaddrinfo.c
1462         (convert_hostent_to_gaih_addrtuple): New function.
1463         (gethosts): Call convert_hostent_to_gaih_addrtuple.
1464         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
1465         AF_INET data.
1467 2016-04-29  Florian Weimer  <fweimer@redhat.com>
1469         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
1470         callback function gl_readdir.
1471         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
1472         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
1473         (glob_in_dir): Remove len.  Use strdup instead of malloc and
1474         memcpy to copy the name.
1475         * manual/pattern.texi (Calling Glob): Document requirements for
1476         implementations of the gl_readdir callback function.
1477         * manual/examples/mkdirent.c: New example.
1478         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
1479         per the manual guidance.
1480         * posix/tst-gnuglob.c (my_readdir): Likewise.
1482 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
1484         [BZ #20014]
1485         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
1486         not [__USE_POSIX].
1487         (getchar_unlocked): Likewise.
1488         (putc_unlocked): Likewise.
1489         (putchar_unlocked): Likewise.
1490         (flockfile): Likewise.
1491         (ftrylockfile): Likewise.
1492         (funlockfile): Likewise.
1493         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
1494         variable.
1495         (test-xfail-XPG4/stdio.h/conform): Likewise.
1497         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
1498         Expect constant.
1499         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
1500         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
1501         variable.
1502         (test-xfail-XPG4/langinfo.h/conform): Likewise.
1503         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1505         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
1506         [__USE_LARGEFILE64] (off64_t): Likewise.
1507         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
1508         variable.
1510 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1512         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
1514 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1516         * resolv/inet_addr.c: Reindent preprocessor conditionals.
1517         * resolv/res_init.c: Likewise.
1518         * resolv/res_mkquery.c: Likewise.
1520 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1522         * resolv/res_init.c (isascii): Do not define.  Use definition in
1523         <ctype.h>.
1524         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
1525         (LOG_AUTH): Remove.
1526         (SPRINTF): Remove, adjust caller.
1527         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
1529 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1531         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
1532         SUNSECURITY conditional.
1533         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
1535 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1537         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
1538         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
1539         Remove BSD-related preprocessor conditionals.
1540         * conf/portability.h: Remove.
1542 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1544         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
1545         * resolv/res_data.c: Likewise.
1547 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1549         * resolv/res_comp.c: Remove code conditional on __ultrix__.
1550         * resolv/res_data.c: Remove code conditional on ultrix.
1552 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1554         * resolv/res_init.c (RFC1535): Do not define.  Remove
1555         RFC1535 preprocessor conditionals.
1556         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
1557         because there configuration options which make the resolver
1558         behavior different.
1560 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1562         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
1563         RESOLVSORT preprocessor conditionals.
1564         * resolv/nss_dns/dns-host.c: Likewise.
1565         * resolv/res_init.c: Likewise.
1567 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1569         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
1570         is never defined.
1572 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1574         * inet/inet_lnaof.c: Remove SCSS keyword.
1575         * inet/inet_mkadr.c: Likewise.
1576         * inet/inet_net.c: Likewise.
1577         * inet/inet_netof.c: Likewise.
1578         * inet/rcmd.c: Likewise.
1579         * inet/rexec.c: Likewise.
1580         * inet/ruserpass.c: Likewise.
1582 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1584         * resolv/inet_addr.c: Remove _LIBC conditionals.
1585         * resolv/res_data.c: Likewise.
1586         * resolv/res_init.c: Likewise.
1587         * resolv/res_mkquery.c: Likewise.
1588         * resolv/res_libc.c: Update comment.
1589         * resolv/README: Update.
1591 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1593         * resolv/gethnamaddr.c: Remove SCSS keyword.
1594         * resolv/herror.c: Likewise.
1595         * resolv/inet_addr.c: Likewise.
1596         * resolv/inet_net_ntop.c: Likewise.
1597         * resolv/inet_net_pton.c: Likewise.
1598         * resolv/inet_neta.c: Likewise.
1599         * resolv/inet_ntop.c: Likewise.
1600         * resolv/inet_pton.c: Likewise.
1601         * resolv/ns_date.c: Remove RCS keyword.
1602         * resolv/ns_name.c: Likewise.
1603         * resolv/ns_netint.c: Likewise.
1604         * resolv/ns_parse.c: Likewise.
1605         * resolv/ns_print.c: Likewise.
1606         * resolv/ns_samedomain.c: Likewise.
1607         * resolv/ns_ttl.c: Likewise.
1608         * resolv/nsap_addr.c: Likewise.
1609         * resolv/res_comp.c: Remove SCSS and RCS keyword.
1610         * resolv/res_data.c: Remove RCS keyword.
1611         * resolv/res_debug.c: Remove SCSS and RCS keyword.
1612         * resolv/res_init.c: Likewise.
1613         * resolv/res_mkquery.c: Likewise.
1614         * resolv/res_query.c: Likewise.
1615         * resolv/res_send.c: Likewise.
1617 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
1619         * conform/data/stdio.h-data (fdopen): Expect also for
1620         [XPG3 || XPG4].
1622         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
1623         (fseeko): Likewise.
1624         (ftello): Likewise.
1625         (ftrylockfile): Likewise.
1626         (funlockfile): Likewise.
1627         (getc_unlocked): Likewise.
1628         (getchar_unlocked): Likewise.
1629         (putc_unlocked): Likewise.
1630         (putchar_unlocked): Likewise.
1632 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1634         [BZ #19868]
1635         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
1636         DNS packet syntax checks (which were not needed before).  Skip
1637         over non-PTR records.
1639 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1641         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
1642         definition.  Include <stddef.h> instead.
1644 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1646         [BZ #19831]
1647         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
1648         function.
1649         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
1650         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
1652 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1654         [BZ #19862]
1655         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
1656         (getanswer_r): Do not call syslog.
1657         (gaih_getanswer_slice): Likewise.
1658         * resolv/gethnamaddr.c (AskedForGot): Remove.
1659         (getanswer): Do not call syslog.
1660         (gethostbyaddr): Likewise.
1662 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
1664         * conform/data/signal.h-data (union sigval): Expect also if
1665         [XOPEN2K].
1666         (struct sigevent): Likewise.
1667         (SIGEV_NONE): Likewise.
1668         (SIGEV_SIGNAL): Likewise.
1669         (SIGEV_THREAD): Likewise.
1670         (SIGRTMIN): Likewise.
1671         (SIGRTMAX): Likewise.
1672         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
1673         variable.
1674         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1676 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1678         [BZ #19830]
1679         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
1680         (gaih_getanswer_slice): Likewise.
1681         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
1682         Also check for availability of RR metadata.
1684 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1686         [BZ #19825]
1687         * resolv/res_send.c (send_vc): Remove early *resplen2
1688         initialization.  Set *resplen2 on socket error.  Call
1689         close_and_return_error for other errors.
1691 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1693         * sysdeps/unix/sysv/linux/netiucv/iucv.h
1694         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
1695         (SCM_IUCV_TRGCLS): New define.
1697 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1699         [BZ #20005]
1700         * libio/fmemopen.c (fmemopen_write): Update internal position after
1701         write.
1702         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
1703         * stdio-common/tst-fmemopen4.c: New file..
1705 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
1707         [BZ #19996]
1708         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
1709         not [__USE_XOPEN2K].
1710         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
1711         variable.
1713         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
1714         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
1715         variable.
1717         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
1718         [__USE_XOPEN2K8].
1719         [__USE_LARGEFILE64] (off64_t): Likewise.
1720         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
1721         variable.
1723 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
1725         [BZ #19989]
1726         * libio/stdio.h (cuserid): Do not declare if
1727         [__USE_XOPEN2K && !__USE_GNU].
1728         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
1729         variable.
1731 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1733         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1734         (sysdep_routines): Add P8 and PPC64 strcspn targets.
1735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1736         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1737         ifunc'ed strcspn.
1738         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
1739         [EALIGN]: Removed.
1740         [END]: Likewise
1741         [STRSPN]: Define instead of the above to control symbol name.
1742         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
1743         New file.
1744         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
1745         Likewise.
1746         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
1747         Likewise.
1748         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
1749         Likewise.
1750         * sysdeps/powerpc/powerpc64/power8/strspn.S:
1751         [INITIAL_MASK]: New macro.
1752         [STRCSPN]: Likewise.
1753         [UPDATE_MASK]: Likewise.
1754         [USE_AS_STRCSPN]: Lisewise.
1756 2016-04-25  Florian Weimer  <fweimer@redhat.com>
1758         [BZ #19931]
1759         * stdio-common/tst-vfprintf-width-prec.c: New file.
1760         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
1761         (tests-special): Add tst-vfprintf-width-prec-mem.out.
1762         (generated): Add mtrace-related files.
1763         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
1764         (tst-%-mem.out): New pattern rule, replaces
1765         tst-printf-bz18872-mem.out.
1766         * stdio-common/vfprintf.c (vfprintf): When handling a precision
1767         specifier, deallocate any previously allocated work buffer.
1769 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
1771         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
1772         Add nop before __startcontext, add explaining comments.
1774 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
1776         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
1777         any more. Notably since IPV6_PKTINFO has been reintroduced with a
1778         completely different API.
1780         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
1781         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
1782         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
1783         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
1784         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
1785         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
1786         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
1787         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
1788         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
1789         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
1791 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
1793         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
1795 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
1797         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
1798         when it is the default of 0.
1800 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1802         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
1803         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1804         (sysdep_routines): Add new strcasestr targets.
1805         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1806         (__libc_ifunc_impl_list): Likewise.
1807         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
1808         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
1809         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
1810         * sysdeps/powerpc/powerpc64/power8/Makefile:
1811         New file to add strcasestr-ppc64 to sysdep_routines.
1812         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
1813         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
1815 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
1817         * benchtests/Makefile (wcsmbs-benchset): Include only for
1818         native builds and runs.
1819         (LOCALES): Likewise.
1820         (bench-build): Build timing-type here instead of the bench
1821         target.  Generate locale only for native builds.
1822         * benchtests/README: Add note for cross-building.
1824         * benchtests/Makefile (bench-clean): Clean up extra-objs.
1826         * benchtests/README: Update README to include instructions on
1827         using bench-build.
1829         * Makefile.in (bench-build): New target.
1830         * Rules (PHONY): Add bench-build target.
1831         * benchtests/Makefile (bench): Depend on bench-build.
1832         (bench-build): New target.
1834 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1836         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
1837         profil_reply_port.
1838         (profile_waiter): Do not initialize profil_reply_port.
1839         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
1840         frequency instead of tick length in us.
1842 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
1844         [BZ #18712]
1845         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
1846         (__old_mempcpy_small): Likewise.
1847         (__old_strcpy_small): Likewise.
1848         (__old_stpcpy_small): Likewise.
1849         (__old_strpbrk_c2): Fix compat symbol name.
1850         (__old_strpbrk_c3): Likewise.
1851         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
1852         (__mempcpy_small): Remove.
1853         (__strcpy_small): Remove.
1854         (__stpcpy_small): Remove.
1856 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
1858         [BZ #19400]
1859         * locale/iso-639.def: Add the Talossan/tzl language.
1861 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
1863         [BZ #16983]
1864         * locale/programs/ld-address.c (address_finish): Update postal_fmt
1865         comment.  Add "ln" to strchr check on postal_fmt.
1867 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
1869         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
1870         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
1871         tel_dom_fmt.
1873 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1875         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1876         (sysdep_routines): Added __strlen_power8.
1877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
1878         __strlen_power8 entry.
1879         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
1880         Implementation for POWER8.
1881         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
1882         for __strlen_power8.
1883         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
1884         Implementation for POWER8.
1886 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
1888         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
1890 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
1892         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
1893         Goldmont and Airmont processors.
1895 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
1897         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
1898         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
1899         (__STRING2_SMALL_GET32): Remove.
1900         (memset): Remove.
1901         (__memset_1): Remove.
1902         (__memset_gc): Remove.
1903         (__mempcpy): Remove.
1904         (mempcpy): Remove.
1905         (__mempcpy_args): Remove.
1906         (strchr): Remove.
1907         (strcpy): Remove.
1908         (strcpy_args): Remove.
1909         (__stpcpy_args): Remove.
1910         (__strcmp_cc): Remove.
1911         (__strcmp_gc): Remove.
1912         (strstr): Remove.
1914 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
1916         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
1917         * nis/nis_call.c (nis_server_cache_add): Likewise.
1919 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1921         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
1923 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1925         * malloc/arena.c (__malloc_fork_lock_parent)
1926         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
1927         internal_function attribute.
1929 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
1931         * stdio-common/printf_fp.c (__printf_fp_l):
1932         Rename ___printf_fp_l to __printf_fp_l and
1933         remove strong alias. Use libc_hidden_def instead
1934         of ldbl_hidden_def macro.
1936 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1938         Remove malloc hooks from fork handler.  They are no longer needed
1939         because malloc runs right before fork, and no malloc calls from
1940         other fork handlers are not possible anymore.
1941         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
1942         declarations.
1943         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
1944         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
1945         (atfork_recursive_cntr): Remove.
1946         (__malloc_fork_lock_parent): Do not override malloc hooks and
1947         thread_arena.
1948         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
1949         thread_arena.
1950         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
1951         thread_arena instead of save_arena.
1953 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1955         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
1956         (thread_atfork, thread_atfork_static): Remove.
1957         * sysdeps/mach/hurd/malloc-machine.h:
1958         (thread_atfork, thread_atfork_static): Remove.
1960 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1962         [BZ #19431]
1963         Run the malloc fork handler as late as possible to avoid deadlocks.
1964         * malloc/malloc-internal.h: New file.
1965         * malloc/malloc.c: Include it.
1966         * malloc/arena.c (ATFORK_MEM): Remove.
1967         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
1968         Update comment.
1969         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
1970         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
1971         Remove outdated comment.
1972         (ptmalloc_init): Do not call thread_atfork.  Remove
1973         thread_atfork_static.
1974         * malloc/tst-malloc-fork-deadlock.c: New file.
1975         * Makefile (tests): Add tst-malloc-fork-deadlock.
1976         (tst-malloc-fork-deadlock): Link against libpthread.
1977         * manual/memory.texi (Aligned Memory Blocks): Update safety
1978         annotation comments.
1979         * sysdeps/nptl/fork.c (__libc_fork): Call
1980         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1981         __malloc_fork_unlock_child.
1982         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1984 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1986         [BZ #19613]
1987         Remove union wait.
1988         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
1989         (w_stopsig, w_stopval): Remove.
1990         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
1991         stat_loc argument.
1992         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
1993         (__WAIT_STATUS_DEFN): Remove.
1994         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
1995         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
1996         (wait, wait3, wait4): Use int * for the stat_loc argument.
1997         * posix/wait.c (__wait): Likewise.
1998         * posix/wait3.c (__wait3): Likewise.
1999         * posix/wait4.c (__wait4): Likewise.
2000         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
2001         (__WAIT_STATUS_DEFN): Remove.
2002         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
2003         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
2004         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
2005         argument.
2006         * sysdeps/posix/wait.c (__libc_wait): Likewise.
2007         * sysdeps/posix/wait3.c (__wait3): Likewise.
2008         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
2009         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
2010         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
2011         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
2012         stat_loc argument.
2013         * manual/process.texi (BSD Wait Functions): Remove union wait.
2015 2016-04-13  Andreas Schwab  <schwab@suse.de>
2017         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
2018         (test-extras): Add tst-tlsalign-vars.
2019         * math/Makefile: Wrap long lines.
2020         (libm-vec-test-wrappers): Define.
2021         (test-extras): Add $(libm-vec-test-wrappers).
2022         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
2023         * nss/Makefile (extra-test-objs): Add nss_test1.os.
2024         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
2025         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
2026         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
2027         (extra-test-objs): Add corresponding objects.
2029 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
2031         [BZ #19928]
2032         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
2033         New.
2034         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
2035         times of shared cache size.
2036         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
2037         (VMOVNT): New.
2038         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
2039         (VMOVNT): Likewise.
2040         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
2041         (VMOVNT): Likewise.
2042         (VMOVU): Changed to movups for smaller code sizes.
2043         (VMOVA): Changed to movaps for smaller code sizes.
2044         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
2045         comments.
2046         (PREFETCH): New.
2047         (PREFETCH_SIZE): Likewise.
2048         (PREFETCHED_LOAD_SIZE): Likewise.
2049         (PREFETCH_ONE_SET): Likewise.
2050         Rewrite to use forward and backward loops, which move 4 vector
2051         registers at a time, to support overlapping addresses and use
2052         non temporal store if size is above the threshold and there is
2053         no overlap between destination and source.
2055 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
2057         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
2058         Include dl-vdso.
2059         * sysdeps/unix/sysv/linux/mips/Versions: Add
2060         __vdso_clock_gettime.
2061         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
2062         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
2063         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
2064         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
2065         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
2066         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
2067         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2068         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2069         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2071 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2073         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
2074         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
2075         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2076         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2077         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2078         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2081         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
2082         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
2083         syscalls generation.
2084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2085         [__NR_pwrite64] (__NR_write): Remove define.
2086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2087         [__NR_pwrite64] (__NR_write): Remove define.
2088         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
2089         Remove define.
2090         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
2091         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
2092         Remove define.
2093         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
2094         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
2095         Linux implementation as base.
2096         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2098         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
2099         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
2100         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2101         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
2103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2104         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
2105         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
2106         syscall generation.
2107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2108         [__NR_pread64] (__NR_pread): Remove define.
2109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2110         [__NR_pread64] (__NR_pread): Likewise.
2111         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
2112         define.
2113         (__libc_pread): Use SYSCALL_LL macro on offset argument.
2114         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
2115         Remove define.
2116         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
2117         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
2118         Linux implementation as base.
2119         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2120         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2121         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2123         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
2124         definition.
2125         (__ALIGNMENT_COUNT): Likewise.
2126         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
2127         (__ALIGNMENT_COUNT): Likewise.
2128         (SYSCALL_LL): New define.
2129         (SYSCALL_LL64): Likewise.
2130         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
2131         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
2132         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
2133         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
2135         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2136         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
2137         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2138         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2139         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2140         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2142 2016-04-11  Florian Weimer  <fweimer@redhat.com>
2144         [BZ #19865]
2145         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
2146         original buffer before retry.
2148 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2150         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
2151         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
2152         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
2153         GLRO(dl_auxv) list.
2154         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
2155         including <ldsodefs.h>.
2156         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
2158 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
2160         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
2161         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
2162         $(CPPFLAGS).
2164 2016-04-09  Khem Raj  <raj.khem@gmail.com>
2166         [BZ #17950]
2167         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
2168         Add -mfpmath=387.
2170 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
2172         * sysdeps/i386/configure.ac: Change == to = when calling test.
2173         * sysdeps/x86_64/configure.ac: Likewise.
2174         * sysdeps/i386/configure: Regenerated.
2175         * sysdeps/x86_64/configure: Likewise.
2177 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
2179         [BZ #16137]
2180         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
2181         * benchtests/bench-strcoll.c (input_files): Likewise.
2182         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2183         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
2184         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
2186 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
2188         [BZ #19929]
2189         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
2190         [__USE_XOPEN2K8 && !__USE_GNU].
2191         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
2192         variable.
2194         [BZ #19925]
2195         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
2196         define if [!__USE_MISC && __USE_XOPEN2K].
2197         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
2198         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
2199         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
2200         Likewise.
2201         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
2202         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
2203         variable.
2204         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2206 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2208         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2209         (sysdep_routines): Add new strspn targets.
2210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2211         (__libc_ifunc_impl_list): Add strspn.
2212         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
2213         New file.
2214         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
2215         Likewise.
2216         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
2217         Likewise.
2218         * sysdeps/powerpc/powerpc64/power8/strspn.S:
2219         Likewise.
2221 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2223         * misc/hsearch_r.c: Include <limits.h>.
2225 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2227         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
2229 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2231         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2232         (MEMCPY_SYMBOL): New.
2233         (MEMPCPY_SYMBOL): Likewise.
2234         (MEMMOVE_CHK_SYMBOL): Likewise.
2235         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
2236         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
2237         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
2238         Provide alias for memcpy in libc.a and ld.so.
2240 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2242         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2243         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
2244         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
2245         Disabled fro now.
2246         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
2247         symbols.  Properly check USE_MULTIARCH on __memset symbols.
2249 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2251         * benchtests/Makefile (string-benchset): Add memcpy-large,
2252         memmove-large and memset-large.
2253         * benchtests/bench-memcpy-large.c: New file.
2254         * benchtests/bench-memmove-large.c: Likewise.
2255         * benchtests/bench-memmove-large.c: Likewise.
2256         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
2258 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2260         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
2261         32-bit displacement to avoid long nop between instructions.
2263 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2265         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
2266         a comment on VMOVU and VMOVA.
2268 2016-04-04  Florian Weimer  <fweimer@redhat.com>
2270         [BZ #19633]
2271         Use specified locale for number formatting in strfmon_l.
2272         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
2273         (__nl_lookup_word): New inline functions.
2274         * include/printf.h (__print_fp_l): Declare.
2275         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
2276         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
2277         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
2278         (___printf_fp): New function.
2279         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
2280         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
2281         * stdlib/tst-strfmon_l.c (do_test): New test.
2282         * stdlib/Makefile (tests): Add kt.
2283         (LOCALES): Build additional locales.
2284         (tst-strfmon_l.out): Require locales.
2286 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
2288         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
2289         if not in libc.
2290         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2291         Likewise.
2292         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
2293         Likewise.
2294         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2295         Likewise.
2297 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
2299         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2300         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
2301         with unaligned_erms.
2302         (__memmove_erms): Skip if source == destination.
2303         (__memmove_unaligned_erms): Don't check source == destination
2304         first.
2306 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2308         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
2309         bit_arch_Fast_Copy_Backward for Intel Core proessors.
2311 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2313         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
2314         * string/strspn.c (strspn): Likewise.
2316 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2318         * benchtests/bench-memset.c (do_test): Support 64-byte
2319         alignment.
2320         (test_main): Test 64-byte alignment.
2322 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2324         * benchtests/bench-memmove.c (test_main): Test 64-byte
2325         alignment.
2327 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2329         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
2331 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2333         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
2334         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
2335         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
2337         * string/strpbrk.c (strpbrk): Rewrite function.
2338         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
2339         (__strpbrk_c2): Likewise.
2340         (__strpbrk_c3): Likewise.
2341         * string/string-inlines.c
2342         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
2343         Likewise.
2344         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
2345         Likewise.
2347         * string/strspn.c (strcspn): Rewrite function.
2348         * string/bits/string2.h (strspn): Use __builtin_strcspn.
2349         (__strspn_c1): Remove inline function.
2350         (__strspn_c2): Likewise.
2351         (__strspn_c3): Likewise.
2352         * string/string-inlines.c
2353         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
2354         compatibility symbol.
2355         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
2356         Likewise.
2357         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
2358         Likewise.
2359         * string/string-inlines.c: Include generic version.
2361 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
2362             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2364         * string/Version (libc): Add GLIBC_2.24.
2365         * string/strcspn.c (strcspn): Rewrite function.
2366         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
2367         (__strcspn_c1): Remove inline function.
2368         (__strcspn_c2): Likewise.
2369         (__strcspn_c3): Likewise.
2370         * string/string-inline.c
2371         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
2372         compatibility symbol.
2373         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
2374         Likewise.
2375         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
2376         Likewise.
2377         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
2379 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2381         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
2382         Use ahi instead of aghi to adjust stack pointer.
2384 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2386         [BZ #19853]
2387         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
2388         TEST to take significant digits as second parameter.
2389         [TEST]: Redefine in terms of TEST_N taking 30
2390         significant digits.
2391         (do_test): Add test case to demonstrate precision
2392         failure in the ldbl-128ibm printf.
2393         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
2394         (__mpn_extract_long_double): Carry 7 extra intermediate
2395         bits of precision to aide computing difference when
2396         signs differ.
2398 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
2400         [BZ #19881]
2401         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2402         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
2403         memset-avx512-unaligned-erms.
2404         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2405         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
2406         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
2407         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
2408         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
2409         __memset_sse2_unaligned_erms, __memset_erms,
2410         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
2411         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
2412         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
2413         file.
2414         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2415         Likewise.
2416         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
2417         Likewise.
2418         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
2419         Likewise.
2421 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
2423         [BZ #19776]
2424         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2425         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
2426         memmove-avx512-unaligned-erms.
2427         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2428         (__libc_ifunc_impl_list): Test
2429         __memmove_chk_avx512_unaligned_2,
2430         __memmove_chk_avx512_unaligned_erms,
2431         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
2432         __memmove_chk_sse2_unaligned_2,
2433         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
2434         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
2435         __memmove_avx512_unaligned_erms, __memmove_erms,
2436         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
2437         __memcpy_chk_avx512_unaligned_2,
2438         __memcpy_chk_avx512_unaligned_erms,
2439         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
2440         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
2441         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
2442         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
2443         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
2444         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
2445         __mempcpy_chk_avx512_unaligned_erms,
2446         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
2447         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
2448         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
2449         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
2450         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
2451         __mempcpy_erms.
2452         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
2453         file.
2454         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2455         Likwise.
2456         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
2457         Likwise.
2458         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2459         Likwise.
2461 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2463         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
2464         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
2465         (La_s390_64_regs): Likewise.
2466         (La_s390_32_retval): Append vector register lrv_v24.
2467         (La_s390_64_retval): Likeweise.
2468         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
2469         Handle extended structs La_s390_32_regs and La_s390_32_retval.
2470         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
2471         Handle extended structs La_s390_64_regs and La_s390_64_retval.
2473 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2475         [BZ #19916]
2476         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
2477         to create a non-vector/vector version for _dl_runtime_resolve and
2478         _dl_runtime_profile. Move implementation to ...
2479         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
2480         (_dl_runtime_resolve) Save and restore fpr/vrs.
2481         (_dl_runtime_profile) Save and restore vrs and fix some issues
2482         if _dl_call_pltexit is called.
2483         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
2484         Choose the correct resolver function if running on a machine with vx.
2485         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
2486         to create a non-vector/vector version for _dl_runtime_resolve and
2487         _dl_runtime_profile. Move implementation to ...
2488         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
2489         (_dl_runtime_resolve) Save and restore fpr/vrs.
2490         (_dl_runtime_profile) Save and restore vrs and fix some issues
2491         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
2492         Choose the correct resolver function if running on a machine with vx.
2494 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2496         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
2498 2016-03-31  Florian Weimer  <fweimer@redhat.com>
2500         [BZ #19509]
2501         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
2502         skip_map != NULL.
2503         * elf/tst-dlsym-error.c: New file.
2504         * elf/Makefile (tests): Add tst-dlsym-error.
2505         (tst-dlsym-error): Link against libdl.
2507 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
2509         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2510         (__ASSUME_FUTIMESAT): Remove macro.
2511         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
2513 2016-03-29  Florian Weimer  <fweimer@redhat.com>
2515         [BZ #19879]
2516         CVE-2016-3075
2517         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
2518         copy name.
2520 2016-03-29  Florian Weimer  <fweimer@redhat.com>
2522         [BZ #19837]
2523         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
2524         error if parse_line fails.
2526 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2528         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
2529         (index_cpu_ERMS): Likewise.
2530         (reg_ERMS): Likewise.
2532 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
2534         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
2535         PER_LINUX_FDPIC): Add.
2537 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2539         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2540         memcpy-avx512-no-vzeroupper.
2541         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
2542         to ...
2543         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
2544         (MEMCPY): Don't define.
2545         (MEMCPY_CHK): Likewise.
2546         (MEMPCPY): Likewise.
2547         (MEMPCPY_CHK): Likewise.
2548         (MEMPCPY_CHK): Renamed to ...
2549         (__mempcpy_chk_avx512_no_vzeroupper): This.
2550         (MEMPCPY_CHK): Renamed to ...
2551         (__mempcpy_chk_avx512_no_vzeroupper): This.
2552         (MEMCPY_CHK): Renamed to ...
2553         (__memmove_chk_avx512_no_vzeroupper): This.
2554         (MEMCPY): Renamed to ...
2555         (__memmove_avx512_no_vzeroupper): This.
2556         (__memcpy_avx512_no_vzeroupper): New alias.
2557         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
2559 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2561         [BZ #18858]
2562         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2563         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
2564         and mempcpy-avx512-no-vzeroupper.
2565         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
2566         New.
2567         (MEMPCPY): Likewise.
2568         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
2569         (MEMPCPY_CHK): New.
2570         (MEMPCPY): Likewise.
2571         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
2572         (MEMPCPY): Likewise.
2573         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
2574         (MEMPCPY): Likewise.
2575         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
2576         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
2577         Likewise.
2578         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
2579         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
2581 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2582              Amit Pawar  <Amit.Pawar@amd.com>
2584         [BZ #19583]
2585         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2586         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
2587         processors.  Set Fast_Copy_Backward for AMD Excavator
2588         processors.
2589         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
2590         New.
2591         (index_arch_Fast_Unaligned_Copy): Likewise.
2592         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
2593         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
2595 2016-03-25  Florian Weimer  <fweimer@redhat.com>
2597         [BZ #19791]
2598         * resolv/res_send.c (close_and_return_error): New function.
2599         (send_dg): Initialize *resplen2 after reopen failure.  Call
2600         close_and_return_error for error returns.  On error paths without
2601         __res_iclose, initialze *resplen2 explicitly.  Update comment for
2602         successful return.
2604 2016-03-25  Florian Weimer  <fweimer@redhat.com>
2606         [BZ# 19860]
2607         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
2608         zero if the compiler does not provide the AVX512F bit.
2610 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
2612         [BZ #19848]
2613         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
2614         from 8 to 4.
2615         (__ieee754_powl): Compare integer exponent against 4 not 8.
2616         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
2617         from 8 to 4.
2618         (__ieee754_powl): Compare integer exponent against 4 not 8.
2619         * math/auto-libm-test-in: Add more tests of pow.
2620         * math/auto-libm-test-out: Regenerated.
2621         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
2622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2624 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
2626         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
2627         Make code unconditional.
2628         [!__NR_utimensat]: Remove conditional code.
2629         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
2630         Make code unconditional.
2631         [!__NR_utimensat]: Remove conditional code.
2632         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
2633         Make code unconditional.
2634         [!__NR_utimensat]: Remove conditional code.
2636 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
2638         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
2639         Make code unconditional.
2641 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
2643         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
2644         call-clobbered %eax on retry path.
2645         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
2647 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2649         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
2650         Don't set %rcx twice before "rep movsb".
2652 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2654         [BZ #19583]
2655         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
2656         inline.  Check family before setting family, model and
2657         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
2658         bits here.
2659         (init_cpu_features): Replace HAS_CPU_FEATURE and
2660         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
2661         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
2662         for Intel processors with usable AVX2.  Call get_common_indeces
2663         for other processors with family == NULL.
2664         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
2665         (CPU_FEATURES_ARCH_P): Likewise.
2666         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
2667         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
2669 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2671         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
2672         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
2673         $(shared-thread-library) instead of hardcoding the path to libpthread.
2675 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
2677         * sysdeps/unix/sysv/linux/kernel-features.h
2678         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
2679         * sysdeps/unix/sysv/linux/getdents.c
2680         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
2681         [!have_no_getdents64_defined]: Likewise.
2682         (__GETDENTS): Remove __have_no_getdents64 conditional.
2684 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
2686         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
2687         Remove macro.
2688         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
2689         <kernel-features.h>.
2690         (signalfd) [__NR_signalfd4]: Make code unconditional.
2691         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
2693 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2695         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
2696         style.
2698 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2700         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
2701         (__pthread_enable_asynccancel): Use JUMPTARGET to call
2702         __pthread_unwind.
2703         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2704         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
2705         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2706         (__condvar_cleanup1): Likewise.
2708 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
2710         [BZ #19822]
2711         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
2712         move it to the final $@ location.
2714 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2716         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
2717         access where posix_spawn success and pid argument is null.
2718         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
2719         success case.
2721 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
2723         * sysdeps/mach/hurd/i386/c++-types.data: New file.
2725         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
2727         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
2728         and __fcntl.
2729         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
2730         __fcntl only.
2731         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
2732         adding attribute_hidden to __open and __fcntl.
2734         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
2735         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
2736         depend on libc-modules.h,
2737         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
2739 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
2741         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
2742         Remove macro.
2743         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
2744         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
2745         entry.
2747         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
2748         Remove macro.
2749         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
2750         include <kernel-features.h>.
2751         [!__ASSUME_FALLOCATE]: Remove conditional code.
2752         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
2754 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2756         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
2757         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
2758         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
2759         (_ZGVdN4v_cos_avx2): Likewise.
2760         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
2761         (_ZGVdN4v_cos): Likewise.
2762         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
2763         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
2764         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
2765         (_ZGVdN4v_exp_avx2): Likewise.
2766         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
2767         (_ZGVdN4v_exp): Likewise.
2768         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
2769         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
2770         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
2771         (_ZGVdN4v_log_avx2): Likewise.
2772         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
2773         (_ZGVdN4v_log): Likewise.
2774         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
2775         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
2776         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
2777         (_ZGVdN4vv_pow_avx2): Likewise.
2778         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
2779         (_ZGVdN4vv_pow): Likewise.
2780         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
2781         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
2782         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
2783         (_ZGVdN4v_sin_avx2): Likewise.
2784         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
2785         (_ZGVdN4v_sin): Likewise.
2786         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
2787         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
2788         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
2789         (_ZGVdN4vvv_sincos_avx2): Likewise.
2790         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
2791         (_ZGVdN4vvv_sincos): Likewise.
2792         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
2793         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
2794         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
2795         (_ZGVbN4v_cosf_sse4): Likewise.
2796         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
2797         (_ZGVdN8v_cosf_avx2): Likewise.
2798         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
2799         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
2800         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
2801         (_ZGVbN4v_expf_sse4): Likewise.
2802         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
2803         (_ZGVdN8v_expf_avx2): Likewise.
2804         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
2805         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
2806         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
2807         (_ZGVbN4v_logf_sse4): Likewise.
2808         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
2809         (_ZGVdN8v_logf_avx2): Likewise.
2810         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
2811         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
2812         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
2813         (_ZGVbN4vv_powf_sse4): Likewise.
2814         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
2815         (_ZGVdN8vv_powf_avx2): Likewise.
2816         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2817         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
2818         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2819         (_ZGVbN4vvv_sincosf_sse4): Likewise.
2820         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2821         (_ZGVdN8vvv_sincosf_avx2): Likewise.
2822         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
2823         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
2824         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
2825         (_ZGVbN4v_sinf_sse4): Likewise.
2826         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
2827         (_ZGVdN8v_sinf_avx2): Likewise.
2828         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
2829         Use JUMPTARGET to call callee.
2830         (WRAPPER_IMPL_SSE2_ff): Likewise.
2831         (WRAPPER_IMPL_SSE2_fFF): Likewise.
2832         (WRAPPER_IMPL_AVX): Likewise.
2833         (WRAPPER_IMPL_AVX_ff): Likewise.
2834         (WRAPPER_IMPL_AVX_fFF): Likewise.
2835         (WRAPPER_IMPL_AVX512): Likewise.
2836         (WRAPPER_IMPL_AVX512_ff): Likewise.
2837         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
2838         Likewise.
2839         (WRAPPER_IMPL_SSE2_ff): Likewise.
2840         (WRAPPER_IMPL_SSE2_fFF): Likewise.
2841         (WRAPPER_IMPL_AVX): Likewise.
2842         (WRAPPER_IMPL_AVX_ff): Likewise.
2843         (WRAPPER_IMPL_AVX_fFF): Likewise.
2844         (WRAPPER_IMPL_AVX512): Likewise.
2845         (WRAPPER_IMPL_AVX512_ff): Likewise.
2846         (WRAPPER_IMPL_AVX512_fFF): Likewise.
2848 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2850         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
2851         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
2852         qualifier.
2853         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
2854         internal_function qualifiers.
2856 2016-03-15  Carlos O'Donell <carlos@redhat.com>
2858         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
2859         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
2860         * math/atest-exp.c (exp_mpn): Mark chk unused.
2861         * math/atest-exp2.c (exp_mpn): Likwise.
2862         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
2863         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
2865 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
2867         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
2868         Remove macro.
2869         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
2870         <kernel-features.h>.
2871         [__NR_ppoll]: Make code unconditional.
2872         [!__ASSUME_PPOLL]: Remove conditional code.
2874         * sysdeps/unix/sysv/linux/kernel-features.h
2875         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
2876         (__ASSUME_ACCEPT4): Likewise.
2877         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2878         Define.
2879         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
2880         Likewise.
2881         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2882         Likewise.
2883         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
2884         Likewise.
2885         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
2886         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
2887         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2888         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2889         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2890         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2891         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2892         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2893         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2894         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2895         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2896         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2897         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2898         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2899         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2900         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2901         Likewise.
2902         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2903         Likewise.
2904         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2905         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2906         0x040300].
2907         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2908         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2909         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2910         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2911         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
2912         0x030300].
2913         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
2914         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2915         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2916         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2917         0x040300].
2918         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2919         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2920         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2921         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2922         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2923         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2924         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
2925         0x030300].
2926         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2927         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2928         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2929         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2930         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2931         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2932         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2933         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2934         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2935         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2936         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2937         0x040300].
2938         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2939         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2940         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2941         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2942         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2943         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2944         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2945         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2946         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2947         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2948         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2949         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2950         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2951         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2952         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
2953         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2954         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2955         Likewise.
2956         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2957         Likewise.
2959 2016-03-15  Andreas Schwab  <schwab@suse.de>
2961         [BZ #19257]
2962         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
2963         statp->_u._ext.nscount as loop count.
2965 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
2967         * math/test-signgam-finite-c99.c: Also #undef
2968         __LIBC_INTERNAL_MATH_INLINES.
2969         * math/test-signgam-main.c: Likewise.
2971 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
2973         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
2974         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
2975         (MADV_FREE): Likewise.
2976         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
2977         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
2978         EPOLLEXCLUSIVE.
2980 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
2982         * timezone/README: Remove mention of checktab.awk. Mention wiki
2983         SharedSourceFiles.
2985 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
2987         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
2988         WUNTRACED.
2990 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2992         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
2993         order to match the type of p when calling atomic_exchange_acq().
2995 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2997         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
2998         cfi_offset calls.
2999         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
3000         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
3001         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
3002         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
3003         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
3005 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
3007         * timezone/checktab.awk: Removed.
3009 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
3011         * manual/math.texi (Errors in Math Functions): Document relaxed
3012         accuracy goals for IBM long double.
3013         * math/libm-test.inc (test_exceptions): Always allow spurious
3014         "underflow" and "inexact" exceptions for IBM long double.
3016 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
3018         [BZ #19762]
3019         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
3020         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
3021         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3022         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
3023         (bit_arch_*): This for feature array.
3024         (bit_*): Renamed to ...
3025         (bit_cpu_*): This for cpu array.
3026         (index_*): Renamed to ...
3027         (index_arch_*): This for feature array.
3028         (index_*): Renamed to ...
3029         (index_cpu_*): This for cpu array.
3030         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
3031         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
3032         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
3033         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
3034         bit_##name with index_cpu_##name and bit_cpu_##name.
3035         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
3036         bit_##name with index_arch_##name and bit_arch_##name.
3038 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
3040         [BZ #19792]
3041         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
3042         Terminate FDE before return label.
3044 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
3046         [BZ #19790]
3047         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
3048         (rintl): Define as macro.
3049         [USE_AS_NEARBYINTL] (__rintl): Likewise.
3050         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
3051         of fesetround.  Ensure results are evaluated before end of scope.
3052         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
3053         USE_AS_NEARBYINTL and include s_rintl.c.
3054         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
3055         Disable exception traps in new environment.
3056         (libc_feholdsetround_ppc_ctx): Likewise.
3058 2016-03-08  Roland McGrath  <roland@hack.frob.com>
3060         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
3061         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
3062         (tst_audit10_aux) [__AVX512F__]: ... here.
3064 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
3066         * include/sys/auxv.h: New file.
3068 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3070         [BZ #19759]
3071         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
3073 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3075         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
3076         operand modifier.
3077         (feclearexcept): Likewise.
3079 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3081         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
3082         to reflect the entire 32-bit HWCAP.
3083         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
3084         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
3086 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3088         [BZ #19783]
3089         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
3090         $(test-via-rtld-prefix).
3091         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
3093 2016-03-08  Florian Weimer  <fweimer@redhat.com>
3095         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
3096         union wait.  Report any non-zero exit status as error.
3098 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3100         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
3101         configured with --enable-hardcoded-path-in-tests.
3103 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
3105         [BZ #19677]
3106         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3107         (__ieee754_remainderl): Put zero low parts in canonical form.
3108         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
3109         file.  Based on
3110         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
3111         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
3112         with wrapper round test-fmodrem-ldbl-128ibm.c.
3113         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
3114         file.
3115         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
3116         Likewise.
3117         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3118         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
3120 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3122         [BZ #19610]
3123         * elf/ldconfig.c (opt_link): Update comment.
3124         (options): Update help string for option -X.
3125         (search_dir): Unlink stale symbolic link only if updating symbolic
3126         links.
3127         * elf/tst-ldconfig-X.sh: New file.
3128         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
3129         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
3131 2016-03-07  Andreas Schwab  <schwab@suse.de>
3133         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
3134         needed arguments.
3136 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
3138         [BZ #15333]
3139         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
3140         to lstat64.
3142 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3144         * libio/filedoalloc.c (isatty): Remove.
3145         (local_isatty): Add comment.  Call __isatty directly.
3146         (_IO_file_doallocate): Update comment.  Assume _LIBC.
3147         * libio/wfiledoalloc.c (isatty): Remove.
3148         (_IO_wfile_doallocate): Update comment.
3150 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3152         [BZ #19269]
3153         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
3154         tst-audit4-aux.o.
3155         (tst-audit10): Depend on tst-audit10-aux.o.
3156         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
3157         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
3158         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
3159         instead of inline AVX code.
3160         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
3161         instead of inline AVX512 code.
3162         * sysdeps/x86_64/tst-audit4-aux.c: New file
3163         * sysdeps/x86_64/tst-audit10-aux.c: New file
3165         [BZ #19648]
3166         * test-skeleton.c (main): Do not set RLIMIT_DATA.
3168 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3170         [BZ #14750]
3171         [BZ #10354]
3172         [BZ #18433]
3173         * include/sched.h (__clone): Add hidden prototype.
3174         (__clone2): Likewise.
3175         * include/unistd.h (__dup): Likewise.
3176         * posix/Makefile (tests): Add tst-spawn2.
3177         * posix/tst-spawn2.c: New file.
3178         * sysdeps/posix/dup.c (__dup): Add hidden definition.
3179         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
3180         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3181         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3182         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3183         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3184         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
3185         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3186         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
3187         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3188         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3190         Likewise.
3191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3192         Likewise.
3193         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3194         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3195         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3196         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3197         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3198         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3199         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3200         * sysdeps/unix/sysv/linux/nptl-signals.h
3201         (____nptl_is_internal_signal): New function.
3202         * sysdeps/unix/sysv/linux/spawni.c: New file.
3204         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
3205         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
3206         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
3207         * posix/tst-execvp2.c (do_test): Likewise.
3208         * posix/tst-execvp3.c (do_test): Likewise.
3209         * posix/tst-execvp4.c (do_test): Likewise.
3210         * posix/tst-execvpe1.c: New file.
3211         * posix/tst-execvpe2.c: Likewise.
3212         * posix/tst-execvpe3.c: Likewise.
3213         * posix/tst-execvpe4.c: Likewise.
3214         * posix/tst-execvpe5.c: Likewise.
3215         * posix/tst-execvpe6.c: Likewise.
3217         [BZ #19534]
3218         * posix/execl.c (execl): Remove dynamic memory allocation.
3219         * posix/execle.c (execle): Likewise.
3220         * posix/execlp.c (execlp): Likewise.
3222 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3224         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
3225         Replace .text with .text.avx512.
3226         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3227         Likewise.
3229 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
3231         * sysdeps/generic/libnsl.abilist: New file.
3232         * sysdeps/generic/libutil.abilist: New file.
3234 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3236         [BZ #19762]
3237         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
3238         HAS_ARCH_FEATURE with Fast_Rep_String.
3239         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
3240         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
3241         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
3242         Likewise.
3243         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
3244         Likewise.
3245         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
3246         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
3247         Likewise.
3248         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
3249         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
3250         Likewise.
3252 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3254         [BZ #19745]
3255         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
3256         with *%rax in call.
3258 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3260         [BZ #19745]
3261         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
3262         with *__libc_start_main@GOTPCREL(%rip) in call.
3264 2016-03-04  Roland McGrath  <roland@hack.frob.com>
3266         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
3267         inside conditional for nonempty $(CXX).
3269         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
3270         nonempty.
3272         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
3273         to test for empty $(CXX) rather than $(CXX) of "no".
3275 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3277         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
3279 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
3280             H.J. Lu  <hongjiu.lu@intel.com>
3282         [BZ #18880]
3283         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
3284         instead of Slow_BSF, and also check for Fast_Copy_Backward to
3285         enable __memcpy_ssse3_back.
3287 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
3289         [BZ #19758]
3290         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
3291         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
3293 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
3295         [BZ #19490]
3296         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
3297         (__fentry__): Likewise.
3299 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
3301         * gmon/Makefile (noprof): Add $(sysdep_noprof).
3302         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
3304 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3306         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
3307         __mcount_internal directly.
3308         (C_LABEL(__fentry__)): Likewise.
3309         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
3310         directly.
3312 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3314         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3315         (__start_context): Call __setcontext directly.
3317 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
3319         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3320         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3321         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
3322         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
3323         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3324         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3325         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
3326         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3327         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3328         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
3329         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
3330         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
3331         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3332         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3333         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3334         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3335         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
3336         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3337         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3338         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
3339         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
3340         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3341         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3342         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
3343         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
3344         Remove conditional code.
3345         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3346         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
3347         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3348         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3349         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
3350         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3351         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
3352         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3353         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3354         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3355         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3356         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3358 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
3360         * NEWS (2.23): Fix typo in bug 19048 text.
3362 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
3364         [BZ #14259]
3365         * Makeconfig: Rename msgcatdir to localedir.
3366         Rename inst_msgcatdir to inst_localedir.
3367         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
3368         * config.make.in: Add localedir.
3369         * elf/Makefile ($(objpfx)sotruss): Use localedir.
3370         (ldd-rewrite): Likewise.
3371         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
3372         (install-others): Use inst_localedir.
3373         (CPPFLAGS): Use localedir.
3374         * locale/Makefile (locale-CPPFLAGS): Likewise.
3375         * po/Makefile (mo-installed): Use inst_localedir.
3377         [BZ #19575]
3378         * localedata/charmaps/GB18030: Update comments regarding PAU to
3379         non-PUA mappings.
3381 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
3383         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
3384         test for header.
3385         * sysdeps/unix/sysv/linux/configure: Regenerated.
3386         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
3387         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
3388         Remove conditional code.
3389         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
3391         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3392         Define to 3.2.0.
3393         (arch_minimum_kernel): Likewise.
3394         * sysdeps/unix/sysv/linux/configure: Regenerated.
3395         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
3396         Define to 2.6.32.
3397         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
3398         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
3399         (arch_minimum_kernel): Define to 2.6.32.
3400         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
3401         * README: Document Linux 3.2 requirement.
3402         * manual/install.texi (Linux): Document Linux 3.2 headers
3403         requirement.
3404         * INSTALL: Regenerated.
3406 2016-02-24  Andreas Schwab  <schwab@suse.de>
3408         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
3409         if !NO_LONG_DOUBLE.
3411 2016-02-22  Roland McGrath  <roland@hack.frob.com>
3413         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
3414         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
3416 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
3418         [BZ #19512]
3419         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
3421 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
3423         * posix/tst-dir.c: Include libc-internal.h.
3425 2016-02-20  Florian Weimer  <fweimer@redhat.com>
3427         [BZ #19056]
3428         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
3429         * manual/filesys.texi (Reading/Closing Directory): Mention
3430         deprecaion.
3431         * posix/tst-dir.c (main): Disable deprecation warning in test.
3433 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
3435         [BZ #19679]
3436         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
3437         Renamed to ...
3438         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
3439         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3440         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
3441         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3442         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
3443         * sysdeps/x86_64/dl-trampoline.h
3444         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3445         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
3447 2016-02-19  Mark Wielaard  <mjw@redhat.com>
3449         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
3451 2016-02-19  Mark Wielaard  <mjw@redhat.com>
3453         * elf/elf.h (R_386_GOT32X): New.
3454         (R_386_NUM): Update.
3455         (R_X86_64_GOTPCRELX: New.
3456         (R_X86_64_REX_GOTPCRELX): New.
3457         (R_X86_64_NUM): Update.
3459 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
3461         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
3463 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
3465         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
3466         assign attr->stackaddr to it, and adjust it down when
3467         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
3468         [_STACK_GROWS_UP]: Delete assert.
3469         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
3470         Implement stack grows up logic.
3471         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
3472         stack grows up logic.
3474 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3476         * NEWS: Update with 2.24 template.
3478 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
3480         [BZ #19678]
3481         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3482         Ensure +0.0 is returned when taking the next value below the least
3483         positive value.
3485 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3487         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
3488         available.  Do not define NO_THREADS.
3489         * malloc/malloc.c: Do not check NO_THREADS.
3490         * malloc/arena.c: Likewise.
3492 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3494         * malloc/malloc.c (__libc_mallinfo): Update comment.
3495         (struct malloc_par): Remove max_total_mem member, it was always 0.
3496         (int_mallinfo): Store 0 into usmblks (no functional change).
3497         * malloc/hooks.c (struct malloc_state): Document that
3498         max_total_mem is always 0.
3499         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
3500         always 0.
3501         * manual/memory.texi (Statistics of Malloc): Likewise.
3503 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3505         * malloc/malloc.c (sysmalloc): Do not update arena_max.
3506         * malloc/arena.c (arena_max): Remove.
3507         (heap_trim, _int_new_arena): Do not update arena_max.
3509 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3511         * resolv/res_init.c (res_ninit): Update comment.
3513 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3515         [BZ #19505]
3516         * posix/spawn_int.h: Add headers and include guard.
3517         (__spawn_valid_fd): New function.
3518         * posix/spawn_faction_addopen.c
3519         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
3520         * posix/spawn_faction_addclose.c
3521         (posix_spawn_file_actions_addclose): Likewise.
3522         * posix/spawn_faction_adddup2.c
3523         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
3524         second file descriptor.
3525         * posix/spawn_valid_fd.c: New file.
3526         * posix/tst-posix_spawn-fd.c: New file.
3527         * posix/Makefile (routines): Add spawn_valid_fd.
3528         (tests): Add tst-posix_spawn-fd.
3530 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3532         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
3533         (do_test): Limit the number of arenas, so that we can use fewer
3534         outer threads.  Limit timeout to 3 seconds, in preparation for a
3535         larger TIMEOUT value.
3537 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
3539         [BZ #19674]
3540         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
3541         sign in overflowing and underflowing results when overflow or
3542         underflow is detected early.  Include sign in result before rather
3543         than after scaling.
3545         [BZ #19603]
3546         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3547         (__ieee754_remainderl): Adjust sign of integer version of low part
3548         when taking absolute value of high part.
3549         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3550         * math/libm-test.inc (remainder_test_data): Add another test.
3551         (remquo_test_data): Likewise.
3553 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
3555         [BZ #19602]
3556         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
3557         equal high parts and both low parts zero specially.
3558         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
3559         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
3560         Add test-fmodl-ldbl-128ibm.
3562         [BZ #19595]
3563         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
3564         common logic for all cases of shifting subnormal results.  Do not
3565         insert sign bit in shifted mantissa.  Always pass -1023 as biased
3566         exponent to ldbl_insert_mantissa in subnormal case.
3568         [BZ #19594]
3569         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
3570         on high and low parts then adjust result and use
3571         ldbl_canonicalize_int if needed.
3573         [BZ #19593]
3574         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
3575         on high part and __floor or __ceil on low part then use
3576         ldbl_canonicalize_int if needed.
3578         [BZ #19592]
3579         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
3580         high and low parts then use ldbl_canonicalize_int if needed.
3582         [BZ #17899]
3583         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
3584         New function.
3585         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
3586         on high and low parts then use ldbl_canonicalize_int if needed.
3588 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3590         * configure: Regenerated.
3592         * po/libc.pot: Regenerated.
3594         * po/be.po: Updated translation.
3595         * po/bg.po: Likewise.
3596         * po/ca.po: Likewise.
3597         * po/cs.po: Likewise.
3598         * po/da.po: Likewise.
3599         * po/el.po: Likewise.
3600         * po/eo.po: Likewise.
3601         * po/es.po: Likewise.
3602         * po/fi.po: Likewise.
3603         * po/fr.po: Likewise.
3604         * po/gl.po: Likewise.
3605         * po/hr.po: Likewise.
3606         * po/hu.po: Likewise.
3607         * po/ia.po: Likewise.
3608         * po/id.po: Likewise.
3609         * po/it.po: Likewise.
3610         * po/ja.po: Likewise.
3611         * po/lt.po: Likewise.
3612         * po/nb.po: Likewise.
3613         * po/nl.po: Likewise.
3614         * po/pt_BR.po: Likewise.
3615         * po/rw.po: Likewise.
3616         * po/sk.po: Likewise.
3617         * po/sl.po: Likewise.
3618         * po/sv.po: Likewise.
3619         * po/tr.po: Likewise.
3620         * po/zh_CN.po: Likewise.
3621         * po/zh_TW.po: Likewise.
3623         * version.h (RELEAES): Set to "development".
3624         (VERSION): Set to 2.23.90.
3626         * version.h (RELEASE): Set to "stable".
3627         (VERSION): Set to 2.23.
3628         * include/feature.h (__GLIBC_MINOR__): Set to 23.
3630         * NEWS: Updated fixed bugs.
3632 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
3633             Wilco Dijkstra  <wdijkstr@arm.com>
3635         [BZ #19462]
3636         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
3637         (_STRING_INLINE_unaligned): This.
3638         * include/string.h: Include <string_private.h>.
3639         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
3640         _STRING_INLINE_unaligned.
3641         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
3642         (_STRING_INLINE_unaligned): New.
3643         * sysdeps/aarch64/string_private.h: New file.
3644         * sysdeps/generic/string_private.h: Likewise.
3645         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
3646         * sysdeps/s390/string_private.h: Likewise.
3647         * sysdeps/x86/string_private.h: Likewise.
3648         * sysdeps/m68k/m680x0/m68020/bits/string.h
3649         (_STRING_ARCH_unaligned): Renamed to ...
3650         (_STRING_INLINE_unaligned): This.
3651         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
3652         to ...
3653         (_STRING_INLINE_unaligned): This.
3654         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
3655         to ...
3656         (_STRING_INLINE_unaligned): This.
3657         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
3658         to ...
3659         (_STRING_INLINE_unaligned): This.
3661 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3662             H.J. Lu  <hongjiu.lu@intel.com>
3664         [BZ #19590]
3665         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
3666         relocation.
3668 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
3670         [BZ #18665]
3671         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
3672         *herrno_p.
3673         (gaih_getanswer): Document functional behviour. Return tryagain
3674         if any result is tryagain.
3675         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
3676         when freed.
3677         * resolv/res_send.c: Add copyright text.
3678         (__libc_res_nsend): Document that MAXPACKET is expected.
3679         (send_vc): Document. Remove buffer reuse.
3680         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
3681         size of the buffer. Add Dprint for truncated UDP buffer.
3683 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
3685         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
3686         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
3687         * INSTALL: Regenerate.
3689 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
3690             Jonathan Wakely  <jwakely@redhat.com>
3691             Carlos O'Donell  <carlos@redhat.com>
3693         [BZ 19439]
3694         * math/Makefile (tests): Add test-math-isinff.
3695         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
3696         * math/bits/mathcalls.h [__USE_MISC]: Use
3697         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
3698         functions not in C++11 and which don't conflict e.g. isinff,
3699         isinfl etc.
3700         * math/test-math-isinff.cc: New file.
3702 2016-02-12  Florian Weimer  <fweimer@redhat.com>
3704         * misc/bug18240.c (do_test): Set RLIMIT_AS.
3706 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3708         [BZ #19529]
3709         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
3711 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3713         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3715 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
3717         [BZ #19550]
3718         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
3719         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
3720         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
3721         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
3722         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
3723         New syscall entry.
3724         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
3725         New syscall entry.
3726         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
3727         syscall entry.
3729 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
3731         [BZ #18240]
3732         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
3733         unsigned int wraparound.
3735 2016-01-27  Florian Weimer  <fweimer@redhat.com>
3737         [BZ #18240]
3738         * misc/bug18240.c: New test.
3739         * misc/Makefile (tests): Add it.
3741 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
3742             Joseph Myers  <joseph@codesourcery.com>
3744         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
3745         load in branch delay slot when less than a word of input left.
3747 2016-01-27  Andreas Schwab  <schwab@suse.de>
3749         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
3750         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
3751         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
3752         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
3754 2016-01-26  David S. Miller  <davem@davemloft.net>
3756         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
3758 2016-01-25  David S. Miller  <davem@davemloft.net>
3760         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
3761         __sqrtl_finite.
3762         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
3763         instead using versioned_symbol.
3764         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
3765         of entries.
3767         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
3768         __sqrtl_finite to GLIBC_2.23
3770 2016-01-25  Ricchard Henderson  <rth@redhat.com>
3772         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3774 2016-01-25  Andreas Schwab  <schwab@suse.de>
3776         [BZ #17514]
3777         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
3778         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
3779         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
3780         * nptl/tst-mutex-errorcheck.c: New file.
3782 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3784         [BZ #18560]
3785         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
3786         (IPCOP_semop): Likewise.
3787         (IPCOP_semget): Likewise.
3788         (IPCOP_semctl): Likewise.
3789         (IPCOP_msgsnd): Likewise.
3790         (IPCOP_msgrcv): Likewise.
3791         (IPCOP_msgget): Likewise.
3792         (IPCOP_msgctl): Likewise.
3793         (IPCOP_shmat): Likewise.
3794         (IPCOP_shmdt): Likewise.
3795         (IPCOP_shmget): Likewise.
3796         (IPCOP_shmctl): Likewise.
3798 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
3800         * string/tst-endian.c: Include <libc-internal.h>.
3801         (do_test): Ignore tautological-compare warnings around
3802         "htobeXX (beXXtoh (i)) != i" and
3803         "htoleXX (leXXtoh (i)) != i" if-statements.
3805 2016-01-24  David S. Miller  <davem@davemloft.net>
3807         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
3808         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
3809         alias.
3810         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
3811         __sqrtl_finite.
3813         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3815 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
3817         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
3818         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
3819         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3821 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3823         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
3824         (thread_func): Use new function to simplify barrier check.
3825         (do_test): Use new function to simplify checking barrier exit
3826         code, and actually join the child thread.
3828 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3830         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
3831         semicolon.
3832         (__libc_tend): Likewise.
3833         (__libc_tabort): Likewise.
3835 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
3837         * sysdeps/nios2/libm-test-ulps: Update.
3838         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
3839         (__gtsf2): Likewise.
3840         (__unorddf2): Likewise.
3841         (__unordsf2): Likewise.
3842         (__ledf2): Likewise.
3844 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
3846         * nis/nis_table.c (__follow_path): Disable diagnostic for
3847         uninitialized variable that is a false positive for gcc 4.7.
3848         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
3850 2016-01-20  Roland McGrath  <roland@hack.frob.com>
3852         * sysdeps/nacl/lowlevellock-futex.h
3853         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
3854         Always evaluate PRIVATE argument.
3856 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
3858         [BZ #19490]
3859         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
3860         (pthread_cond_broadcast): Use ENTRY/END
3861         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
3862         (pthread_cond_signal): Likewise.
3863         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
3864         Likewise.
3865         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
3866         Likewise.
3867         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
3868         Likewise.
3870 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
3872         * sysdeps/ieee754/dbl-64/s_finite.c
3873         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
3874         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
3875         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
3876         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
3877         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
3879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3880         (__gtsf2): Add as optional for libc.so.
3881         (__unordsf2): Likewise.
3882         (__signbit): Remove for libc.so.
3883         (__signbitl): Likewise.
3885 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3887         * iconvdata/bug-iconv11.c (test_ibm93x):
3888         Use %zu printf format specifier for size_t argument.
3890 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
3892         * math/gen-libm-test.pl (parse_ulps): Do not reduce
3893         already-recorded ulps.
3894         * sysdeps/arm/libm-test-ulps: Regenerated.
3895         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3896         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3897         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3899 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3900             Paul Pluzhnikov  <ppluzhnikov@google.com>
3902         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
3903         assembler not supporting AVX-512.
3905 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
3907         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3909 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
3911         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3912         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3914         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3916         * sysdeps/arm/libm-test-ulps: Regenerated.
3918 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3920         [BZ #19451]
3921         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
3923 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
3925         [BZ #19486]
3926         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
3927         * sysdeps/generic/fix-fp-int-convert-overflow.h
3928         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
3929         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
3930         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
3931         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
3932         Likewise.
3933         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
3934         Avoid conversions to long int where inexact exceptions
3935         could be raised.
3936         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
3937         Likewise.
3938         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
3939         Avoid conversions to long long int where inexact exceptions
3940         could be raised.
3941         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
3942         Likewise.
3944 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
3946         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
3947         * configure: Regenerated.
3949 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
3951         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
3953 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
3955         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
3956         outside of comment.
3958 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3960         * nptl/tst-barrier1.c: Add description on first line.
3961         * nptl/tst-barrier2.c: Likewise.
3962         * nptl/tst-barrier3.c: Likewise.
3963         * nptl/tst-barrier4.c: Likewise.
3964         * nptl/tst-barrier5.c: Likewise.
3966 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3968         [BZ #18868]
3969         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
3971 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
3973         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
3974         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
3975         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
3976         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
3977         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
3978         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
3979         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3980         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3981         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3982         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3983         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3985 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3987         [BZ #13065]
3988         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
3989         new implementation.
3990         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
3991         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
3992         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
3993         (BARRIER_IN_THRESHOLD): New macro.
3994         * nptl/pthread_barrierattr_setpshared.c
3995         (pthread_barrierattr_setpshared): Clean up.
3996         * nptl/tst-barrier4.c: Correct comment.
3997         * nptl/tst-barrier5.c: New file.
3998         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
3999         (gen-as-const-headers): Remove lowlevelbarrier.sym.
4000         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
4001         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
4002         * nptl/lowlevelbarrier.sym: Remove.
4003         * nptl/DESIGN-barrier.txt: Remove.
4004         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
4005         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
4006         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
4007         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
4008         error.
4009         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
4010         implementation.
4012 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4014         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
4015         (do_child): Mask SIGRTMIN while thr is running.
4017 2016-01-15  Martin Sebor  <msebor@redhat.com>
4019         [BZ #19432]
4020         * iconvdata/Makefile: Add bug-iconv11.
4021         * iconvdata/bug-iconv11.c: New test.
4022         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
4023         * iconvdata/ibm933.c: Same.
4024         * iconvdata/ibm935.c: Same.
4025         * iconvdata/ibm937.c: Same.
4026         * iconvdata/ibm939.c: Same.
4028 2016-01-15  Martin Sebor  <msebor@redhat.com>
4030         [BZ #19443]
4031         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
4032         [DEBUG] (_ufc_set_bits): Declare used.
4033         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
4034         [DEBUG] (print_all): Declare used.
4035         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
4036         operands of the ternary ?: expression to target type.
4037         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
4038         calling the undeclared abort.
4039         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
4041 2016-01-15  Martin Sebor  <msebor@redhat.com>
4043         [BZ #18755]
4044         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
4045         warnings.
4046         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
4047         (__gai_create_helper_thread): Same.
4048         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
4049         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
4050         to suppress -Wmaybe-uninitialized warnings.
4052 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
4054         [BZ #19465]
4055         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
4056         inside if.
4057         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4058         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4059         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4061 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
4063         [BZ #19466]
4064         * time/tst-mktime2.c (time_t_max): Removed.
4065         (time_t_min): Likewise.
4066         (TYPE_SIGNED): New.
4067         (TYPE_MINIMUM): Likewise.
4068         (TYPE_MAXIMUM): Likewise.
4069         (TIME_T_MIN): Likewise.
4070         (TIME_T_MAX): Likewise.
4071         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
4072         and TIME_T_MIN.
4073         (do_test): Likewise.
4075 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
4077         [BZ #19467]
4078         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4079         index_Fast_Unaligned_Load flag for Excavator family CPUs.
4081 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
4083         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
4085 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
4087         * benchtests/Makefile (PYTHON): Define.
4088         (bench-func): Use $(PYTHON) to run python scripts.
4089         ($(objpfx)bench-%.c): Likewise.
4091 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
4093         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
4094         leading slash when `file_name' is "/".
4096 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
4098         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
4099         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
4100         Likewise.
4101         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
4102         Likewise.
4103         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
4104         Likewise.
4105         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
4106         enum constant and macro.
4107         (PTRACE_SETSIGMASK): Likewise.
4108         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4109         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
4110         (PTRACE_GETSIGMASK): Likewise.
4111         (PTRACE_SETSIGMASK): Likewise.
4112         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4113         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
4114         Likewise.
4115         (PTRACE_SETSIGMASK): Likewise.
4116         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4117         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
4118         (PTRACE_GETSIGMASK): Likewise.
4119         (PTRACE_SETSIGMASK): Likewise.
4120         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4121         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
4122         Likewise.
4123         (PTRACE_SETSIGMASK): Likewise.
4124         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4125         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
4126         Likewise.
4127         (PTRACE_SETSIGMASK): Likewise.
4128         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4129         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
4130         Likewise.
4131         (PTRACE_SETSIGMASK): Likewise.
4132         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4134 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
4135             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4137         [BZ #19439]
4138         * math/bits/mathcalls.h
4139         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
4140         prototype.
4141         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
4143 2016-01-11  Andreas Schwab  <schwab@suse.de>
4145         [BZ #19253]
4146         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
4147         cache when TZDEFRULES was used.
4148         * time/tst-tzname.c: New file.
4149         * time/Makefile (test): Add tst-tzname.
4150         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
4151         * timezone/Makefile (test-zones): Add $(posixrules-file).
4152         ($(testdata)/$(posixrules-file)): New rule.
4154 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
4156         Fix doc quoting problems with Texinfo 5
4157         Without this change, in the info file output, Texinfo 5 quotes code
4158         in text with undirected single quotes 'like this' and generates
4159         code examples that with many PDF readers cannot be cut out of PDFs
4160         and pasted into code.
4161         * manual/libc.texinfo: Configure the libc manual like the GNU
4162         Emacs manual, by using @documentencoding and setting
4163         txicodequoteundirected and txicodequotebacktick.  This way,
4164         Texinfo 5 quotes code in text with directed single quotes ‘like
4165         this’ and produces examples that can be cut out of PDFs.  This
4166         change causes Texinfo 5 to generate info files that contain UTF-8
4167         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
4168         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
4170 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4172         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
4173         __libc_tabort, __libc_tend): New wrappers that enforce compiler
4174         barriers to their respective compiler built-ins.
4175         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
4176         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
4177         * sysdeps/powerpc/sysdep.h: Likewise.
4178         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
4179         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
4180         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
4182 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
4184         * scripts/config.guess: Revert previous shebang change.
4185         * scripts/config.sub: Likewise.
4186         * scripts/mkinstalldirs: Likewise.
4188 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4190         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
4191         PPC_FEATURE2_HAS_IEEE128.
4192         * sysdeps/powerpc/dl-procinfo.c:
4193         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
4195 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
4197         [BZ #19415]
4198         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
4199         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
4200         (_dl_lookup_address): Rewrite using function resolver trampoline.
4201         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
4202         two bits in address.
4204 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4206         * longlong.h: Change !__SHMEDIA__ to
4207         (!defined (__SHMEDIA__) || !__SHMEDIA__).
4208         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
4210 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
4211             Joseph Myers  <joseph@codesourcery.com>
4212             Mark Shinwell  <shinwell@codesourcery.com>
4213             Andrew Stubbs  <ams@codesourcery.com>
4214             Rich Felker <dalias@libc.org>
4216         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
4218 2016-01-07  Richard Henderson  <rth@redhat.com>
4220         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
4222 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4224         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
4225         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
4226         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4227         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4228         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
4230 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
4231             Joseph Myers  <joseph@codesourcery.com>
4233         * timezone/private.h: Update from tzcode 2015g.
4234         * timezone/tzfile.h: Likewise.
4235         * timezone/tzselect.ksh: Likewise.
4236         * timezone/zdump.c: Likewise.
4237         * timezone/zic.c: Likewise.
4238         * timezone/ialloc.c: Remove file.
4239         * timezone/scheck.c: Likewise.
4240         * timezone/Makefile (extra-objs): Remove variable.
4241         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
4242         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
4243         -Wno-maybe-uninitialized.
4244         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
4245         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
4246         (CFLAGS-ialloc.c): Remove variable.
4247         (CFLAGS-scheck.c): Likewise.
4248         * timezone/README: Update list of files from tzcode.
4250 2016-01-07  Khem Raj  <raj.khem@gmail.com>
4252         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
4253         instead of __fxprintf when _LIBC is undefined.
4255 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
4257         * catgets/test-gencat.sh: Remove space after shebang.
4258         * conform/GlibcConform.pm: Likewise.
4259         * conform/check-header-lists.sh: Likewise.
4260         * conform/conformtest.pl: Likewise.
4261         * conform/linknamespace.pl: Likewise.
4262         * conform/list-header-symbols.pl: Likewise.
4263         * debug/catchsegv.sh: Likewise.
4264         * elf/genrtldtbl.awk: Likewise.
4265         * elf/tst-pathopt.sh: Likewise.
4266         * elf/tst-rtld-load-self.sh: Likewise.
4267         * grp/tst_fgetgrent.sh: Likewise.
4268         * iconvdata/gen-8bit-gap-1.sh: Likewise.
4269         * iconvdata/gen-8bit-gap.sh: Likewise.
4270         * iconvdata/gen-8bit.sh: Likewise.
4271         * iconvdata/run-iconv-test.sh: Likewise.
4272         * intl/tst-gettext.sh: Likewise.
4273         * intl/tst-gettext2.sh: Likewise.
4274         * intl/tst-gettext4.sh: Likewise.
4275         * intl/tst-gettext6.sh: Likewise.
4276         * intl/tst-translit.sh: Likewise.
4277         * io/ftwtest-sh: Likewise.
4278         * libio/test-freopen.sh: Likewise.
4279         * locale/gen-translit.pl: Likewise.
4280         * malloc/tst-mtrace.sh: Likewise.
4281         * manual/check-safety.sh: Likewise.
4282         * manual/libc-texinfo.sh: Likewise.
4283         * manual/tsort.awk: Likewise.
4284         * manual/xtract-typefun.awk: Likewise.
4285         * nptl/tst-cancel-wrappers.sh: Likewise.
4286         * nptl/tst-tls6.sh: Likewise.
4287         * posix/globtest.sh: Likewise.
4288         * posix/tst-getconf.sh: Likewise.
4289         * posix/wordexp-tst.sh: Likewise.
4290         * scripts/check-c++-types.sh: Likewise.
4291         * scripts/check-local-headers.sh: Likewise.
4292         * scripts/config.guess: Likewise.
4293         * scripts/config.sub: Likewise.
4294         * scripts/cpp: Likewise.
4295         * scripts/cross-test-ssh.sh: Likewise.
4296         * scripts/documented.sh: Likewise.
4297         * scripts/evaluate-test.sh: Likewise.
4298         * scripts/gen-libc-abis: Likewise.
4299         * scripts/gen-sorted.awk: Likewise.
4300         * scripts/list-fixed-bugs.py: Likewise.
4301         * scripts/merge-test-results.sh: Likewise.
4302         * scripts/mkinstalldirs: Likewise.
4303         * scripts/rellns-sh: Likewise.
4304         * scripts/test-installation.pl: Likewise.
4305         * scripts/update-copyrights: Likewise.
4306         * stdio-common/tst-printf.sh: Likewise.
4307         * stdio-common/tst-unbputc.sh: Likewise.
4308         * stdlib/tst-fmtmsg.sh: Likewise.
4309         * stdlib/tst-setcontext3.sh: Likewise.
4310         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
4311         * sysdeps/unix/make-syscalls.sh: Likewise.
4313 2016-01-06  John David Anglin  <dave.anglin@bell.net>
4315         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
4316         asm stw with atomic_exchange_rel.  Add explanatory comment.
4317         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
4318         Likewise.
4320 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
4322         [BZ #19122]
4323         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
4324         * sysdeps/generic/dl-unistd.h: New file.
4325         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
4327 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
4329          [BZ #19122]
4330          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
4331          * sysdeps/generic/dl-mman.h: New file.
4332          * sysdeps/mach/hurd/dl-mman.h: Likewise.
4334 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
4336         * manual/texinfo.tex: Update to version 2016-01-04.21 with
4337         trailing whitespace removed.
4338         * scripts/config.guess: Update to version 2016-01-01.
4339         * scripts/config.sub: Update to version 2016-01-01.
4340         * scripts/move-if-change: Update from gnulib.
4342 2016-01-04  Anton Blanchard  <anton@samba.org>
4344         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
4345         for array indices.
4346         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
4348 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
4350         * NEWS: Update copyright dates.
4351         * catgets/gencat.c (print_version): Likewise.
4352         * csu/version.c (banner): Likewise.
4353         * debug/catchsegv.sh: Likewise.
4354         * debug/pcprofiledump.c (print_version): Likewise.
4355         * debug/xtrace.sh (do_version): Likewise.
4356         * elf/ldconfig.c (print_version): Likewise.
4357         * elf/ldd.bash.in: Likewise.
4358         * elf/pldd.c (print_version): Likewise.
4359         * elf/sotruss.sh: Likewise.
4360         * elf/sprof.c (print_version): Likewise.
4361         * iconv/iconv_prog.c (print_version): Likewise.
4362         * iconv/iconvconfig.c (print_version): Likewise.
4363         * locale/programs/locale.c (print_version): Likewise.
4364         * locale/programs/localedef.c (print_version): Likewise.
4365         * login/programs/pt_chown.c (print_version): Likewise.
4366         * malloc/memusage.sh (do_version): Likewise.
4367         * malloc/memusagestat.c (print_version): Likewise.
4368         * malloc/mtrace.pl: Likewise.
4369         * manual/libc.texinfo: Likewise.
4370         * nptl/version.c (banner): Likewise.
4371         * nscd/nscd.c (print_version): Likewise.
4372         * nss/getent.c (print_version): Likewise.
4373         * nss/makedb.c (print_version): Likewise.
4374         * posix/getconf.c (main): Likewise.
4375         * scripts/test-installation.pl: Likewise.
4376         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4378         * All files with FSF copyright notices: Update copyright dates
4379         using scripts/update-copyrights.
4380         * intl/plural.c: Regenerated.
4381         * locale/programs/charmap-kw.h: Likewise.
4382         * locale/programs/locfile-kw.h: Likewise.
4384 2016-01-02  Helge Deller  <deller@gmx.de>
4386         [BZ #19285]
4387         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
4388         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
4389         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
4390         (MADV_xxK_PAGES): Remove.
4392 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
4394         [BZ #15421]
4395         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
4396         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
4397         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
4398         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
4400 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
4402         [BZ #19408]
4403         * sysdeps/unix/sysv/linux/personality.c: New file.
4404         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
4405         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
4406         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
4407         (sysdep_routines): Add personality.
4408         (tests): Add tst-personality.
4409         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
4410         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
4411         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
4412         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
4413         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
4414         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
4415         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
4416         Likewise.
4417         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
4418         Likewise.
4419         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
4420         Likewise.
4421         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
4422         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
4423         Likewise.
4425 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
4427         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
4428         (PATH_ARM_SYSTYPE): Remove.
4429         (PATH_CPUINFO): Likewise.
4430         (IO_BASE_FOOTBRIDGE): Likewise.
4431         (IO_SHIFT_FOOTBRIDGE): Likewise.
4432         (struct platform): Likewise.
4433         (init_iosys): Remove compatibility code for 2.4 kernels.
4434         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
4436 2015-12-29  Florian Weimer  <fweimer@redhat.com>
4438         * malloc/tst-malloc-thread-fail.c: New file.
4439         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
4440         (tst-malloc-thread-fail): Link against libpthread.
4442 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
4444         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
4445         (get_parser): New function.
4446         (main): New function.
4448 2015-12-29  Rob Wu  <rob@robwu.nl>
4450         [BZ #19369]
4451         * resolv/res_init.c (__res_vinit): Reset defdname before use.
4453 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
4455         [BZ #19270]
4456         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
4458 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
4460         [BZ #15421]
4461         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
4463 2015-12-23  Torvald Riegel  <triegel@redhat.com>
4465         [BZ #13690]
4466         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
4467         after releasing it.
4468         (__lll_robust_unlock): Likewise.
4469         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4470         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
4471         (lll_robust_unlock): Likewise.
4472         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
4473         Prevent warnings in callers.
4475 2015-12-23  Florian Weimer  <fweimer@redhat.com>
4477         * malloc/arena.c (list_lock): Update comment.
4479 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4481         * sysdeps/powerpc/hwcapinfo.c: Export symbol
4482         __parse_hwcap_and_convert_at_platform to libc.a.
4484 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4486         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
4487         platform and feature support for POWER9.
4488         * sysdeps/powerpc/dl-procinfo.h: Likewise.
4489         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
4490         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
4491         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
4492         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
4493         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
4494         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
4495         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
4497 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4499         Harmonize generic stdio-lock support with nptl
4501         This fixes build when _IO_funlockfile is a macro, fixes build where
4502         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
4503         stack unwind.
4505         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
4506         _IO_release_lock ): Use cleanup attribute on new
4507         _IO_acquire_lock_file variable instead of assuming that
4508         _IO_release_lock will be called.
4509         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
4510         _IO_acquire_lock_needs_exceptions_enabled.
4511         (_IO_acquire_lock_clear_flags2): New macro.
4513 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4515         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4517 2015-12-21  Florian Weimer  <fweimer@redhat.com>
4519         [BZ #19182]
4520         * malloc/arena.c (list_lock): Document lock ordering requirements.
4521         (free_list_lock): New lock.
4522         (ptmalloc_lock_all): Comment on free_list_lock.
4523         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
4524         (detach_arena): Update comment.  free_list_lock is now needed.
4525         (_int_new_arena): Use free_list_lock around detach_arena call.
4526         Acquire arena lock after list_lock.  Add comment, including FIXME
4527         about incorrect synchronization.
4528         (get_free_list): Switch to free_list_lock.
4529         (reused_arena): Acquire free_list_lock around detach_arena call
4530         and attached threads counter update.  Add two FIXMEs about
4531         incorrect synchronization.
4532         (arena_thread_freeres): Switch to free_list_lock.
4533         * malloc/malloc.c (struct malloc_state): Update comments to
4534         mention free_list_lock.
4536 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
4538         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
4539         Remove functions.
4540         (sloww, sloww1): Accept argument to offset quadrant.
4541         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
4542         quadrant.
4543         (__sin, __cos): Consolidate common code into new functions.
4544         (reduce_sincos_1, do_sincos_1): New functions.
4545         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
4547         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
4548         code to new functions.
4549         (reduce_sincos_2, do_sincos_2): New functions.
4550         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
4552         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
4553         common code for sincos.
4554         (__cos) [!IN_SINCOS]: Likewise.
4555         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
4556         New function.
4557         (__sincos): Use it.
4559 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
4561         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
4562         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
4563         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4565 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4567         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
4568         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
4569         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
4570         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
4571         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4572         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
4573         index_Prefer_No_VZEROUPPER): New feature.
4574         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
4575         Prefer_No_VZEROUPPER for Knights Landing.
4577 015-12-18  Torvald Riegel  <triegel@redhat.com>
4579         * math/atest-exp2.c (mp_exp_m1): Remove.
4581 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4583         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
4584         syscalls.
4585         (__SYSCALL0): New macro.
4586         (__SYSCALL1): Likewise.
4587         (__SYSCALL2): Likewise.
4588         (__SYSCALL3): Likewise.
4589         (__SYSCALL4): Likewise.
4590         (__SYSCALL5): Likewise.
4591         (__SYSCALL6): Likewise.
4592         (__SYSCALL_CONCAT_X): Likewise.
4593         (__SYSCALL_CONCAT): Likewise.
4594         (__SYSCALL_DIST): Likewise.
4595         (__SYSCALL_CALL): Likewise.
4597 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
4599         [BZ #19363]
4600         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
4602 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4604         [BZ #19375]
4605         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
4606         negative subnormals.
4608 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
4610         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4611         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
4612         (INTERNAL_SYSCALL_NCS): Use it.
4613         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4615 2015-12-16  Florian Weimer  <fweimer@redhat.com>
4617         [BZ #19243]
4618         * malloc/arena.c (get_free_list): Remove assert and adjust
4619         reference count handling.  Add comment about reused_arena
4620         interaction.
4621         (reused_arena): Add comments abount get_free_list interaction.
4622         * malloc/tst-malloc-thread-exit.c: New file.
4623         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
4624         (tst-malloc-thread-exit): Link against libpthread.
4626 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
4628         [BZ #19367]
4629         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
4630         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
4631         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
4632         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
4633         (index_Prefer_MAP_32BIT_EXEC): Likewise.
4635 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
4637         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
4638         Silvermont optimizations for Knights Landing.
4640 2015-12-15  Andreas Schwab  <schwab@suse.de>
4642         [BZ #17197]
4643         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
4644         immediately after emitting SI.
4645         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
4646         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
4647         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
4648         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
4649         * iconvdata/bug-iconv10.c: New file.
4650         * iconvdata/Makefile (tests): Add bug-iconv10.
4651         ($(objpfx)bug-iconv10.out): New rule.
4653 2015-12-15  Florian Weimer  <fweimer@redhat.com>
4655         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
4656         aliasing violation.
4658 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
4660         [BZ #18472]
4661         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
4662         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
4663         conditionals for them.
4664         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
4665         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
4666         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
4667         sys/kdaemon.h.
4668         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
4669         compat-only syscall, obsoleted in glibc 2.23.
4670         (create_module): Likewise.
4671         (get_kernel_syms): Likewise.
4672         (query_module): Likewise.
4673         (uselib): Likewise.
4674         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
4676 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
4678         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
4679         <linux/version.h>.
4680         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
4681         conditional code.
4682         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
4683         and ioshift_name initialization.
4685 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4687         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4688         Fix indentation.
4690 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4692         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
4694 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4696         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
4698 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
4699             Jakub Wilk  <jwilk@debian.org>
4701         [BZ #19347]
4702         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
4703         to change the group of the device to the tty group.
4705 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
4707         Split large string section; add truncation advice
4708         * manual/examples/strncat.c: Remove.
4709         This example was misleading, as the code would have undefined
4710         behavior if "hello" was longer than SIZE.  Anyway, the manual
4711         shouldn't encourage strncpy+strncat for this sort of thing.
4712         * manual/string.texi (Copying Strings and Arrays): Split into
4713         three sections Copying Strings and Arrays, Concatenating Strings,
4714         and Truncating Strings, as this section was way too long.  All
4715         cross-referenced changed.  Add advice about string-truncation
4716         functions.  Remove misleading strncat example.
4718 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
4720         * manual/nss.texi (NSS Modules Interface): Document
4721         NSS_STATUS_NOTFOUND and SUCCESS.
4723 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
4725         [BZ 18568]
4726         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4727         201505L, for Unicode 8.
4729 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
4731         * locale/C-translit.h: Regenerate.
4733 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
4735         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
4736         and U+0153.
4738 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
4740         [BZ #19351]
4741         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
4742         expanding log(1+z), compare z rather than its square with epsilon
4743         to determine when to avoid evaluating the expansion.
4745         [BZ #19350]
4746         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
4747         Increase overflow threshold.
4749         [BZ #19349]
4750         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
4751         when small.
4753         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4754         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4755         New macro.
4756         [__LINUX_KERNEL_VERSION >= 0x040300]
4757         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4758         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4759         Likewise.
4760         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4761         Likewise.
4762         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4763         Likewise.
4764         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4765         Likewise.
4766         [__LINUX_KERNEL_VERSION >= 0x040300]
4767         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4768         [__LINUX_KERNEL_VERSION >= 0x040300]
4769         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4770         [__LINUX_KERNEL_VERSION >= 0x040300]
4771         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4772         [__LINUX_KERNEL_VERSION >= 0x040300]
4773         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4774         [__LINUX_KERNEL_VERSION >= 0x040300]
4775         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4776         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
4777         Likewise.
4778         [__LINUX_KERNEL_VERSION >= 0x040300]
4779         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4780         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4781         Likewise.
4782         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
4783         Likewise.
4784         [__LINUX_KERNEL_VERSION >= 0x040300]
4785         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
4786         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4787         Likewise.
4788         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
4789         Likewise.
4790         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4791         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
4792         Likewise.
4793         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
4794         Likewise.
4795         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4796         Likewise.
4797         [__LINUX_KERNEL_VERSION >= 0x040300]
4798         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4799         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4800         Likewise.
4801         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4802         Likewise.
4803         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4804         Likewise.
4805         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4806         Likewise.
4807         [__LINUX_KERNEL_VERSION >= 0x040300]
4808         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4809         [__LINUX_KERNEL_VERSION >= 0x040300]
4810         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4811         [__LINUX_KERNEL_VERSION >= 0x040300]
4812         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4813         [__LINUX_KERNEL_VERSION >= 0x040300]
4814         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4815         [__LINUX_KERNEL_VERSION >= 0x040300]
4816         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4817         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
4818         Likewise.
4819         [__LINUX_KERNEL_VERSION >= 0x040300]
4820         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4821         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4822         Likewise.
4823         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
4824         Likewise.
4825         [__LINUX_KERNEL_VERSION >= 0x040300]
4826         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
4827         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4828         Likewise.
4829         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
4830         Likewise.
4831         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4832         (__ASSUME_SOCKET_SYSCALL): Likewise.
4833         (__ASSUME_BIND_SYSCALL): Likewise.
4834         (__ASSUME_CONNECT_SYSCALL): Likewise.
4835         (__ASSUME_LISTEN_SYSCALL): Likewise.
4836         (__ASSUME_ACCEPT_SYSCALL): Likewise.
4837         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4838         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4839         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4840         (__ASSUME_SEND_SYSCALL): Likewise.
4841         (__ASSUME_SENDTO_SYSCALL): Likewise.
4842         (__ASSUME_RECV_SYSCALL): Likewise.
4843         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4844         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
4845         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4846         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4847         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4848         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4849         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4850         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
4851         Likewise.
4852         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
4853         Likewise.
4854         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
4855         Likewise.
4856         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
4857         Likewise.
4858         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
4859         Likewise.
4860         [__LINUX_KERNEL_VERSION >= 0x020625]
4861         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4862         [__LINUX_KERNEL_VERSION >= 0x020625]
4863         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4864         [__LINUX_KERNEL_VERSION >= 0x020625]
4865         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4866         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
4867         Likewise.
4868         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
4869         Likewise.
4870         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
4871         Likewise.
4872         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
4873         Likewise.
4874         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
4875         Likewise.
4876         [__LINUX_KERNEL_VERSION >= 0x020625]
4877         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4878         [__LINUX_KERNEL_VERSION >= 0x020625]
4879         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4880         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
4881         Likewise.
4882         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
4883         Likewise.
4885 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
4887         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
4888         record the current if the current ABI and CPU support the FP64
4889         extension.
4890         (has-modd-spreg): Define to record the current if the current ABI and
4891         CPU support 32-bit floating point values in odd FPU registers.
4892         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4893         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
4894         $(has-modd-spreg) equals yes.
4895         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
4896         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
4897         $(has-modd-spreg) equal yes.
4899 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
4901         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
4902         basename.
4904 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
4906         * benchtests/Makefile (bench-math): Move ffs and ffsll...
4907         (bench-string): ... here.
4908         (bench): Add bench-string.
4909         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
4910         to *-benchset to reflect what they are.
4911         (benchset): Adjust.
4913         * benchtests/sincos-inputs: Add inputs from sin-inputs and
4914         cos-inputs.
4916 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
4918         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
4919         __attribute__ ((__simd__)) for vector math function declarations.
4921 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4923         Fix typo in strncat, wcsncat manual entries
4924         * manual/string.texi (Copying and Concatenation): Fix typos in
4925         sample implementations of strncat and wcsncat, by having them use
4926         the old value of the destination length, not the new one.
4928 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
4930         [BZ #16961]
4931         [BZ #16962]
4932         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
4933         string on the stack for strtod.
4934         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
4935         a string on the stack for strtof.
4936         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
4937         constructing a string on the stack for strtold.
4938         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
4939         __strtold_nan to GLIBC_PRIVATE.
4940         * math/test-nan-overflow.c: New file.
4941         * math/test-nan-payload.c: Likewise.
4942         * math/Makefile (tests): Add test-nan-overflow and
4943         test-nan-payload.
4945 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4947         Consistency about byte vs character in string.texi
4948         * manual/string.texi (String and Array Utilities):
4949         Distinguish more carefully among bytes, multibyte characters,
4950         and wide characters.  Use "byte" when talking about C 'char',
4951         to distinguish it more clearly from multibyte characters.
4952         Say "wide character" or "multibyte character" instead of
4953         "character", when a wide or multibyte character is intended.
4954         Similarly for "multibyte string" versus "string".
4955         Define these terms more carefully.
4957 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
4959         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
4960         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
4961         Likewise.
4962         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
4963         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
4964         * sysdeps/sh/math_private.h: New file.
4965         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
4966         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
4967         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
4968         long double function name.
4969         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4970         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4971         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4972         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4973         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
4975         Remove __finitel, __isinfl, and __isnanl.
4976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4977         Likewise.
4978         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4980         Remove __finitel.
4981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4982         Likewise.
4983         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4985 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
4987         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
4988         installed libmvec_nonshared.a.
4990 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4992         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
4993         (sysdep_routines): Likewise.
4994         (sysdep-rtld-routines): Likewise.
4995         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
4996         [$(subdir) = nptl](tests-static): test-get_hwcap-static
4997         * sysdeps/powerpc/Versions: Added new
4998         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
4999         * sysdeps/powerpc/hwcapinfo.c: New file.
5000         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
5001         and parse hwcap, hwcap2 and platform number information.
5002         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
5003         to store HWCAP+HWCAP2 and platform number.
5004         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
5005         for HWCAP+HWCAP2 and platform number in the TCB.
5006         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
5007         the HWCAP, HWCAP2 and platform number in the TCB.
5008         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
5009         (TLS_INIT_TP): Included calls to add the hwcap and
5010         at_platform values in the TCB in TP initialization.
5011         (TLS_DEFINE_INIT_TP): Likewise.
5012         (THREAD_GET_HWCAP): New macro.
5013         (THREAD_SET_HWCAP): Likewise.
5014         (THREAD_GET_AT_PLATFORM): Likewise.
5015         (THREAD_SET_AT_PLATFORM): Likewise.
5016         * sysdeps/powerpc/powerpc32/dl-machine.h:
5017         (dl_platform_init): New function that calls
5018         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
5019         powerpc32.
5020         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
5021         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
5022         this functionality, static linking case.
5023         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
5024         linking case.
5025         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
5026         __parse_hwcap_and_convert_at_platform for the static linking case.
5027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
5028         Included the new __parse_hwcap_and_convert_at_platform symbol in the
5029         ABI list for GLIBC 2.23.
5030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
5031         Likewise.
5032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
5033         Likewise.
5035 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
5037         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
5038         * configure: Regenerate.
5039         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
5040         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
5042 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
5044         * iconvdata/ibm930.c: Add comment explaining encoding uses.
5045         * iconvdata/ibm933.c: Likewise.
5046         * iconvdata/ibm935.c: Likewise.
5047         * iconvdata/ibm937.c: Likewise.
5048         * iconvdata/ibm939.c: Likewise.
5050 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5052         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
5053         pthread_join.
5054         * nptl/tst-cancel21.c (tf): Likewise.
5056 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
5058         [BZ #19313]
5059         * bits/typesizes.h (__CPU_MASK_TYPE): New.
5060         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5061         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5062         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
5063         Likewise.
5064         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
5065         Likewise.
5066         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
5067         Likewise.
5068         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
5069         Likewise.
5070         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
5071         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
5072         unsigned long int with __CPU_MASK_TYPE.
5074 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5076         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5078 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
5080         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
5081         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
5082         t512.x.
5083         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
5085 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
5087         [BZ #19214]
5088         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
5089         argument to return extended model.  Update family and model
5090         with extended family and model when family == 0x0f.
5091         (init_cpu_features): Updated.
5093 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5095         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
5096         signed off_t, so 32bit bigger than 2GiB values are fine actually.
5098         * sysdeps/mach/hurd/mmap64.c: New file.
5100 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
5102         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
5103         rights for its main user thread in NEWTASK.
5105 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
5107         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
5108         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
5110 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
5112         [BZ #14259]
5113         * Makeconfig: Rename localedir to complocaledir.
5114         Rename inst_localedir to inst_complocaledir.
5115         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
5116         * config.make.in: Use complocaledir and libc_cv_complocaledir.
5117         * configure.ac: Use libc_cv_complocaledir.
5118         * configure: Regenerate.
5119         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
5120         -DCOMPLOCALEDIR.
5121         * locale/findlocale.c: Use COMPLOCALEDIR.
5122         * locale/loadarchive.c: Likewise.
5123         * locale/programs/locale.c: Likewise.
5124         * locale/programs/localedef.c: Likewise.
5125         * locale/programs/locarchive.c: Likewise.
5126         * localedata/Makefile: Use inst_complocaledir.
5127         * sysdeps/gnu/configure: Regenerate.
5128         * sysdeps/hppa/configure: Regenerate.
5129         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
5130         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5132         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
5133         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
5134         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
5135         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
5137 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
5139         [BZ #19058]
5140         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
5141         AS_NEEDED.
5142         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
5143         workaround.
5144         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
5145         libmvec-static-only-routines): Added new file.
5146         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
5148 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5150         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
5151         of interrupted RPC instead of restoring it.
5153         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
5154         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
5155         libc_hidden_def.
5156         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
5157         into initialized data instead of common. Define rtld_hidden_data_def.
5158         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
5159         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
5160         libc_hidden_def.
5161         (if_freenameindex): Add libc_hidden_weak.
5162         (if_nameindex): Add libc_hidden_weak.
5163         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
5164         __open64.
5165         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
5166         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
5167         * sysdeps/mach/nanosleep.c: Include <time.h>
5168         (__nanosleep): Rename to __libc_nanosleep.
5169         (__nanosleep): Add weak_alias.
5170         (nanosleep): Update alias.
5172 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
5174         * stdlib/strtod_nan.c: New file.
5175         * stdlib/strtod_nan_double.h: Likewise.
5176         * stdlib/strtod_nan_float.h: Likewise.
5177         * stdlib/strtod_nan_main.c: Likewise.
5178         * stdlib/strtod_nan_narrow.h: Likewise.
5179         * stdlib/strtod_nan_wide.h: Likewise.
5180         * stdlib/strtof_nan.c: Likewise.
5181         * stdlib/strtold_nan.c: Likewise.
5182         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
5183         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
5184         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
5185         * wcsmbs/wcstod_nan.c: Likewise.
5186         * wcsmbs/wcstof_nan.c: Likewise.
5187         * wcsmbs/wcstold_nan.c: Likewise.
5188         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
5189         strtold_nan.
5190         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
5191         wcstof_nan.
5192         * include/stdlib.h (__strtof_nan): Declare and use
5193         libc_hidden_proto.
5194         (__strtod_nan): Likewise.
5195         (__strtold_nan): Likewise.
5196         (__wcstof_nan): Likewise.
5197         (__wcstod_nan): Likewise.
5198         (__wcstold_nan): Likewise.
5199         * include/wchar.h (____wcstoull_l_internal): Declare.
5200         * stdlib/strtod_l.c: Do not include <ieee754.h>.
5201         (____strtoull_l_internal): Remove declaration.
5202         (STRTOF_NAN): Define macro.
5203         (SET_MANTISSA): Remove macro.
5204         (STRTOULL): Likewise.
5205         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
5206         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
5207         (STRTOF_NAN): Define macro.
5208         (SET_MANTISSA): Remove macro.
5209         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
5210         (SET_MANTISSA): Remove macro.
5211         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
5212         macro.
5213         (SET_MANTISSA): Remove macro.
5214         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
5215         macro.
5216         (SET_MANTISSA): Remove macro.
5217         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
5218         (SET_MANTISSA): Remove macro.
5219         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
5220         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
5221         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
5223         [BZ #19266]
5224         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
5225         upper case and lower case letters inside NAN(), not using TOLOWER.
5226         * stdlib/tst-strtod-nan-locale-main.c: New file.
5227         * stdlib/tst-strtod-nan-locale.c: Likewise.
5228         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
5229         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
5230         Depend on $(gen-locales).
5231         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
5232         * wcsmbs/tst-wcstod-nan-locale.c: New file.
5233         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
5234         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
5235         Depend on $(gen-locales).
5236         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
5238 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
5240         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
5242         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
5243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
5244         __finitel, __isinfl, and __isnanl.
5245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5246         Likewise.
5247         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
5249         __finitel.
5250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5251         Likewise.
5252         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5254 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
5256         * malloc/memusage.c (me): Remove redundant getenv call.
5258 2015-10-24  Florian Weimer  <fweimer@redhat.com>
5260         [BZ #19143]
5261         [BZ #19164]
5262         * nptl/check-cpuset.h: Remove.
5263         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
5264         Remove CPU set size check.
5265         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
5266         Likewise.
5267         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
5268         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5269         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
5270         (__pthread_setaffinity_new): Remove CPU set size check.
5271         * sysdeps/unix/sysv/linux/sched_setaffinity.c
5272         (__kernel_cpumask_size): Remove.
5273         (__sched_setaffinity_new): Remove CPU set size check.
5274         * manual/threads.texi (Default Thread Attributes): Remove stale
5275         reference to check_cpuset_attr, determine_cpumask_size in comment.
5276         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
5277         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
5278         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
5279         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
5280         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
5281         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
5282         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
5283         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
5284         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
5285         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
5286         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
5287         skeleton test file.
5288         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
5289         tst-affinity-pid.
5291 2015-11-24  Florian Weimer  <fweimer@redhat.com>
5293         * scripts/update-abilist.sh: New file.
5294         * Makefile (+subdir_targets): Add subdir_update-all-abi.
5295         * Makerules (update-all-abi-%, update-all-abi)
5296         (subdir_update-all-abi): New targets.
5297         * elf/Makefile (update-all-abi): New target.
5299 2015-11-24  Florian Weimer  <fweimer@redhat.com>
5301         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
5302         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
5303         (__libc_lock_define_initialized): Use it.
5304         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
5305         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
5306         * malloc/malloc.c (main_arena): Likewise.
5307         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
5308         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
5310 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
5312         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5313         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
5314         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5315         (PTRACE_O_MASK): Update value.
5316         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
5317         New value in enum __ptrace_setoptions.
5318         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5319         (PTRACE_O_MASK): Update value.
5320         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5321         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5322         (PTRACE_O_MASK): Update value.
5323         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
5324         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5325         (PTRACE_O_MASK): Update value.
5326         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
5327         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5328         (PTRACE_O_MASK): Update value.
5329         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
5330         New value in enum __ptrace_setoptions.
5331         (PTRACE_O_MASK): Update value.
5332         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
5333         New value in enum __ptrace_setoptions.
5334         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5335         (PTRACE_O_MASK): Update value.
5337         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
5338         New macro.
5339         (PACKET_AUXDATA): Likewise.
5340         (PACKET_ORIGDEV): Likewise.
5341         (PACKET_VERSION): Likewise.
5342         (PACKET_HDRLEN): Likewise.
5343         (PACKET_RESERVE): Likewise.
5344         (PACKET_TX_RING): Likewise.
5345         (PACKET_LOSS): Likewise.
5346         (PACKET_VNET_HDR): Likewise.
5347         (PACKET_TX_TIMESTAMP): Likewise.
5348         (PACKET_TIMESTAMP): Likewise.
5349         (PACKET_FANOUT): Likewise.
5350         (PACKET_TX_HAS_OFF): Likewise.
5351         (PACKET_QDISC_BYPASS): Likewise.
5352         (PACKET_ROLLOVER_STATS): Likewise.
5353         (PACKET_FANOUT_DATA): Likewise.
5354         (PACKET_MR_UNICAST): Likewise.
5356         [BZ #19242]
5357         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
5358         (TOUPPER): Likewise.
5359         * stdlib/tst-strtol-locale-main.c: New file.
5360         * stdlib/tst-strtol-locale.c: Likewise.
5361         * stdlib/Makefile (tests): Add tst-strtol-locale.
5362         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
5363         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
5364         Depend on $(gen-locales).
5365         * wcsmbs/tst-wcstol-locale.c: New file.
5366         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
5367         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
5368         tr_TR.ISO-8859-9.
5369         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
5370         Depend on $(gen-locales).
5372 2015-11-20  Roland McGrath  <roland@hack.frob.com>
5374         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
5375         __glibc_likely instead of __builtin_expect.  After falling back to
5376         dyncode_create in a non-ET_DYN case, use the allocate_code_data
5377         system interface to register the code pages as occupied.
5379 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
5381         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5382         [!ARM_MATH_PRIVATE_H].
5383         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
5384         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5385         [!HPPA_MATH_PRIVATE_H].
5386         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
5387         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
5388         to [!I386_MATH_PRIVATE_H].
5389         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
5390         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
5391         Change guard to [!M68K_MATH_PRIVATE_H].
5392         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
5393         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
5394         guard to [!MICROBLAZE_MATH_PRIVATE_H].
5395         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
5396         macro.
5397         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5398         [!MIPS_MATH_PRIVATE_H].
5399         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
5400         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5401         [!NIO2_MATH_PRIVATE_H].
5402         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
5403         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5404         [!TILE_MATH_PRIVATE_H].
5405         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
5407         [BZ #15421]
5408         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
5409         initialize with 0 and define as weak alias of __signgam.
5410         * include/math.h [!_ISOMAC] (__signgam): Declare.
5411         * math/Makefile (libm-calls): Add w_lgamma_compat.
5412         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
5413         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
5414         test-signgam-ullong-init.
5415         (tests-static): Add test-signgam-uchar-static,
5416         test-signgam-uchar-init-static, test-signgam-uint-static,
5417         test-signgam-uint-init-static, test-signgam-ullong-static and
5418         test-signgam-ullong-init-static.
5419         (CFLAGS-test-signgam-uchar.c): New variable.
5420         (CFLAGS-test-signgam-uchar-init.c): Likewise.
5421         (CFLAGS-test-signgam-uchar-static.c): Likewise.
5422         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
5423         (CFLAGS-test-signgam-uint.c): Likewise.
5424         (CFLAGS-test-signgam-uint-init.c): Likewise.
5425         (CFLAGS-test-signgam-uint-static.c): Likewise.
5426         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
5427         (CFLAGS-test-signgam-ullong.c): Likewise.
5428         (CFLAGS-test-signgam-ullong-init.c): Likewise.
5429         (CFLAGS-test-signgam-ullong-static.c): Likewise.
5430         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
5431         * math/Versions (libm): Add GLIBC_2.23.
5432         * math/lgamma-compat.h: New file.
5433         * math/test-signgam-main.c: Likewise.
5434         * math/test-signgam-uchar-init-static.c: Likewise.
5435         * math/test-signgam-uchar-init.c: Likewise.
5436         * math/test-signgam-uchar-static.c: Likewise.
5437         * math/test-signgam-uchar.c: Likewise.
5438         * math/test-signgam-uint-init-static.c: Likewise.
5439         * math/test-signgam-uint-init.c: Likewise.
5440         * math/test-signgam-uint-static.c: Likewise.
5441         * math/test-signgam-uint.c: Likewise.
5442         * math/test-signgam-ullong-init-static.c: Likewise.
5443         * math/test-signgam-ullong-init.c: Likewise.
5444         * math/test-signgam-ullong-static.c: Likewise.
5445         * math/test-signgam-ullong.c: Likewise.
5446         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
5447         wrapper of w_lgamma_main.c.
5448         * math/w_lgamma_compat.c: New file.
5449         * math/w_lgamma_compatf.c: Likewise.
5450         * math/w_lgamma_compatl.c: Likewise.
5451         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
5452         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
5453         defining compatibility symbols.
5454         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
5455         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
5456         wrapper of w_lgammaf_main.c.
5457         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
5458         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
5459         defining compatibility symbols.
5460         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
5461         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
5462         wrapper of w_lgammal_main.c.
5463         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
5464         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
5465         defining compatibility symbols.
5466         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
5467         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
5468         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
5469         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
5470         <lgamma-compat.h>.
5471         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
5472         (__ieee754_gamma): Define as alias.
5473         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
5474         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
5475         <lgamma-compat.h>.
5476         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
5477         (__ieee754_gammaf): Define as alias.
5478         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
5479         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
5480         <lgamma-compat.h>.
5481         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
5482         (__ieee754_gammal): Define as alias.
5483         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
5484         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
5485         <math/w_lgamma_compat.c>.
5486         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
5487         Define as alias of __lgamma_compat and use in defining lgammal.
5488         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
5489         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
5490         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
5491         (USE_AS_COMPAT): New macro.
5492         (LGAMMA_OLD_VER): Undefine and redefine.
5493         (lgammal): Do not define here.
5494         (gammal): Only define here if [GAMMA_ALIAS].
5495         * conform/linknamespace.pl (@whitelist): Remove signgam.
5496         * sysdeps/nacl/libm.abilist: Update.
5497         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5498         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5499         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5500         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5501         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5502         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5503         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5504         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5505         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5506         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5507         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5508         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5510         Likewise.
5511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5512         Likewise.
5513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5514         Likewise.
5515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5516         Likewise.
5517         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5518         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5519         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5520         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5521         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5523         Likewise.
5524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5525         Likewise.
5526         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5527         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5528         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5530 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5532         [BZ #16364]
5533         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
5534         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
5536 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5538         * sysdeps/s390/fpu/bits/mathinline.h:
5539         Use __asm__ [__volatile__] instead of asm [volatile].
5540         * sysdeps/s390/abort-instr.h: Likewise.
5541         * sysdeps/s390/atomic-machine.h: Likewise.
5542         * sysdeps/s390/bits/string.h: Likewise.
5543         * sysdeps/s390/dl-tls.h: Likewise.
5544         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5545         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5546         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5547         * sysdeps/s390/fpu/fesetround.c: Likewise.
5548         * sysdeps/s390/fpu/fpu_control.h: Likewise.
5549         * sysdeps/s390/fpu/s_fma.c: Likewise.
5550         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
5551         * sysdeps/s390/memusage.h: Likewise.
5552         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
5553         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
5554         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
5555         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
5556         * sysdeps/s390/nptl/tls.h: Likewise.
5557         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
5558         * sysdeps/s390/s390-32/backtrace.c: Likewise.
5559         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5560         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
5561         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5562         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5563         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
5564         * sysdeps/s390/s390-64/backtrace.c: Likewise.
5565         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5566         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
5567         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
5568         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5569         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5570         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
5571         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
5572         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
5573         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
5574         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5575         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
5576         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5577         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
5578         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5579         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
5581 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5582             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5584         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
5585         Add lwarx hint, and use macro for acquire instruction.
5586         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5587         Likewise.
5588         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
5589         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
5590         update to use new atomic macros.
5592 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5594         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5595         (__lll_trylock_elision): Fix setting of adapt_count.
5596         * sysdeps/unix/sysv/linux/powerpc/htm.h
5597         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
5598         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
5599         (_ABORT_SYSCALL): Renumber, and clarify definition.
5600         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
5602 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5604         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
5605         after system headers to prevent MIN/MAX redefinition.  Define
5606         HAVE_ALLOCA to preserve builtin alloca usage.
5608 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
5610         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
5611         static and don't set or restore rounding.
5612         (__cos)[IN_SINCOS]: Likewise.
5613         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
5614         (__sincos): Set and restore rounding mode.  Remove check for infinite
5615         or NaN input.
5617         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
5619         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
5620         as used.
5622 2015-11-16  Florian Weimer  <fweimer@redhat.com>
5624         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
5626 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
5628         * config.make.in (have-glob-dat-reloc): New.
5629         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
5630         target supports GLOB_DAT relocaton. AC_SUBST.
5631         * configure: Regenerated.
5632         * elf/Makefile (tests): Add tst-prelink.
5633         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
5634         (tst-prelink-ENV): New.
5635         ($(objpfx)tst-prelink-conflict.out): Likewise.
5636         ($(objpfx)tst-prelink-cmp.out): Likewise.
5637         * sysdeps/x86/tst-prelink.c: Moved to ...
5638         * elf/tst-prelink.c: Here.
5639         * sysdeps/x86/tst-prelink.exp: Moved to ...
5640         * elf/tst-prelink.exp: Here.
5641         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
5642         (tst-prelink-ENV): Removed.
5643         ($(objpfx)tst-prelink-conflict.out): Likewise.
5644         ($(objpfx)tst-prelink-cmp.out): Likewise.
5645         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
5647 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
5649         [BZ #14551]
5650         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
5651         (__mpn_construct_long_double): If high part overflows to infinity,
5652         set errno and recompute overflowed result of the correct sign.
5653         * sysdeps/ieee754/ldbl-128ibm/Makefile
5654         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
5655         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
5656         $(libm).
5657         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
5659 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
5661         [BZ #15479]
5662         [BZ #19238]
5663         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
5664         floating-point state after first operation on input.  Restore full
5665         state rather than just rounding mode.
5666         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5667         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5668         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5670         [BZ #19235]
5671         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
5672         add 0.5 to integer arguments.
5673         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
5674         Likewise.
5675         (.LC2): New object.
5677 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
5679         * scripts/pylintrc (reports): Set to no.
5681 2015-11-10  Roland McGrath  <roland@hack.frob.com>
5683         * elf/dl-load.c (open_verify): Take new argument FD.
5684         Skip __open call if passed FD is not -1.
5685         (_dl_map_object, open_path): Update callers.
5686         * elf/dl-sysdep-open.h: New file.
5687         * elf/dl-load.c: Include it.
5688         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
5689         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
5690         * sysdeps/nacl/dl-sysdep-open.h: New file.
5691         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
5692         from libc to rtld.
5694 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
5696         [BZ #19228]
5697         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
5698         and restore full floating-point state.
5699         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5700         Likewise.
5701         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5702         Likewise.
5703         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5704         Likewise.
5705         * math/test-nearbyint-except-2.c: New file.
5706         * math/Makefile (tests): Add test-nearbyint-except-2.
5708 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
5710         [BZ #19178]
5711         * sysdeps/x86/Makefile (tests): Add tst-prelink.
5712         (tst-prelink-ENV): New.
5713         ($(objpfx)tst-prelink-conflict.out): Likewise.
5714         ($(objpfx)tst-prelink-cmp.out): Likewise.
5715         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
5716         * sysdeps/x86/tst-prelink.c: New file.
5717         * sysdeps/x86/tst-prelink.exp: Likewise.
5719 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
5721         * math/auto-libm-test-in: Add another test of pow.
5722         * math/auto-libm-test-out: Regenerated.
5723         * math/libm-test.inc (pow_test_data): Add another test.
5725 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5727         [BZ #19219]
5728         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
5729         weak_alias to nearbyintl.
5731 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5733         * sysdeps/aarch64/bits/string.h: New file.
5734         (_STRING_ARCH_unaligned): Define.
5736 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5738         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
5739         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5740         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5741         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
5742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
5744 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
5746         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
5747         for original name of the DSO.  Add it to the name list of the DSO
5748         if it is actually given.
5749         (_dl_map_object): Keep track of whether an audit module rewrote
5750         the file name.  If yes, pass the original name to
5751         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
5752         debugging is enabled, log the change of the file name.
5753         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
5754         _dl_map_object_from_fd.
5755         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
5756         * elf/tst-audit11.c: New file
5757         * elf/tst-auditmod11.c: New file.
5758         * elf/tst-audit11mod1.c: New file.
5759         * elf/tst-audit11mod2.c: New file.
5760         * elf/tst-audit11mod2.map: New file.
5761         * elf/tst-audit12.c: New file
5762         * elf/tst-auditmod12.c: New file.
5763         * elf/tst-audit12mod1.c: New file.
5764         * elf/tst-audit12mod2.c: New file.
5765         * elf/tst-audit12mod2.map: New file.
5766         * elf/tst-audit12mod3.c: New file.
5768 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5770         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
5771         Don't create weak aliases,
5772         because versioned symbols are created later.
5773         * sysdeps/s390/s390-32/setjmp.S
5774         (setjmp, _setjmp): Remove weak and rename to an unique name
5775         in SHARED case due to existing versioned symbols.
5776         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5777         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
5778         (getcontext): Create weak alias only in non SHARED case.
5779         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5781 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5783         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
5784         (__ASSUME_*_SYSCALL) Define new macros.
5785         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
5786         Remove socketcall syscalls.
5787         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
5788         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
5789         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
5790         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
5791         * sysdeps/unix/sysv/linux/send.c (__libc_send):
5792         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
5794 2015-11-09  Florian Weimer  <fweimer@redhat.com>
5796         [BZ #12926]
5797         Terminate process on invalid netlink response.
5798         * sysdeps/unix/sysv/linux/netlinkaccess.h
5799         (__netlink_assert_response): Declare.
5800         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
5801         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
5802         (sysdep_routines): Add netlink_assert_response.
5803         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
5804         __netlink_assert_response.
5805         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5806         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5807         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
5808         __netlink_assert_response.
5810 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5812         [BZ #19178]
5813         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
5814         (RTYPE_CLASS_PLT): Likewise.
5815         (RTYPE_CLASS_COPY): Likewise.
5816         (RTYPE_CLASS_TLS): Likewise.
5817         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
5818         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
5819         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
5820         DL_DEBUG_PRELINK.
5822 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
5824         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
5825         calls with argument -0.5.
5826         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
5828         * configure.ac (libc_cv_z_nodelete): Remove configure test.
5829         (libc_cv_z_nodlopen): Likewise.
5830         (libc_cv_z_initfirst): Likewise.
5831         * configure: Regenerated.
5833 2015-11-06  Florian Weimer  <fweimer@redhat.com>
5835         Simplify abilist format to be line-based.
5836         * scripts/abilist.awk: Collect descriptors in the descs variable.
5837         (emit): Write descs variable and sort it
5838         externally, with sort.
5839         * sysdeps/**/*.abilist: Convert to new format.
5841 2015-11-06  Mark Wielaard  <mjw@redhat.com>
5843         [BZ #11460]
5844         * io/Makefile (routines): Add fts64.
5845         (tests): Add tst-fts and tst-fts-lfs.
5846         (CFLAGS-fts64.c): New.
5847         * io/Versions (GLIBC_2.23): New.
5848         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
5849         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
5850         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
5851         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
5852         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
5853         (FTSENT64): Likewise.
5854         (fts64_children): Likewise.
5855         (fts64_close): Likewise.
5856         (fts64_open): Likewise.
5857         (fts64_read): Likewise.
5858         (fts64_set): Likewise.
5859         * io/fts64.c: New file.
5860         * io/tst-fts.c: New test.
5861         * io/tst-fts-lfs.c: Likewise.
5862         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
5863         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
5864         fts64_set.
5865         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5866         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5867         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5868         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5869         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5870         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5871         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5872         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5873         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5874         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5875         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5876         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5877         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5879         Likewise.
5880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5881         Likewise.
5882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5884         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5885         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5886         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5887         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5888         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5891         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5892         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5893         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5894         * sysdeps/wordsize-64/fts.c: New file.
5895         * sysdeps/wordsize-64/fts64.c: Likewise.
5896         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
5897         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
5898         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
5899         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
5901 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
5903         * math/libm-test.inc (NON_FINITE): New macro.
5904         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
5905         * math/gen-libm-test.pl (show_exceptions): Add argument
5906         $non_finite.
5907         (parse_args): Update call to show_exceptions.
5908         * math/test-math-finite.h: New file.
5909         * math/test-math-no-finite.h: Likewise.
5910         * math/test-double-finite.c: Likewise.
5911         * math/test-float-finite.c: Likewise.
5912         * math/test-ldouble-finite.c: Likewise.
5913         * math/test-double.c: Include "test-math-no-finite.h".
5914         * math/test-float.c: Include "test-math-no-finite.h".
5915         * math/test-ldouble.c: Include "test-math-no-finite.h".
5916         * math/test-math-inline.h (TEST_FINITE): New macro.
5917         * math/test-math-vector.h (TEST_FINITE): Likewise.
5918         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
5919         (libm-tests): Add test-float-finite and test-double-finite.
5920         ($(objpfx)test-float-finite.o): New dependency on
5921         $(objpfx)libm-test.stmp.
5922         ($(objpfx)test-double-finite.o): Likewise.
5923         ($(objpfx)test-ldouble-finite.o): Likewise.
5924         (libm-test-no-inline-cflags): New variable.
5925         (libm-test-finite-cflags): Likewise.
5926         (CFLAGS-test-float-finite.c): Likewise.
5927         (CFLAGS-test-double-finite.c): Likewise.
5928         (CFLAGS-test-ldouble-finite.c): Likewise.
5929         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
5930         (CFLAGS-test-double.c): Likewise.
5931         (CFLAGS-test-ldouble.c): Likewise.
5933 2015-11-05  Roland McGrath  <roland@hack.frob.com>
5935         * io/fcntl.c (__fcntl): Add ... to prototype.
5936         * misc/ioctl.c (__ioctl): Likewise.
5937         * misc/syscall.c (syscall): Likewise.
5939 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
5941         * scripts/list-fixed-bugs.py: New file.
5943         [BZ #19213]
5944         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
5945         returned for argument 1.
5946         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
5947         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
5948         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
5949         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
5950         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
5951         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
5953         [BZ #19211]
5954         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
5955         __USE_XOPEN], not if [!__USE_ISOC99].
5956         (lgammaf): Likewise.
5957         (lgammal): Likewise.
5958         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
5959         (gammaf): Likewise.
5960         (gammal): Likewise.
5961         * math/test-signgam-finite-c11.c: New file.
5962         * math/test-signgam-finite-c99.c: Likewise.
5963         * math/test-signgam-finite.c: Likewise.
5964         * math/Makefile (tests): Add test-signgam-finite,
5965         test-signgam-finite-c99 and test-signgam-finite-c11.
5966         (CFLAGS-test-signgam-finite.c): New variable.
5967         (CFLAGS-test-signgam-finite-c99.c): Likewise.
5968         (CFLAGS-test-signgam-finite-c11.c): Likewise.
5970         [BZ #19212]
5971         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
5972         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
5973         500].
5974         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
5975         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
5976         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
5977         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
5978         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
5979         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
5980         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
5981         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
5982         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
5983         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
5985         [BZ #19209]
5986         * math/bits/math-finite.h (ldexp): Remove declaration.
5987         (ldexpf): Likewise.
5988         (ldexpl): Likewise.
5990         [BZ #19205]
5991         * math/bits/math-finite.h (acosf): Condition declaration on
5992         [__USE_ISOC99].
5993         (acosl): Likewise.
5994         (acoshf): Likewise.
5995         (acoshl): Likewise.
5996         (asinf): Likewise.
5997         (asinl): Likewise.
5998         (atan2f): Likewise.
5999         (atan2l): Likewise.
6000         (atanhf): Likewise.
6001         (atanhl): Likewise.
6002         (coshf): Likewise.
6003         (coshl): Likewise.
6004         (expf): Likewise.
6005         (expl): Likewise.
6006         (fmodf): Likewise.
6007         (fmodl): Likewise.
6008         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
6009         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
6010         (j0l): Likewise.
6011         (y0f): Likewise.
6012         (y0l): Likewise.
6013         (j1f): Likewise.
6014         (j1l): Likewise.
6015         (y1f): Likewise.
6016         (y1l): Likewise.
6017         (jnf): Likewise.
6018         (jnl): Likewise.
6019         (ynf): Likewise.
6020         (ynl): Likewise.
6021         (lgammaf_r): Condition declaration on [__USE_ISOC99].
6022         (lgammal_r): Likewise.
6023         (__lgamma_r_finite): New declaration.
6024         (__lgammaf_r_finite): Likewise.
6025         (__lgammal_r_finite): Likewise.
6026         (lgamma): Use __lgamma_r_finite.
6027         (lgammaf): Condition definition on [__USE_ISOC99].  Use
6028         __lgammaf_r_finite.
6029         (lgammal): Condition definition on [__USE_ISOC99].  Use
6030         __lgammal_r_finite.
6031         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
6032         __lgamma_r_finite.
6033         (gammaf): Condition definition on [__USE_ISOC99].  Use
6034         __lgammaf_r_finite.
6035         (gammal): Condition definition on [__USE_ISOC99].  Use
6036         __lgammal_r_finite.
6037         (logf): Condition declaration on [__USE_ISOC99].
6038         (logl): Likewise.
6039         (log10f): Likewise.
6040         (log10l): Likewise.
6041         (ldexpf): Likewise.
6042         (ldexpl): Likewise.
6043         (powf): Likewise.
6044         (powl): Likewise.
6045         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
6046         __USE_ISOC99].
6047         (remainderf): Condition declaration on [__USE_ISOC99].
6048         (remainderl): Likewise.
6049         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
6050         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
6051         (scalbl): Likewise.
6052         (sinhf): Condition declaration on [__USE_ISOC99].
6053         (sinhl): Likewise.
6054         (sqrtf): Likewise.
6055         (sqrtl): Likewise.
6057 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6059         * sysdeps/arm/atomic-machine.h
6060         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6061         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6062         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
6063         Remove conditional code.
6064         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6065         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6066         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
6067         Change conditional to [__ASSEMBLER__].
6068         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6069         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
6070         [!__ASSEMBLER__].
6071         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
6072         code.
6073         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
6074         conditional macro definitions.
6075         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
6076         (__arch_compare_and_exchange_val_16_acq): Likewise.
6077         (__arch_compare_and_exchange_val_32_acq): Likewise.
6078         (atomic_exchange_and_add): Likewise.
6079         (atomic_add): Likewise.
6080         (atomic_add_negative): Likewise.
6081         (atomic_add_zero): Likewise.
6082         (atomic_bit_set): Likewise.
6083         (atomic_bit_test_set): Likewise.
6084         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
6085         code unconditional.
6086         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6088         * math/test-math-errno.h: New file.
6089         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
6090         empty.
6091         (TEST_ERRNO): New macro.
6092         (TEST_EXCEPTIONS): Likewise.
6093         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
6094         (TEST_EXCEPTIONS): Likewise.
6095         * math/test-math-vector.h (TEST_ERRNO): Likewise.
6096         * math/test-double.c: Include "test-math-errno.h".
6097         * math/test-float.c: Likewise.
6098         * math/test-ldouble.c: Likewise.
6099         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
6100         code unconditional.
6101         (test_exceptions): Only run code if TEST_EXCEPTIONS.
6102         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
6103         unconditional.
6104         (test_errno): Only run code if TEST_ERRNO.
6105         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
6107 2015-11-04  Florian Weimer  <fweimer@redhat.com>
6109         * nptl/tst-once5.cc: Remove attribution.
6111 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6113         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
6114         sqrt, tan, tanh, y0, y1 and yn.
6115         * math/auto-libm-test-out: Regenerated.
6116         * math/libm-test.inc (scalb_test_data): Add more tests.
6117         (scalbn_test_data): Likewise.
6118         (scalbln_test_data): Likewise.
6119         (signbit_test_data): Likewise.
6120         (sin_test_data): Likewise.
6121         (sincos_test_data): Likewise.
6122         (sinh_test_data): Likewise.
6123         (sqrt_test_data): Likewise.
6124         (tan_test_data): Likewise.
6125         (tanh_test_data): Likewise.
6126         (tgamma_test_data): Likewise.
6127         (y0_test_data): Likewise.
6128         (y1_test_data): Likewise.
6129         (yn_test_data): Likewise.
6130         (significand_test_data): Likewise.
6131         * sysdeps/i386/fpu/libm-test-ulps: Update.
6133 2015-11-03  David Kastrup  <dak@gnu.org>
6135         [BZ #18604]
6136         * assert/assert.h (assert): Don't macro-expand failed assertion
6137         expression in error message.
6138         * malloc/malloc.c (assert): Likewise.
6140 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
6142         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
6143         test.
6144         * configure: Regenerated.
6146 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
6148         * math/libm-test.inc (modf_test_data): Add more tests.
6149         (nearbyint_test_data): Likewise.
6150         (nextafter_test_data): Likewise.
6151         (nexttoward_test_data): Likewise.
6152         (pow_test_data): Likewise.
6153         (remainder_test_data): Likewise.
6154         (remquo_test_data): Likewise.
6155         (rint_test_data): Likewise.
6157         [BZ #19201]
6158         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6159         Check for zero remainder in case of large exponents and ensure
6160         correct sign of result in that case.
6161         * math/libm-test.inc (remainder_test_data): Add more tests.
6163         [BZ #6799]
6164         * math/s_nextafter.c: Include <errno.h>.
6165         (__nextafter): Set errno on overflow and underflow.
6166         * math/s_nexttowardf.c: Include <errno.h>.
6167         (__nexttowardf): Set errno on overflow and underflow.
6168         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
6169         (__nextafterl): Set errno on overflow and underflow.
6170         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
6171         (__nexttoward): Set errno on overflow and underflow.
6172         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
6173         (__nexttowardf): Set errno on overflow and underflow.
6174         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
6175         (__nextafterf): Set errno on overflow and underflow.
6176         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
6177         (__nextafterl): Set errno on overflow and underflow.
6178         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
6179         (__nexttoward): Set errno on overflow and underflow.
6180         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
6181         (__nexttowardf): Set errno on overflow and underflow.
6182         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
6183         (__nextafterl): Set errno on overflow and underflow.
6184         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
6185         (__nexttoward): Set errno on overflow and underflow.
6186         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
6187         (__nexttowardf): Set errno on overflow and underflow.
6188         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
6189         (__nexttoward): Set errno on overflow and underflow.
6190         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
6191         (__nexttowardf): Set errno on overflow and underflow.
6192         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
6193         (__nldbl_nexttowardf): Set errno on overflow and underflow.
6194         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
6195         (__nextafterl): Set errno on overflow and underflow.
6196         * math/libm-test.inc (nextafter_test_data): Do not allow errno
6197         setting to be missing on overflow.  Add more tests.
6198         (nexttoward_test_data): Likewise.
6200         * configure.ac (libc_cv_initfini_array): Remove configure test.
6201         * configure: Regenerated.
6203 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
6205         [BZ #19189]
6206         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
6207         non-finite argument handle arguments with negative sign.
6209         * math/libm-test.inc (j0_test_data): Do not test sign of zero
6210         result from infinite argument.
6211         (j1_test_data): Likewise.
6212         (jn_test_data): Likewise.
6213         (y0_test_data): Likewise.
6214         (y1_test_data): Likewise.
6215         (yn_test_data): Likewise.
6217         [BZ #16171]
6218         * math/w_remainder.c (drem): Define as weak alias of __remainder.
6219         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
6220         * math/w_remainderf.c (dremf): Define as weak alias of
6221         __remainderf.
6222         * math/w_remainderl.c (dreml): Define as weak alias of
6223         __remainderl.
6224         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
6225         __remainder.
6226         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
6227         __remainderf.
6228         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
6229         __remainderl.
6230         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
6231         weak alias of remainderl.
6232         * sysdeps/ieee754/ldbl-opt/w_remainder.c
6233         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
6234         alias of __remainder.
6235         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
6236         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
6237         strong alias of __remainderl.
6238         (dreml): Use long_double_symbol.
6239         * math/Makefile (libm-calls): Remove w_drem.
6240         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
6241         (CFLAGS-nldbl-drem.c): Remove variable.
6242         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
6243         * math/w_drem.c: Remove file.
6244         * math/w_dremf.c: Likewise.
6245         * math/w_dreml.c: Likewise.
6246         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
6247         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
6248         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
6250         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
6251         * sysdeps/i386/configure: Regenerated.
6252         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
6253         * sysdeps/x86_64/configure: Regenerated.
6255         * configure.ac (libc_cv_asm_protected_directive): Remove configure
6256         test.
6257         (libc_cv_visibility_attribute): Likewise.
6258         (libc_cv_protected_data): Test unconditionally.
6259         (libc_cv_broken_visibility_attribute): Remove configure test.
6260         (libc_cv_have_sdata_section): Test unconditionally.
6261         * configure: Regenerated.
6263         * include/libc-internal.h (libc_max_align_t): Remove typedef.
6264         * include/scratch_buffer.h: Include <stddef.h> instead of
6265         <libc-internal.h>.
6266         (struct scratch_buffer): Use max_align_t instead of
6267         libc_max_align_t.
6269 2015-10-29  Florian Weimer  <fweimer@redhat.com>
6271         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
6272         instead of extend_alloca.  Change control flow to avoid a goto.
6273         Remove assert which is trivially always true.
6275 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6277         [BZ #16068]
6278         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
6279         (FE_ALL_EXCEPT_X86): New macro.
6280         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
6281         FE_ALL_EXCEPT.  Ensure precision control is included in
6282         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
6283         handle "denormal operand exception" and clear FZ and DAZ bits.
6284         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
6285         (FE_ALL_EXCEPT_X86): New macro.
6286         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
6287         FE_ALL_EXCEPT.  Ensure precision control is included in
6288         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
6289         handle "denormal operand exception" and clear FZ and DAZ bits.
6290         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
6291         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
6292         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6293         test-fenv-x87 and test-fenv-sse-2.
6294         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
6296         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
6297         * math/test-double.h (BUILD_COMPLEX): New macro.
6298         * math/test-float.h (BUILD_COMPLEX): Likewise.
6299         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
6301         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
6302         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
6303         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
6304         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
6305         instead of DBL_DENORM_MIN in comment.
6306         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
6307         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
6308         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
6309         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
6310         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
6311         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
6313 2015-10-28  Florian Weimer  <fweimer@redhat.com>
6315         [BZ# 19048]
6316         * malloc/malloc.c (struct malloc_state): Update comment.  Add
6317         attached_threads member.
6318         (main_arena): Initialize attached_threads.
6319         * malloc/arena.c (list_lock): Update comment.
6320         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
6321         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
6322         (deattach_arena): New function.
6323         (_int_new_arena): Initialize arena reference count and deattach
6324         replaced arena.
6325         (get_free_list, reused_arena): Update reference count and deattach
6326         replaced arena.
6327         (arena_thread_freeres): Update arena reference count and only put
6328         unreferenced arenas on the free list.
6330 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6332         [BZ #19181]
6333         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
6334         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
6335         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
6336         * math/test-fenv-clear-main.c: New file.
6337         * math/test-fenv-clear.c: Likewise.
6338         * math/Makefile (tests): Add test-fenv-clear.
6339         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
6340         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6341         test-fenv-clear-sse.
6342         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
6344         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
6345         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
6346         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
6348 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6350         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
6351         static libc.
6353 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6355         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
6356         test.
6357         * sysdeps/i386/configure: Regenerated.
6358         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
6359         test.
6360         * sysdeps/x86_64/configure: Regenerated.
6361         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
6362         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6363         memset-avx2 unconditionally instead of conditionally on
6364         [$(config-cflags-avx2) = yes].
6365         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6366         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
6367         unconditional.
6368         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
6369         * sysdeps/x86_64/multiarch/memset_chk.S
6370         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
6371         to [IS_IN (libc) && SHARED].
6373 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6375         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
6376         configure test.
6377         * sysdeps/arm/configure: Regenerated.
6378         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
6379         Define variable if not already defined.
6381         [BZ #17404]
6382         * sysdeps/mips/atomic-machine.h
6383         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
6384         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
6385         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6387         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
6388         unconditional.
6389         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
6390         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6391         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
6392         unconditional.
6393         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6394         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
6395         unconditional.
6396         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6397         * stdlib/setenv.c
6398         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
6399         code unconditional.
6400         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
6401         Remove conditional code.
6402         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
6403         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
6404         unconditional.
6405         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6406         code.
6407         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
6408         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
6409         unconditional.
6410         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6411         code.
6412         * sysdeps/ieee754/ldbl-128/k_tanl.c
6413         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6414         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6415         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
6416         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6417         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6418         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
6419         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
6420         unconditional.
6421         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6422         code.
6423         * sysdeps/ieee754/ldbl-96/k_tanl.c
6424         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6425         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6427         * nptl/tst-initializers1-c11.c: New file.
6428         * nptl/tst-initializers1-gnu11.c: Likewise.
6429         * nptl/Makefile (tests): Add these new tests.
6430         (CFLAGS-tst-initializers1-c11.c): New variable.
6431         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
6433         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
6434         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
6435         instead of -std=gnu99.
6436         * configure.ac (systemtap): Test with -std=gnu11 instead of
6437         -std=gnu99.
6438         * configure: Regenerated.
6439         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
6440         in compilation command in comment.
6442         * sysdeps/nptl/configure.ac: Remove file.
6443         * sysdeps/nptl/configure: Remove generated file.
6444         * configure.ac (libc_cv_forced_unwind): Do not substitute.
6445         * configure: Regenerated.
6446         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
6447         * config.make.in (have-forced-unwind): Remove variable.
6448         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
6449         unconditional.
6450         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
6451         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
6452         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
6453         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
6454         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
6455         unconditional.
6457 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6459         [BZ #19174]
6460         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
6461         .skip_lock_out_of_tbegin_retries.
6462         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6463         (__lll_lock_elision): Likewise, and respect a value of
6464         try_tbegin <= 0.
6466 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6468         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
6469         statement.
6471 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6473         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
6474         variable.
6475         (test-xfail-ISO11/stdalign.h/conform): Likewise.
6476         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6478         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
6479         of -std=c1x -D_ISOC11_SOURCE.
6481         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
6482         * configure: Regenerated.
6483         * manual/install.texi (Tools for Compilation): Document
6484         requirement for GCC 4.7 or later.
6485         * INSTALL: Regenerated.
6487 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
6489         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
6490         on CNT to a conditional jump to 'puntdata'.
6492 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6494         * configure.ac (libc_cv_gcc___thread): Remove configure test.
6495         (libc_cv_gcc_tls_model_attr): Likewise.
6496         * configure: Regenerated.
6498         * configure.ac (libc_cv_need_minus_P): Remove configure test.
6499         * configure: Regenerated.
6500         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
6502 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
6504         * configure.ac (old_glibc_headers): Remove configure test.
6505         * configure: Regenerated.
6506         * config.make.in (old-glibc-headers): Remove variable.
6507         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
6508         (install): Remove dependency on remove-old-headers.
6509         (headers2_0): Remove variable.
6510         (remove-old-headers): Remove rule.
6512         * configure.ac (libc_cv_dot_text): Remove configure test.
6513         (libc_cv_asm_set_directive): Use .text instead of
6514         ${libc_cv_dot_text} in configure test.
6515         * configure: Regenerated.
6517 2015-10-26  Florian Weimer  <fweimer@redhat.com>
6519         [BZ #19168]
6520         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6522 2015-10-26  Florian Weimer  <fweimer@redhat.com>
6524         * configure.ac (CXX): Clear the variable if the C++ toolchain does
6525         not support static linking.
6526         * configure: Regenerate.
6528 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
6530         * math/libm-test.inc (check_float_internal): Do not special-case
6531         errors up to 0.5 ulp.
6533         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6534         log2.
6535         * math/auto-libm-test-out: Regenerated.
6536         * math/libm-test.inc (MAX_EXP): New macro.
6537         (ilogb_test_data): Add more tests.
6538         (isfinite_test_data): Likewise.
6539         (isgreater_test_data): Likewise.
6540         (isgreaterequal_test_data): Likewise.
6541         (isinf_test_data): Likewise.
6542         (isless_test_data): Likewise.
6543         (islessequal_test_data): Likewise.
6544         (islessgreater_test_data): Likewise.
6545         (isnan_test_data): Likewise.
6546         (isnormal_test_data): Likewise.
6547         (issignaling_test_data): Likewise.
6548         (isunordered_test_data): Likewise.
6549         (j0_test_data): Likewise.
6550         (j1_test_data): Likewise.
6551         (jn_test_data): Likewise.
6552         (lgamma_test_data): Likewise.
6553         (log_test_data): Likewise.
6554         (log10_test_data): Likewise.
6555         (log1p_test_data): Likewise.
6556         (log2_test_data): Likewise.
6557         (logb_test_data): Likewise.
6558         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6560         [BZ #18611]
6561         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
6562         avoid excess range and precision on underflow.
6563         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6564         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
6565         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6566         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
6567         underflow.
6568         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6569         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6570         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6571         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6572         * math/auto-libm-test-in: Do not allow missing errno setting for
6573         tests of j1 and jn.
6574         * math/auto-libm-test-out: Regenerated.
6576 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
6578         [BZ #15491]
6579         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
6580         floating-point environment instead of clearing all exceptions.
6581         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6582         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
6583         merging in "invalid" exceptions from frndint.
6584         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6585         * math/test-nearbyint-except.c: New file.
6586         * math/Makefile (tests): Add test-nearbyint-except.
6588 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
6590         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
6592         * sysdeps/tile/libm-test-ulps: Regenerated.
6594 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
6597         (__NR_sync_file_range2): Assume it is always defined.
6598         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
6599         (__NR_sync_file_range): Assume it is always defined.
6601 2015-10-22  Andreas Schwab  <schwab@suse.de>
6603         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
6604         INTERNAL_SYSCALL_ERRNO.
6605         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6606         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
6607         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6608         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
6609         Likewise.
6610         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6612 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6614         * io/tst-fcntl.c (fd): New static variable.
6615         (do_prepare): Open temporary file here....
6616         (do_test): ...not here.
6618         * io/ftwtest-sh: Also trap on exit to remove temporary files.
6620 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
6622         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
6623         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
6624         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6625         Moved before "#ifdef __ASSEMBLER__".
6627 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6629         [BZ #19156]
6630         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
6631         arguments very close to 0.
6633 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
6635         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
6636         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
6638 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
6640         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6641         New.  Defined for GCC 5 and above when not compiling for
6642         profiling.
6643         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
6645         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
6646         Renamed to ...
6647         (CFLAGS-epoll_pwait.o): This.
6648         (CFLAGS-mmap.c): Renamed to ...
6649         (CFLAGS-mmap.o): This.
6650         (CFLAGS-mmap64.c): Renamed to ...
6651         (CFLAGS-mmap64.o): This.
6652         (CFLAGS-epoll_pwait.os): New.
6653         (CFLAGS-mmap.os): Likewise.
6654         (CFLAGS-mmap64.os): Likewise.
6655         (CFLAGS-semtimedop.os): Likewise.
6656         (CFLAGS-semtimedop.c): Renamed to ...
6657         (CFLAGS-semtimedop.o): This.
6659 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6661         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
6662         warning message.
6664 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6666         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
6667         * Makefile ($(objpfx)c++-types-check.out): Filter out
6668         $(+gccwarn-c) instead of -Wstrict-prototypes.
6670         * io/fts.c (fts_open): Convert to prototype-style function
6671         definition.
6672         * malloc/mcheck.c (mcheck): Likewise.
6673         (mcheck_pedantic): Likewise.
6674         * posix/regexec.c (re_search_2_stub): Likewise.  Use
6675         internal_function.
6676         (re_search_internal): Likewise.
6677         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
6678         prototype-style function definition.
6679         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6680         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
6681         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
6682         (xdr_utmpptr): Likewise.
6683         (xdr_utmparr): Likewise.
6684         (xdr_utmpidle): Likewise.
6685         (xdr_utmpidleptr): Likewise.
6686         (xdr_utmpidlearr): Likewise.
6688         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
6689         log, log10 and log2.
6690         * math/auto-libm-test-out: Regenerated.
6691         * math/libm-test.inc (fmod_test_data): Add more tests.
6692         (fpclassify_test_data): Likewise.
6693         (frexp_test_data): Likewise.
6694         (hypot_test_data): Likewise.
6695         (ilogb_test_data): Likewise.
6697 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
6699         * debug/fortify_fail.c (__fortify_fail): Convert to
6700         prototype-style function definition.  Use internal_function.
6701         * libio/genops.c (save_for_backup): Convert to prototype-style
6702         function definition.
6703         * libio/wgenops.c (save_for_wbackup): Likewise.
6704         * login/grantpt.c (grantpt): Likewise.
6705         * login/ptsname.c (ptsname): Likewise.
6706         (__ptsname_r): Likewise.
6707         * login/unlockpt.c (unlockpt): Likewise.
6708         * mach/msgserver.c (__mach_msg_server): Likewise.
6709         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
6710         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
6711         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
6712         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
6713         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
6714         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
6715         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
6716         Likewise.
6717         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
6718         internal_function.
6719         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
6720         prototype-style function definition.
6721         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
6722         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
6723         (__pthread_create_2_0): Likewise.
6724         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
6725         * nptl/register-atfork.c (__register_atfork): Likewise.
6726         * posix/glob.c (glob): Likewise.
6727         * posix/regcomp.c (re_comp): Likewise.
6728         * posix/regexec.c (re_exec): Likewise.
6729         * stdlib/add_n.c [__STDC__]: Make code unconditional.
6730         [!__STDC__]: Remove conditional code.
6731         * stdlib/cmp.c [__STDC__]: Make code unconditional.
6732         [!__STDC__]: Remove conditional code.
6733         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
6734         [!__STDC__]: Remove conditional code.
6735         * stdlib/divrem.c [__STDC__]: Make code unconditional.
6736         [!__STDC__]: Remove conditional code.
6737         * stdlib/lshift.c [__STDC__]: Make code unconditional.
6738         [!__STDC__]: Remove conditional code.
6739         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
6740         [!__STDC__]: Remove conditional code.
6741         * stdlib/mul.c [__STDC__]: Make code unconditional.
6742         [!__STDC__]: Remove conditional code.
6743         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
6744         [!__STDC__]: Remove conditional code.
6745         * stdlib/rshift.c [__STDC__]: Make code unconditional.
6746         [!__STDC__]: Remove conditional code.
6747         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
6748         function definition.
6749         (STRTOF): Likewise.
6750         * stdlib/strtod_l.c (__STRTOF): Likewise.
6751         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
6752         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
6753         (__strtol_l): Likewise.
6754         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
6755         [!__STDC__]: Remove conditional code.
6756         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
6757         definition.
6758         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6759         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6760         type.
6761         (__strcasecmp): Convert to prototype-style function definition.
6762         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
6763         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6764         type.
6765         (__strncasecmp): Convert to prototype-style function definition.
6766         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
6767         * sunrpc/xdr.c (xdr_union): Likewise.
6768         * sunrpc/xdr_array.c (xdr_array): Likewise.
6769         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
6770         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
6771         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
6772         Likewise.
6773         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
6774         Likewise.
6775         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
6776         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6777         Likewise.
6778         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
6779         (LOCALE_PARAM_PROTO): Likewise.
6780         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
6781         argument type.
6782         (ut_argument_spec): Remove macro.
6783         (ut_argument_spec_iso): Rename to ut_argument_spec.
6784         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
6785         prototype-style function definition.
6786         (memcpy_uppcase): Likewise.
6787         (__strftime_internal): Likewise.
6788         (my_strftime): Likewise.
6789         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
6790         (LOCALE_PARAM_DECL): Likewise.
6791         [_LIBC] (LOCALE_PARAM): Include argument type.
6792         (__strptime_internal): Convert to prototype-style function
6793         definition.
6794         (strptime): Likewise.
6795         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6796         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6797         type.
6798         (__wcscasecmp): Convert to prototype-style function definition.
6799         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
6800         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6801         type.
6802         (__wcsncasecmp): Convert to prototype-style function definition.
6804         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
6805         function definition.
6806         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6807         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6808         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
6809         * elf/dl-minimal.c (_itoa): Likewise.
6810         * hurd/hurdmalloc.c (malloc): Likewise.
6811         (free): Likewise.
6812         (realloc): Likewise.
6813         * inet/inet6_option.c (inet6_option_space): Likewise.
6814         (inet6_option_init): Likewise.
6815         (inet6_option_append): Likewise.
6816         (inet6_option_alloc): Likewise.
6817         (inet6_option_next): Likewise.
6818         (inet6_option_find): Likewise.
6819         * io/ftw.c (FTW_NAME): Likewise.
6820         (NFTW_NAME): Likewise.
6821         (NFTW_NEW_NAME): Likewise.
6822         (NFTW_OLD_NAME): Likewise.
6823         * libio/iofwide.c (_IO_fwide): Likewise.
6824         * libio/strops.c (_IO_str_init_static_internal): Likewise.
6825         (_IO_str_init_static): Likewise.
6826         (_IO_str_init_readonly): Likewise.
6827         (_IO_str_overflow): Likewise.
6828         (_IO_str_underflow): Likewise.
6829         (_IO_str_count): Likewise.
6830         (_IO_str_seekoff): Likewise.
6831         (_IO_str_pbackfail): Likewise.
6832         (_IO_str_finish): Likewise.
6833         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
6834         (_IO_wstr_overflow): Likewise.
6835         (_IO_wstr_underflow): Likewise.
6836         (_IO_wstr_count): Likewise.
6837         (_IO_wstr_seekoff): Likewise.
6838         (_IO_wstr_pbackfail): Likewise.
6839         (_IO_wstr_finish): Likewise.
6840         * locale/programs/localedef.c (normalize_codeset): Likewise.
6841         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6842         (add_locales_to_archive): Likewise.
6843         (delete_locales_from_archive): Likewise.
6844         * malloc/malloc.c (__libc_mallinfo): Likewise.
6845         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
6846         * misc/tsearch.c (__tfind): Likewise.
6847         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
6848         * nptl/pthread_attr_getdetachstate.c
6849         (__pthread_attr_getdetachstate): Likewise.
6850         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
6851         Likewise.
6852         * nptl/pthread_attr_getinheritsched.c
6853         (__pthread_attr_getinheritsched): Likewise.
6854         * nptl/pthread_attr_getschedparam.c
6855         (__pthread_attr_getschedparam): Likewise.
6856         * nptl/pthread_attr_getschedpolicy.c
6857         (__pthread_attr_getschedpolicy): Likewise.
6858         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
6859         Likewise.
6860         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
6861         Likewise.
6862         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
6863         Likewise.
6864         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
6865         Likewise.
6866         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
6867         (__pthread_attr_init_2_0): Likewise.
6868         * nptl/pthread_attr_setdetachstate.c
6869         (__pthread_attr_setdetachstate): Likewise.
6870         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
6871         Likewise.
6872         * nptl/pthread_attr_setinheritsched.c
6873         (__pthread_attr_setinheritsched): Likewise.
6874         * nptl/pthread_attr_setschedparam.c
6875         (__pthread_attr_setschedparam): Likewise.
6876         * nptl/pthread_attr_setschedpolicy.c
6877         (__pthread_attr_setschedpolicy): Likewise.
6878         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
6879         Likewise.
6880         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
6881         Likewise.
6882         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
6883         Likewise.
6884         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
6885         Likewise.
6886         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
6887         Likewise.
6888         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
6889         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
6890         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
6891         use internal_function.
6892         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
6893         prototype-style function definition.
6894         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
6895         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
6896         internal_function.
6897         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
6898         Convert to prototype-style function definition.
6899         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6900         Likewise.
6901         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6902         Likewise.
6903         (__pthread_mutex_unlock): Likewise.
6904         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
6905         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
6906         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
6907         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
6908         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
6909         * nss/makedb.c (process_input): Likewise.
6910         * posix/fnmatch.c (__strchrnul): Likewise.
6911         (__wcschrnul): Likewise.
6912         (fnmatch): Likewise.
6913         * posix/fnmatch_loop.c (FCT): Likewise.
6914         * posix/glob.c (globfree): Likewise.
6915         (__glob_pattern_type): Likewise.
6916         (__glob_pattern_p): Likewise.
6917         * posix/regcomp.c (re_compile_pattern): Likewise.
6918         (re_set_syntax): Likewise.
6919         (re_compile_fastmap): Likewise.
6920         (regcomp): Likewise.
6921         (regerror): Likewise.
6922         (regfree): Likewise.
6923         * posix/regexec.c (regexec): Likewise.
6924         (re_match): Likewise.
6925         (re_search): Likewise.
6926         (re_match_2): Likewise.
6927         (re_search_2): Likewise.
6928         (re_search_stub): Likewise.  Use internal_function
6929         (re_copy_regs): Likewise.
6930         (re_set_registers): Convert to prototype-style function
6931         definition.
6932         (prune_impossible_nodes): Likewise.  Use internal_function.
6933         * resolv/inet_net_pton.c (inet_net_pton): Convert to
6934         prototype-style function definition.
6935         (inet_net_pton_ipv4): Likewise.
6936         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6937         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
6938         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
6939         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
6940         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6941         Make variadic.
6942         * time/strptime_l.c (localtime_r): Convert to prototype-style
6943         function definition.
6944         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6945         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6946         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6947         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6949         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
6950         definition.
6951         (_ufc_doit_r): Likewise.
6952         * crypt/crypt_util.c (_ufc_copymem): Likewise.
6953         (_ufc_output_conversion_r): Likewise.
6954         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
6955         * inet/rcmd.c (rcmd_af): Likewise.
6956         (rcmd): Likewise.
6957         (ruserok_af): Likewise.
6958         (ruserok): Likewise.
6959         (ruserok2_sa): Likewise.
6960         (ruserok_sa): Likewise.
6961         (iruserok_af): Likewise.
6962         (iruserok): Likewise.
6963         (__ivaliduser): Likewise.
6964         (__validuser2_sa): Likewise.
6965         * inet/rexec.c (rexec_af): Likewise.
6966         (rexec): Likewise.
6967         * inet/ruserpass.c (ruserpass): Likewise.
6968         * locale/programs/xmalloc.c (xcalloc): Likewise.
6969         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
6970         * math/w_drem.c (__drem): Likewise.
6971         * math/w_dremf.c (__dremf): Likewise.
6972         * math/w_dreml.c (__dreml): Likewise.
6973         * misc/daemon.c (daemon): Likewise.
6974         * resolv/res_debug.c (p_fqnname): Likewise.
6975         * stdlib/div.c (div): Likewise.
6976         * string/memcmp.c (memcmp_bytes): Likewise.
6977         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
6978         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
6980         * crypt/cert.c (main): Convert to prototype-style function
6981         definition.
6982         * io/pipe.c (__pipe): Likewise.
6983         * io/pipe2.c (__pipe2): Likewise.
6984         * misc/futimesat.c (futimesat): Likewise.
6985         * misc/utimes.c (__utimes): Likewise.
6986         * posix/execve.c (__execve): Likewise.
6987         * posix/execvp.c (execvp): Likewise.
6988         * posix/execvpe.c (__execvpe): Likewise.
6989         * posix/fexecve.c (fexecve): Likewise.
6990         * socket/socketpair.c (socketpair): Likewise.
6991         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6992         * stdlib/erand48.c (erand48): Likewise.
6993         * stdlib/erand48_r.c (__erand48_r): Likewise.
6994         * stdlib/jrand48.c (jrand48): Likewise.
6995         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
6996         * stdlib/lcong48.c (lcong48): Likewise.
6997         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
6998         * stdlib/nrand48.c (nrand48): Likewise.
6999         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
7000         * stdlib/seed48.c (seed48): Likewise.
7001         * stdlib/seed48_r.c (__seed48_r): Likewise.
7002         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
7003         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
7004         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
7006 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7008         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
7009         * configure: Regenerated.
7010         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
7011         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
7012         unconditional.
7013         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7014         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7015         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7016         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
7017         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
7018         unconditional.
7019         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7021         * posix/Makefile (CFLAGS-regex.c): Remove variable.
7022         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
7024         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
7025         function definition.
7026         * crypt/crypt_util.c (__encrypt_r): Likewise.
7027         * libio/genops.c (_IO_no_init): Likewise.
7028         * libio/iofopncook.c (_IO_fopencookie): Likewise.
7029         (_IO_old_fopencookie): Likewise.
7030         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7031         * libio/iogetline.c (_IO_getline): Likewise.
7032         (_IO_getline_info): Likewise.
7033         * libio/iogetwline.c (_IO_getwline): Likewise.
7034         (_IO_getwline_info): Likewise.
7035         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
7036         * libio/vswprintf.c (_IO_vswprintf): Likewise.
7037         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
7038         (find_entry): Likewise.
7039         (iterate_table): Likewise.
7040         (lookup): Likewise.
7041         * login/forkpty.c (forkpty): Likewise.
7042         * misc/hsearch_r.c (__hsearch_r): Likewise.
7043         * misc/select.c (__select): Likewise.
7044         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
7045         Likewise.
7046         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
7047         Likewise.
7048         * nptl/old_pthread_cond_timedwait.c
7049         (__pthread_cond_timedwait_2_0): Likewise.
7050         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
7051         * nptl/pthread_barrierattr_getpshared.c
7052         (pthread_barrierattr_getpshared): Likewise.
7053         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
7054         Likewise.
7055         * nptl/pthread_mutex_setprioceiling.c
7056         (pthread_mutex_setprioceiling): Likewise.
7057         * nptl/pthread_mutexattr_getprioceiling.c
7058         (pthread_mutexattr_getprioceiling): Likewise.
7059         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
7060         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7061         Likewise.
7062         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7063         Likewise.
7064         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
7065         Likewise.
7066         * socket/recvfrom.c (__recvfrom): Likewise.
7067         * socket/sendto.c (__sendto): Likewise.
7068         * socket/setsockopt.c (__setsockopt): Likewise.
7069         * stdio-common/_itoa.c (_itoa): Likewise.
7070         * stdio-common/_itowa.c (_itowa): Likewise.
7071         * stdio-common/reg-printf.c (__register_printf_specifier):
7072         Likewise.
7073         (__register_printf_function): Likewise.
7074         * stdio-common/tempname.c (__path_search): Likewise.
7075         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
7076         * stdlib/mul_1.c (mpn_mul_1): Likewise.
7077         * stdlib/random_r.c (__initstate_r): Likewise.
7078         * stdlib/setenv.c (__add_to_environ): Likewise.
7079         * stdlib/submul_1.c (mpn_submul_1): Likewise.
7080         * streams/getpmsg.c (getpmsg): Likewise.
7081         * streams/putmsg.c (putmsg): Likewise.
7082         * streams/putpmsg.c (putpmsg): Likewise.
7083         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
7084         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7085         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
7086         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
7087         * sunrpc/pm_getport.c (pmap_getport): Likewise.
7088         * sunrpc/svc_udp.c (cache_get): Likewise.
7089         * sunrpc/xdr_array.c (xdr_vector): Likewise.
7090         * sysdeps/mach/hurd/getcwd.c
7091         (__canonicalize_directory_name_internal): Likewise.
7092         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
7093         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
7094         * sysdeps/mach/hurd/select.c (__select): Likewise.
7095         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
7096         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
7097         * sysdeps/sparc/nptl/pthread_barrier_init.c
7098         (__pthread_barrier_init): Likewise.
7099         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
7100         (__pthread_cond_timedwait): Likewise.
7101         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
7102         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
7103         Likewise.
7104         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
7105         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
7106         Likewise.
7107         * sysvipc/semtimedop.c (semtimedop): Likewise.
7108         * time/setitimer.c (__setitimer): Likewise.
7109         * time/strftime_l.c (emacs_strftime): Likewise.
7111 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7113         * config.make.in (have-ssp): Delete.
7114         (stack-protector): New variable.
7115         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
7116         cache test for -fstack-protector-strong.  Export stack_protector to
7117         the best ssp flag.
7118         * configure: Regenerated.
7119         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
7120         * nscd/Makefile (CFLAGS-nscd): Likewise.
7121         * resolv/Makefile (CFLAGS-libresolv): Likewise.
7123 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
7125         [BZ #19122]
7126         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
7127         attribute_hidden.
7129 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7131         [BZ #18743]
7132         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
7133         code to...
7134         (ELIDE_LOCK): ...here.
7135         (__get_new_count): New function with part of the code from
7136         __elide_lock that updates the value of adapt_count after a
7137         transaction abort.
7138         (__elided_trylock): Moved this code to...
7139         (ELIDE_TRYLOCK): ...here.
7141 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7143         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
7144         * configure: Regenerate.
7145         * INSTALL: Regenerate.
7146         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
7147         and tweak grammar.
7149 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
7151         * login/programs/pt_chown.c: Include signal.h
7152         (main): Clear any signal mask from the parent process.
7154 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7156         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
7157         * configure: Regenerated.
7158         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
7159         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
7160         $(gnu89-inline-CFLAGS).
7162         * configure.ac (libc_cv_asm_weak_directive): Remove configure
7163         test.
7164         (libc_cv_asm_weakext_directive): Likewise.
7165         * configure: Regenerated.
7166         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
7167         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
7168         * include/libc-symbols.h
7169         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
7170         #error.
7171         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
7172         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
7174         * sysdeps/arm/backtrace.c (__backtrace): Convert to
7175         prototype-style function definition.
7176         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
7177         * sysdeps/i386/ffs.c (__ffs): Likewise.
7178         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7179         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
7180         Likewise.
7181         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7182         Likewise.
7183         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
7184         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7185         Likewise.
7186         * sysdeps/m68k/ffs.c (__ffs): Likewise.
7187         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
7188         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
7189         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
7190         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
7191         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
7192         * sysdeps/mach/hurd/access.c (__access): Likewise.
7193         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
7194         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
7195         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
7196         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
7197         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
7198         (cthread_getspecific): Likewise.
7199         (cthread_setspecific): Likewise.
7200         (__libc_getspecific): Likewise.
7201         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
7202         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
7203         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
7204         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
7205         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
7206         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
7207         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
7208         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
7209         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
7210         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
7211         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
7212         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
7213         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
7214         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
7215         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
7216         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
7217         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
7218         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
7219         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
7220         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
7221         * sysdeps/mach/hurd/link.c (__link): Likewise.
7222         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
7223         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
7224         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
7225         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
7226         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7227         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
7228         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
7229         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
7230         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7231         * sysdeps/mach/hurd/rename.c (rename): Likewise.
7232         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
7233         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
7234         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
7235         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
7236         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
7237         * sysdeps/mach/hurd/send.c (__send): Likewise.
7238         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
7239         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
7240         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
7241         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
7242         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
7243         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
7244         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
7245         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
7246         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
7247         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
7248         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
7249         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
7250         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
7251         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
7252         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
7253         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
7254         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
7255         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
7256         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
7257         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
7258         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
7259         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
7260         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
7261         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
7262         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
7263         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
7264         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
7265         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
7266         * sysdeps/posix/alarm.c (alarm): Likewise.
7267         * sysdeps/posix/cuserid.c (cuserid): Likewise.
7268         * sysdeps/posix/dirfd.c (dirfd): Likewise.
7269         * sysdeps/posix/dup.c (__dup): Likewise.
7270         * sysdeps/posix/dup2.c (__dup2): Likewise.
7271         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
7272         (main): Likewise.
7273         * sysdeps/posix/flock.c (__flock): Likewise.
7274         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
7275         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
7276         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
7277         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
7278         * sysdeps/posix/isatty.c (__isatty): Likewise.
7279         * sysdeps/posix/killpg.c (killpg): Likewise.
7280         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
7281         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
7282         * sysdeps/posix/raise.c (raise): Likewise.
7283         * sysdeps/posix/remove.c (remove): Likewise.
7284         * sysdeps/posix/rename.c (rename): Likewise.
7285         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
7286         * sysdeps/posix/seekdir.c (seekdir): Likewise.
7287         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
7288         * sysdeps/posix/sigignore.c (sigignore): Likewise.
7289         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
7290         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
7291         * sysdeps/posix/sigset.c (sigset): Likewise.
7292         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
7293         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7294         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
7295         * sysdeps/posix/time.c (time): Likewise.
7296         * sysdeps/posix/ttyname.c (getttyname): Likewise.
7297         (ttyname): Likewise.
7298         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
7299         * sysdeps/posix/utime.c (utime): Likewise.
7300         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
7301         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7302         Likewise.
7303         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
7304         (pthread_spin_trylock): Likewise.
7305         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
7306         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
7307         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
7308         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
7309         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
7310         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
7311         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
7312         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
7313         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
7314         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
7315         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
7316         * sysdeps/s390/ffs.c (__ffs): Likewise.
7317         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
7318         Likewise.
7319         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7320         Likewise.
7321         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
7322         Likewise.
7323         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
7324         (pthread_barrier_destroy): Likewise.
7325         * sysdeps/sparc/nptl/pthread_barrier_wait.c
7326         (__pthread_barrier_wait): Likewise.
7327         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
7328         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
7329         (__pthread_barrier_wait): Likewise.
7330         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
7331         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
7332         (memcmp_not_common_alignment): Likewise.
7333         (MEMCMP): Likewise.
7334         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
7335         (_wordcopy_fwd_dest_aligned): Likewise.
7336         (_wordcopy_bwd_aligned): Likewise.
7337         (_wordcopy_bwd_dest_aligned): Likewise.
7338         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
7339         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
7340         * sysdeps/unix/bsd/stty.c (stty): Likewise.
7341         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
7342         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
7343         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
7344         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
7345         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
7346         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
7347         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
7348         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
7349         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7350         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
7351         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
7352         * sysdeps/unix/stime.c (stime): Likewise.
7353         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
7354         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
7355         Likewise.  Use internal_function.
7356         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
7357         Convert to prototype-style function definition.
7358         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7359         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7360         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
7361         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7362         Likewise.  Use internal_function.
7363         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
7364         prototype-style function definition
7365         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7366         Likewise.
7367         (__getlogin_r): Likewise.
7368         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
7369         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
7370         (__pthread_cond_broadcast): Likewise.
7371         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
7372         (__pthread_cond_destroy): Likewise.
7373         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
7374         (__pthread_cond_init): Likewise.
7375         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
7376         (__pthread_cond_signal): Likewise.
7377         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
7378         (__pthread_cond_wait): Likewise.
7379         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
7380         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
7381         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
7382         Likewise.
7383         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
7384         Likewise.
7385         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
7386         Likewise.
7387         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
7388         Likewise.
7389         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
7390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
7391         (__ftruncate64): Likewise.
7392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
7393         (truncate64): Likewise.
7394         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
7395         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
7396         (pthread_getcpuclockid): Likewise.
7397         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
7398         Likewise.
7399         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
7400         Likewise.
7401         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
7402         Likewise.
7403         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
7404         Likewise.
7405         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
7406         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
7407         (__libc_sigaction): Likewise.
7408         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
7409         Likewise.
7410         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
7411         (__sigprocmask): Likewise.
7412         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
7413         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
7414         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
7415         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
7416         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7417         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
7418         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7419         Likewise.
7420         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
7421         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
7422         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7423         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
7424         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
7425         Likewise.
7426         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
7427         (__sigprocmask): Likewise.
7428         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
7429         (cfgetispeed): Likewise.
7430         (cfsetospeed): Likewise.
7431         (cfsetispeed): Likewise.
7432         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
7433         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
7434         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7435         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
7436         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
7437         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
7438         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
7439         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
7440         Likewise.
7441         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
7442         Likewise.
7443         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
7444         Likewise.
7445         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
7446         Likewise.
7447         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
7449 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7451         sunrpc: Rewrite with explicit TLS access using __thread.
7452         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
7453         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
7454         directly.
7455         (__rpc_thread_variables): Access thread_rpc_vars directly.
7456         Eliminate redundant assignment of the tvp variable.
7458 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7460         malloc: Rewrite with explicit TLS access using __thread.
7461         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
7462         (tsd_setspecific, tsd_getspecific): Remove.
7463         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
7464         (tsd_setspecific, tsd_getspecific): Likewise.
7465         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
7466         (tsd_setspecific, tsd_getspecific): Likewise.
7467         * malloc/arena.c (thread_arena): New TLS variable.
7468         (arena_key): Remove variable.
7469         (arena_get): Use thread_arena.
7470         (arena_lookup): Remove macro.
7471         (malloc_atfork, free_atfork, ptmalloc_lock_all)
7472         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
7473         (_int_new_arena, get_free_list, reused_arena)
7474         (arena_thread_freeres): Use thread_arena.
7475         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
7476         tsd_getspecific, tsd_setspecific from safety annotations.
7477         (Allocating Cleared Space): Remove arena_lookup from safety
7478         annotations.
7480 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7482         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
7483         struct scratch_buffer instead of extend_alloca.
7485 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7487         * sysdeps/unix/sysv/linux/kernel-features.h
7488         (__ASSUME_SOCK_CLOEXEC): Remove.
7489         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
7490         (__have_paccept): Remove unused macro.
7491         * include/unistd.h (__have_sock_cloexec): Remove declaration.
7492         * misc/syslog.c (openlog_internal): Remove fallback code for
7493         !__ASSUME_SOCK_CLOEXEC.
7494         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
7495         missing SOCK_CLOEXEC.
7496         * nscd/connections.c (have_sock_cloexec): Remove definition.
7497         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
7498         * nscd/nscd_helper.c (open_socket): Remove fallback code for
7499         !__ASSUME_SOCK_CLOEXEC.
7500         * resolv/res_send.c (__have_o_nonblock): Remove definition.
7501         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
7502         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
7503         definition.
7504         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
7505         code for !__ASSUME_SOCK_CLOEXEC.
7507 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7509         [BZ #18982]
7510         * manual/stdio.texi (Variable Arguments Output): Add portability
7511         note, explaining that vfprintf clobbers the va_list pointer.
7513 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
7515         * math/libm-test.inc (fabs_test_data): Add more tests.
7516         (fdim_test_data): Likewise.
7517         (fma_test_data): Likewise.
7518         (fmax_test_data): Likewise.
7519         (fmin_test_data): Likewise.
7520         (fmod_test_data): Likewise.
7522 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
7524         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
7525         data.
7527 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
7529         * math/libm-test.inc (ceil_test_data): Add more tests and more
7530         expectations for "inexact".
7531         (floor_test_data): Add more tests.
7532         (round_test_data): Likewise.
7533         (trunc_test_data): Likewise.
7535         * crypt/cert.c (good_bye): Convert to prototype-style function
7536         definition.
7537         (get8): Likewise.
7538         (put8): Likewise.
7539         * crypt/crypt-entry.c (crypt): Likewise.
7540         (__fcrypt): Likewise.
7541         * crypt/crypt_util.c (_ufc_prbits): Likewise.
7542         (_ufc_set_bits): Likewise.
7543         (_ufc_clearmem): Likewise.
7544         (__init_des_r): Likewise.
7545         (shuffle_sb): Likewise.
7546         (shuffle_sb): Likewise.
7547         (_ufc_setup_salt_r): Likewise.
7548         (_ufc_mk_keytab_r): Likewise.
7549         (_ufc_dofinalperm_r): Likewise.
7550         (encrypt): Likewise.
7551         (__setkey_r): Likewise.
7552         (setkey): Likewise.
7553         * crypt/md5.c (md5_init_ctx): Likewise.
7554         (md5_read_ctx): Likewise.
7555         (md5_finish_ctx): Likewise.
7556         (md5_stream): Likewise.
7557         (md5_buffer): Likewise.
7558         (md5_process_bytes): Likewise.
7559         * crypt/sha256.c (__sha256_init_ctx): Likewise.
7560         (__sha256_finish_ctx): Likewise.
7561         (__sha256_process_bytes): Likewise.
7562         * crypt/sha512.c (__sha512_init_ctx): Likewise.
7563         (__sha512_finish_ctx): Likewise.
7564         (__sha512_process_bytes): Likewise.
7565         * ctype/isctype.c (__isctype): Likewise.
7566         * debug/backtrace.c (__backtrace): Likewise.
7567         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
7568         * debug/fgets_chk.c (__fgets_chk): Likewise.
7569         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
7570         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
7571         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7572         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7573         * debug/memset_chk.c (__memset_chk): Likewise.
7574         * debug/strcat_chk.c (__strcat_chk): Likewise.
7575         * debug/strncat_chk.c (__strncat_chk): Likewise.
7576         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
7577         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
7578         * dirent/dirfd.c (dirfd): Likewise.
7579         * dirent/getdents.c (__getdirentries): Likewise.
7580         * dirent/getdents64.c (getdirentries64): Likewise.
7581         * dirent/rewinddir.c (__rewinddir): Likewise.
7582         * dirent/seekdir.c (seekdir): Likewise.
7583         * dirent/telldir.c (telldir): Likewise.
7584         * elf/sln.c (makesymlinks): Likewise.
7585         (makesymlink): Likewise.
7586         * gmon/gmon.c (__moncontrol): Likewise.
7587         (__monstartup): Likewise.
7588         (write_hist): Likewise.
7589         (write_call_graph): Likewise.
7590         (write_bb_counts): Likewise.
7591         * grp/setgroups.c (setgroups): Likewise.
7592         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7593         * inet/inet_net.c (inet_network): Likewise.
7594         * inet/inet_netof.c (inet_netof): Likewise.
7595         * inet/rcmd.c (rresvport_af): Likewise.
7596         (rresvport): Likewise.
7597         * io/access.c (__access): Likewise.
7598         * io/chdir.c (__chdir): Likewise.
7599         * io/chmod.c (__chmod): Likewise.
7600         * io/chown.c (__chown): Likewise.
7601         * io/close.c (__close): Likewise.
7602         * io/creat.c (creat): Likewise.
7603         * io/creat64.c (creat64): Likewise.
7604         * io/dup.c (__dup): Likewise.
7605         * io/dup2.c (__dup2): Likewise.
7606         * io/dup3.c (__dup3): Likewise.
7607         * io/euidaccess.c (__euidaccess): Likewise.
7608         * io/faccessat.c (faccessat): Likewise.
7609         * io/fchmod.c (__fchmod): Likewise.
7610         * io/fchmodat.c (fchmodat): Likewise.
7611         * io/fchown.c (__fchown): Likewise.
7612         * io/fchownat.c (fchownat): Likewise.
7613         * io/fcntl.c (__fcntl): Likewise.
7614         * io/flock.c (__flock): Likewise.
7615         * io/fts.c (fts_load): Likewise.
7616         (fts_close): Likewise.
7617         (fts_read): Likewise.
7618         (fts_set): Likewise.
7619         (fts_children): Likewise.
7620         (fts_build): Likewise.
7621         (fts_stat): Likewise.
7622         (fts_sort): Likewise.
7623         (fts_alloc): Likewise.
7624         (fts_lfree): Likewise.
7625         (fts_palloc): Likewise.
7626         (fts_padjust): Likewise.
7627         (fts_maxarglen): Likewise.
7628         (fts_safe_changedir): Likewise.
7629         * io/getwd.c (getwd): Likewise.
7630         * io/isatty.c (__isatty): Likewise.
7631         * io/lchown.c (__lchown): Likewise.
7632         * io/link.c (__link): Likewise.
7633         * io/linkat.c (linkat): Likewise.
7634         * io/lseek.c (__libc_lseek): Likewise.
7635         * io/mkdir.c (__mkdir): Likewise.
7636         * io/mkdirat.c (mkdirat): Likewise.
7637         * io/mkfifo.c (mkfifo): Likewise.
7638         * io/mkfifoat.c (mkfifoat): Likewise.
7639         * io/open.c (__libc_open): Likewise.
7640         * io/open64.c (__libc_open64): Likewise.
7641         * io/readlink.c (__readlink): Likewise.
7642         * io/readlinkat.c (readlinkat): Likewise.
7643         * io/rmdir.c (__rmdir): Likewise.
7644         * io/symlink.c (__symlink): Likewise.
7645         * io/symlinkat.c (symlinkat): Likewise.
7646         * io/ttyname.c (ttyname): Likewise.
7647         * io/ttyname_r.c (__ttyname_r): Likewise.
7648         * io/umask.c (__umask): Likewise.
7649         * io/unlink.c (__unlink): Likewise.
7650         * io/unlinkat.c (unlinkat): Likewise.
7651         * io/utime.c (utime): Likewise.
7652         * libio/clearerr.c (clearerr): Likewise.
7653         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
7654         * libio/feof.c (_IO_feof): Likewise.
7655         * libio/feof_u.c (feof_unlocked): Likewise.
7656         * libio/ferror.c (_IO_ferror): Likewise.
7657         * libio/ferror_u.c (ferror_unlocked): Likewise.
7658         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7659         * libio/fileno.c (__fileno): Likewise.
7660         * libio/fputc.c (fputc): Likewise.
7661         * libio/fputc_u.c (fputc_unlocked): Likewise.
7662         * libio/fputwc.c (fputwc): Likewise.
7663         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
7664         * libio/freopen.c (freopen): Likewise.
7665         * libio/freopen64.c (freopen64): Likewise.
7666         * libio/fseek.c (fseek): Likewise.
7667         * libio/fseeko.c (fseeko): Likewise.
7668         * libio/fseeko64.c (fseeko64): Likewise.
7669         * libio/ftello.c (__ftello): Likewise.
7670         * libio/ftello64.c (ftello64): Likewise.
7671         * libio/fwide.c (fwide): Likewise.
7672         * libio/genops.c (_IO_un_link): Likewise.
7673         (_IO_link_in): Likewise.
7674         (_IO_least_marker): Likewise.
7675         (_IO_switch_to_main_get_area): Likewise.
7676         (_IO_switch_to_backup_area): Likewise.
7677         (_IO_switch_to_get_mode): Likewise.
7678         (_IO_free_backup_area): Likewise.
7679         (_IO_switch_to_put_mode): Likewise.
7680         (__overflow): Likewise.
7681         (__underflow): Likewise.
7682         (__uflow): Likewise.
7683         (_IO_setb): Likewise.
7684         (_IO_doallocbuf): Likewise.
7685         (_IO_default_underflow): Likewise.
7686         (_IO_default_uflow): Likewise.
7687         (_IO_default_xsputn): Likewise.
7688         (_IO_sgetn): Likewise.
7689         (_IO_default_xsgetn): Likewise.
7690         (_IO_sync): Likewise.
7691         (_IO_default_setbuf): Likewise.
7692         (_IO_default_seekpos): Likewise.
7693         (_IO_default_doallocate): Likewise.
7694         (_IO_init): Likewise.
7695         (_IO_old_init): Likewise.
7696         (_IO_default_sync): Likewise.
7697         (_IO_default_finish): Likewise.
7698         (_IO_default_seekoff): Likewise.
7699         (_IO_sputbackc): Likewise.
7700         (_IO_sungetc): Likewise.
7701         (_IO_set_column): Likewise.
7702         (_IO_set_column): Likewise.
7703         (_IO_adjust_column): Likewise.
7704         (_IO_get_column): Likewise.
7705         (_IO_init_marker): Likewise.
7706         (_IO_remove_marker): Likewise.
7707         (_IO_marker_difference): Likewise.
7708         (_IO_marker_delta): Likewise.
7709         (_IO_seekmark): Likewise.
7710         (_IO_unsave_markers): Likewise.
7711         (_IO_nobackup_pbackfail): Likewise.
7712         (_IO_default_pbackfail): Likewise.
7713         (_IO_default_seek): Likewise.
7714         (_IO_default_stat): Likewise.
7715         (_IO_default_read): Likewise.
7716         (_IO_default_write): Likewise.
7717         (_IO_default_showmanyc): Likewise.
7718         (_IO_default_imbue): Likewise.
7719         (_IO_iter_next): Likewise.
7720         (_IO_iter_file): Likewise.
7721         * libio/getc.c (_IO_getc): Likewise.
7722         * libio/getwc.c (_IO_getwc): Likewise.
7723         * libio/iofclose.c (_IO_new_fclose): Likewise.
7724         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
7725         * libio/iofflush.c (_IO_fflush): Likewise.
7726         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
7727         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
7728         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
7729         * libio/iofgets.c (_IO_fgets): Likewise.
7730         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
7731         * libio/iofgetws.c (fgetws): Likewise.
7732         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7733         * libio/iofopen64.c (_IO_fopen64): Likewise.
7734         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7735         (_IO_cookie_write): Likewise.
7736         (_IO_cookie_seek): Likewise.
7737         (_IO_cookie_close): Likewise.
7738         (_IO_cookie_seekoff): Likewise.
7739         (_IO_old_cookie_seek): Likewise.
7740         * libio/iofputs.c (_IO_fputs): Likewise.
7741         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
7742         * libio/iofputws.c (fputws): Likewise.
7743         * libio/iofputws_u.c (fputws_unlocked): Likewise.
7744         * libio/iofread.c (_IO_fread): Likewise.
7745         * libio/iofread_u.c (__fread_unlocked): Likewise.
7746         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
7747         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
7748         * libio/ioftell.c (_IO_ftell): Likewise.
7749         * libio/iofwrite.c (_IO_fwrite): Likewise.
7750         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7751         * libio/iogets.c (_IO_gets): Likewise.
7752         * libio/iopadn.c (_IO_padn): Likewise.
7753         * libio/iopopen.c (_IO_new_proc_open): Likewise.
7754         (_IO_new_popen): Likewise.
7755         (_IO_new_proc_close): Likewise.
7756         * libio/ioputs.c (_IO_puts): Likewise.
7757         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
7758         (_IO_seekoff): Likewise.
7759         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
7760         (_IO_seekpos): Likewise.
7761         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
7762         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
7763         * libio/ioungetc.c (_IO_ungetc): Likewise.
7764         * libio/ioungetwc.c (ungetwc): Likewise.
7765         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
7766         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
7767         * libio/iowpadn.c (_IO_wpadn): Likewise.
7768         * libio/libc_fatal.c (__libc_fatal): Likewise.
7769         * libio/memstream.c (__open_memstream): Likewise.
7770         (_IO_mem_sync): Likewise.
7771         (_IO_mem_finish): Likewise.
7772         * libio/oldfileops.c (_IO_old_file_init): Likewise.
7773         (_IO_old_file_close_it): Likewise.
7774         (_IO_old_file_finish): Likewise.
7775         (_IO_old_file_fopen): Likewise.
7776         (_IO_old_file_attach): Likewise.
7777         (_IO_old_file_setbuf): Likewise.
7778         (_IO_old_do_write): Likewise.
7779         (old_do_write): Likewise.
7780         (_IO_old_file_underflow): Likewise.
7781         (_IO_old_file_overflow): Likewise.
7782         (_IO_old_file_sync): Likewise.
7783         (_IO_old_file_seekoff): Likewise.
7784         (_IO_old_file_write): Likewise.
7785         (_IO_old_file_xsputn): Likewise.
7786         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
7787         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7788         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
7789         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
7790         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7791         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
7792         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
7793         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
7794         (_IO_old_popen): Likewise.
7795         (_IO_old_proc_close): Likewise.
7796         * libio/oldpclose.c (__old_pclose): Likewise.
7797         * libio/pclose.c (__new_pclose): Likewise.
7798         * libio/peekc.c (_IO_peekc_locked): Likewise.
7799         * libio/putc.c (_IO_putc): Likewise.
7800         * libio/putc_u.c (putc_unlocked): Likewise.
7801         * libio/putchar.c (putchar): Likewise.
7802         * libio/putchar_u.c (putchar_unlocked): Likewise.
7803         * libio/putwc.c (putwc): Likewise.
7804         * libio/putwc_u.c (putwc_unlocked): Likewise.
7805         * libio/putwchar.c (putwchar): Likewise.
7806         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
7807         * libio/rewind.c (rewind): Likewise.
7808         * libio/setbuf.c (setbuf): Likewise.
7809         * libio/setlinebuf.c (setlinebuf): Likewise.
7810         * libio/vasprintf.c (_IO_vasprintf): Likewise.
7811         * libio/vscanf.c (_IO_vscanf): Likewise.
7812         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
7813         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
7814         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
7815         * libio/wgenops.c (_IO_least_wmarker): Likewise.
7816         (_IO_switch_to_main_wget_area): Likewise.
7817         (_IO_switch_to_wbackup_area): Likewise.
7818         (_IO_wsetb): Likewise.
7819         (_IO_wdefault_pbackfail): Likewise.
7820         (_IO_wdefault_finish): Likewise.
7821         (_IO_wdefault_uflow): Likewise.
7822         (__woverflow): Likewise.
7823         (__wuflow): Likewise.
7824         (__wunderflow): Likewise.
7825         (_IO_wdefault_xsputn): Likewise.
7826         (_IO_wdefault_xsgetn): Likewise.
7827         (_IO_wdoallocbuf): Likewise.
7828         (_IO_wdefault_doallocate): Likewise.
7829         (_IO_switch_to_wget_mode): Likewise.
7830         (_IO_free_wbackup_area): Likewise.
7831         (_IO_switch_to_wput_mode): Likewise.
7832         (_IO_sputbackwc): Likewise.
7833         (_IO_sungetwc): Likewise.
7834         (_IO_adjust_wcolumn): Likewise.
7835         (_IO_init_wmarker): Likewise.
7836         (_IO_wmarker_delta): Likewise.
7837         (_IO_seekwmark): Likewise.
7838         (_IO_unsave_wmarkers): Likewise.
7839         * libio/wmemstream.c (open_wmemstream): Likewise.
7840         (_IO_wmem_sync): Likewise.
7841         (_IO_wmem_finish): Likewise.
7842         * locale/nl_langinfo.c (nl_langinfo): Likewise.
7843         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
7844         * locale/programs/simple-hash.c (init_hash): Likewise.
7845         (delete_hash): Likewise.
7846         (insert_entry): Likewise.
7847         (set_entry): Likewise.
7848         (next_prime): Likewise.
7849         (is_prime): Likewise.
7850         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
7851         (xmalloc): Likewise.
7852         (xrealloc): Likewise.
7853         * locale/programs/xstrdup.c (xstrdup): Likewise.
7854         * localedata/collate-test.c (xstrcoll): Likewise.
7855         * localedata/xfrm-test.c (xstrcmp): Likewise.
7856         * login/getlogin_r.c (__getlogin_r): Likewise.
7857         * login/getpt.c (__posix_openpt): Likewise.
7858         * login/login_tty.c (login_tty): Likewise.
7859         * login/setlogin.c (setlogin): Likewise.
7860         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
7861         (mach_msg_destroy_port): Likewise.
7862         (mach_msg_destroy_memory): Likewise.
7863         * malloc/mcheck.c (flood): Likewise.
7864         * misc/acct.c (acct): Likewise.
7865         * misc/brk.c (__brk): Likewise.
7866         * misc/chflags.c (chflags): Likewise.
7867         * misc/chroot.c (chroot): Likewise.
7868         * misc/fchflags.c (fchflags): Likewise.
7869         * misc/fstab.c (getfsspec): Likewise.
7870         (getfsfile): Likewise.
7871         * misc/fsync.c (fsync): Likewise.
7872         * misc/ftruncate.c (__ftruncate): Likewise.
7873         * misc/ftruncate64.c (__ftruncate64): Likewise.
7874         * misc/getdomain.c (getdomainname): Likewise.
7875         (getdomainname): Likewise.
7876         * misc/gethostname.c (__gethostname): Likewise.
7877         * misc/getpass.c (getpass): Likewise.
7878         * misc/getttyent.c (skip): Likewise.
7879         (value): Likewise.
7880         * misc/gtty.c (gtty): Likewise.
7881         * misc/hsearch.c (hsearch): Likewise.
7882         (hcreate): Likewise.
7883         * misc/hsearch_r.c (__hcreate_r): Likewise.
7884         (__hdestroy_r): Likewise.
7885         * misc/ioctl.c (__ioctl): Likewise.
7886         * misc/mkdtemp.c (mkdtemp): Likewise.
7887         * misc/mkostemp.c (mkostemp): Likewise.
7888         * misc/mkostemp64.c (mkostemp64): Likewise.
7889         * misc/mkostemps.c (mkostemps): Likewise.
7890         * misc/mkostemps64.c (mkostemps64): Likewise.
7891         * misc/mkstemp.c (mkstemp): Likewise.
7892         * misc/mkstemp64.c (mkstemp64): Likewise.
7893         * misc/mkstemps.c (mkstemps): Likewise.
7894         * misc/mkstemps64.c (mkstemps64): Likewise.
7895         * misc/mktemp.c (__mktemp): Likewise.
7896         * misc/preadv.c (preadv): Likewise.
7897         * misc/preadv64.c (preadv64): Likewise.
7898         * misc/pwritev.c (pwritev): Likewise.
7899         * misc/pwritev64.c (pwritev64): Likewise.
7900         * misc/readv.c (__readv): Likewise.
7901         * misc/revoke.c (revoke): Likewise.
7902         * misc/setdomain.c (setdomainname): Likewise.
7903         * misc/setegid.c (setegid): Likewise.
7904         * misc/seteuid.c (seteuid): Likewise.
7905         * misc/sethostid.c (sethostid): Likewise.
7906         * misc/sethostname.c (sethostname): Likewise.
7907         * misc/setregid.c (__setregid): Likewise.
7908         * misc/setreuid.c (__setreuid): Likewise.
7909         * misc/sstk.c (sstk): Likewise.
7910         * misc/stty.c (stty): Likewise.
7911         * misc/syscall.c (syscall): Likewise.
7912         * misc/syslog.c (setlogmask): Likewise.
7913         * misc/truncate.c (__truncate): Likewise.
7914         * misc/truncate64.c (truncate64): Likewise.
7915         * misc/ualarm.c (ualarm): Likewise.
7916         * misc/usleep.c (usleep): Likewise.
7917         * misc/ustat.c (ustat): Likewise.
7918         * misc/writev.c (__writev): Likewise.
7919         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
7920         * nptl/old_pthread_cond_broadcast.c
7921         (__pthread_cond_broadcast_2_0): Likewise.
7922         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
7923         Likewise.
7924         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
7925         Likewise.
7926         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
7927         Likewise.
7928         * nptl/pt-raise.c (raise): Likewise.
7929         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
7930         Likewise.
7931         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
7932         * nptl/pthread_barrierattr_destroy.c
7933         (pthread_barrierattr_destroy): Likewise.
7934         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
7935         Likewise.
7936         * nptl/pthread_barrierattr_setpshared.c
7937         (pthread_barrierattr_setpshared): Likewise.
7938         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7939         Likewise.
7940         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
7941         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
7942         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
7943         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
7944         Likewise.
7945         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
7946         Likewise.
7947         * nptl/pthread_condattr_getpshared.c
7948         (pthread_condattr_getpshared): Likewise.
7949         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
7950         Likewise.
7951         * nptl/pthread_condattr_setpshared.c
7952         (pthread_condattr_setpshared): Likewise.
7953         * nptl/pthread_detach.c (pthread_detach): Likewise.
7954         * nptl/pthread_equal.c (__pthread_equal): Likewise.
7955         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
7956         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
7957         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
7958         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
7959         Likewise.
7960         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7961         Likewise.
7962         * nptl/pthread_mutex_getprioceiling.c
7963         (pthread_mutex_getprioceiling): Likewise.
7964         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
7965         Likewise.
7966         * nptl/pthread_mutexattr_getprotocol.c
7967         (pthread_mutexattr_getprotocol): Likewise.
7968         * nptl/pthread_mutexattr_getpshared.c
7969         (pthread_mutexattr_getpshared): Likewise.
7970         * nptl/pthread_mutexattr_getrobust.c
7971         (pthread_mutexattr_getrobust): Likewise.
7972         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7973         Likewise.
7974         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
7975         Likewise.
7976         * nptl/pthread_mutexattr_setprioceiling.c
7977         (pthread_mutexattr_setprioceiling): Likewise.
7978         * nptl/pthread_mutexattr_setprotocol.c
7979         (pthread_mutexattr_setprotocol): Likewise.
7980         * nptl/pthread_mutexattr_setpshared.c
7981         (pthread_mutexattr_setpshared): Likewise.
7982         * nptl/pthread_mutexattr_setrobust.c
7983         (pthread_mutexattr_setrobust): Likewise.
7984         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
7985         Likewise.
7986         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
7987         Likewise.
7988         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
7989         Likewise.
7990         * nptl/pthread_rwlockattr_getkind_np.c
7991         (pthread_rwlockattr_getkind_np): Likewise.
7992         * nptl/pthread_rwlockattr_getpshared.c
7993         (pthread_rwlockattr_getpshared): Likewise.
7994         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
7995         Likewise.
7996         * nptl/pthread_rwlockattr_setkind_np.c
7997         (pthread_rwlockattr_setkind_np): Likewise.
7998         * nptl/pthread_rwlockattr_setpshared.c
7999         (pthread_rwlockattr_setpshared): Likewise.
8000         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
8001         Likewise.
8002         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
8003         Likewise.
8004         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
8005         Likewise.
8006         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
8007         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
8008         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
8009         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
8010         * nptl/sem_close.c (sem_close): Likewise.
8011         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
8012         * nptl/sem_init.c (__old_sem_init): Likewise.
8013         * nptl/sigaction.c (__sigaction): Likewise.
8014         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
8015         * posix/_exit.c (_exit): Likewise.
8016         * posix/alarm.c (alarm): Likewise.
8017         * posix/confstr.c (confstr): Likewise.
8018         * posix/fpathconf.c (__fpathconf): Likewise.
8019         * posix/getgroups.c (__getgroups): Likewise.
8020         * posix/getpgid.c (__getpgid): Likewise.
8021         * posix/group_member.c (__group_member): Likewise.
8022         * posix/pathconf.c (__pathconf): Likewise.
8023         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
8024         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
8025         * posix/setgid.c (__setgid): Likewise.
8026         * posix/setpgid.c (__setpgid): Likewise.
8027         * posix/setuid.c (__setuid): Likewise.
8028         * posix/sleep.c (__sleep): Likewise.
8029         * posix/sysconf.c (__sysconf): Likewise.
8030         * posix/times.c (__times): Likewise.
8031         * posix/uname.c (__uname): Likewise.
8032         * posix/waitid.c (__waitid): Likewise.
8033         * pwd/getpw.c (__getpw): Likewise.
8034         * resolv/base64.c (b64_pton): Likewise.
8035         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
8036         * resolv/gethnamaddr.c (Dprintf): Likewise.
8037         (gethostbyname): Likewise.
8038         (gethostbyname2): Likewise.
8039         (gethostbyaddr): Likewise.
8040         (_sethtent): Likewise.
8041         (_gethtbyname): Likewise.
8042         (_gethtbyname2): Likewise.
8043         (_gethtbyaddr): Likewise.
8044         (map_v4v6_address): Likewise.
8045         (map_v4v6_hostent): Likewise.
8046         (addrsort): Likewise.
8047         (ht_sethostent): Likewise.
8048         (ht_gethostbyname): Likewise.
8049         (ht_gethostbyaddr): Likewise.
8050         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
8051         (inet_net_ntop_ipv4): Likewise.
8052         * resolv/inet_neta.c (inet_neta): Likewise.
8053         * resolv/inet_ntop.c (inet_ntop): Likewise.
8054         (inet_ntop4): Likewise.
8055         (inet_ntop6): Likewise.
8056         * resolv/inet_pton.c (__inet_pton): Likewise.
8057         (inet_pton4): Likewise.
8058         (inet_pton6): Likewise.
8059         * resolv/res_debug.c (loc_aton): Likewise.
8060         (loc_ntoa): Likewise.
8061         * resource/getpriority.c (__getpriority): Likewise.
8062         * resource/getrusage.c (__getrusage): Likewise.
8063         * resource/nice.c (nice): Likewise.
8064         * resource/setpriority.c (__setpriority): Likewise.
8065         * resource/setrlimit64.c (setrlimit64): Likewise.
8066         * resource/vlimit.c (vlimit): Likewise.
8067         * resource/vtimes.c (vtimes): Likewise.
8068         * rt/aio_error.c (aio_error): Likewise.
8069         * rt/aio_return.c (aio_return): Likewise.
8070         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
8071         * signal/kill.c (__kill): Likewise.
8072         * signal/killpg.c (killpg): Likewise.
8073         * signal/raise.c (raise): Likewise.
8074         * signal/sigaction.c (__sigaction): Likewise.
8075         * signal/sigaddset.c (sigaddset): Likewise.
8076         * signal/sigaltstack.c (sigaltstack): Likewise.
8077         * signal/sigandset.c (sigandset): Likewise.
8078         * signal/sigblock.c (__sigblock): Likewise.
8079         * signal/sigdelset.c (sigdelset): Likewise.
8080         * signal/sigempty.c (sigemptyset): Likewise.
8081         * signal/sigfillset.c (sigfillset): Likewise.
8082         * signal/sighold.c (sighold): Likewise.
8083         * signal/sigignore.c (sigignore): Likewise.
8084         * signal/sigintr.c (siginterrupt): Likewise.
8085         * signal/sigisempty.c (sigisemptyset): Likewise.
8086         * signal/sigismem.c (sigismember): Likewise.
8087         * signal/signal.c (signal): Likewise.
8088         * signal/sigorset.c (sigorset): Likewise.
8089         * signal/sigpause.c (__sigpause): Likewise.
8090         * signal/sigpending.c (sigpending): Likewise.
8091         * signal/sigprocmask.c (__sigprocmask): Likewise.
8092         * signal/sigrelse.c (sigrelse): Likewise.
8093         * signal/sigreturn.c (__sigreturn): Likewise.
8094         * signal/sigset.c (sigset): Likewise.
8095         * signal/sigsetmask.c (__sigsetmask): Likewise.
8096         * signal/sigstack.c (sigstack): Likewise.
8097         * signal/sigsuspend.c (__sigsuspend): Likewise.
8098         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
8099         * signal/sysv_signal.c (__sysv_signal): Likewise.
8100         * socket/accept.c (accept): Likewise.
8101         * socket/accept4.c (__libc_accept4): Likewise.
8102         * socket/bind.c (__bind): Likewise.
8103         * socket/connect.c (__connect): Likewise.
8104         * socket/getpeername.c (getpeername): Likewise.
8105         * socket/getsockname.c (__getsockname): Likewise.
8106         * socket/getsockopt.c (getsockopt): Likewise.
8107         * socket/listen.c (__listen): Likewise.
8108         * socket/recv.c (__recv): Likewise.
8109         * socket/recvmsg.c (__recvmsg): Likewise.
8110         * socket/send.c (__send): Likewise.
8111         * socket/sendmsg.c (__sendmsg): Likewise.
8112         * socket/shutdown.c (shutdown): Likewise.
8113         * socket/sockatmark.c (sockatmark): Likewise.
8114         * socket/socket.c (__socket): Likewise.
8115         * stdio-common/ctermid.c (ctermid): Likewise.
8116         * stdio-common/cuserid.c (cuserid): Likewise.
8117         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
8118         * stdio-common/remove.c (remove): Likewise.
8119         * stdio-common/rename.c (rename): Likewise.
8120         * stdio-common/renameat.c (renameat): Likewise.
8121         * stdio-common/tempname.c (__gen_tempname): Likewise.
8122         * stdio-common/xbug.c (InitBuffer): Likewise.
8123         (AppendToBuffer): Likewise.
8124         (ReadFile): Likewise.
8125         * stdlib/a64l.c (a64l): Likewise.
8126         * stdlib/drand48_r.c (drand48_r): Likewise.
8127         * stdlib/getcontext.c (getcontext): Likewise.
8128         * stdlib/getenv.c (getenv): Likewise.
8129         * stdlib/l64a.c (l64a): Likewise.
8130         * stdlib/llabs.c (llabs): Likewise.
8131         * stdlib/lldiv.c (lldiv): Likewise.
8132         * stdlib/lrand48_r.c (lrand48_r): Likewise.
8133         * stdlib/mrand48_r.c (mrand48_r): Likewise.
8134         * stdlib/putenv.c (putenv): Likewise.
8135         * stdlib/random.c (__srandom): Likewise.
8136         (__initstate): Likewise.
8137         (__setstate): Likewise.
8138         * stdlib/random_r.c (__srandom_r): Likewise.
8139         (__setstate_r): Likewise.
8140         (__random_r): Likewise.
8141         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
8142         * stdlib/setcontext.c (setcontext): Likewise.
8143         * stdlib/setenv.c (setenv): Likewise.
8144         (unsetenv): Likewise.
8145         * stdlib/srand48.c (srand48): Likewise.
8146         * stdlib/srand48_r.c (__srand48_r): Likewise.
8147         * stdlib/swapcontext.c (swapcontext): Likewise.
8148         * stdlib/system.c (__libc_system): Likewise.
8149         * stdlib/tst-strtod.c (expand): Likewise.
8150         * stdlib/tst-strtol.c (expand): Likewise.
8151         * stdlib/tst-strtoll.c (expand): Likewise.
8152         * streams/fattach.c (fattach): Likewise.
8153         * streams/fdetach.c (fdetach): Likewise.
8154         * streams/getmsg.c (getmsg): Likewise.
8155         * streams/isastream.c (isastream): Likewise.
8156         * string/ffs.c (__ffs): Likewise.
8157         * string/ffsll.c (ffsll): Likewise.
8158         * string/memcmp.c (memcmp_common_alignment): Likewise.
8159         (memcmp_not_common_alignment): Likewise.
8160         (MEMCMP): Likewise.
8161         * string/memcpy.c (memcpy): Likewise.
8162         * string/memmove.c (MEMMOVE): Likewise.
8163         * string/memset.c (memset): Likewise.
8164         * string/rawmemchr.c (RAWMEMCHR): Likewise.
8165         * string/strchrnul.c (STRCHRNUL): Likewise.
8166         * string/strerror.c (strerror): Likewise.
8167         * string/strndup.c (__strndup): Likewise.
8168         * string/strverscmp.c (__strverscmp): Likewise.
8169         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
8170         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
8171         (clnttcp_freeres): Likewise.
8172         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
8173         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
8174         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
8175         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
8176         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
8177         (xdr_callhdr): Likewise.
8178         * sunrpc/rpcinfo.c (udpping): Likewise.
8179         (tcpping): Likewise.
8180         (pstatus): Likewise.
8181         (pmapdump): Likewise.
8182         (brdcst): Likewise.
8183         (deletereg): Likewise.
8184         (getprognum): Likewise.
8185         (getvers): Likewise.
8186         (get_inet_address): Likewise.
8187         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
8188         * sunrpc/svc_udp.c (svcudp_create): Likewise.
8189         (svcudp_stat): Likewise.
8190         (svcudp_recv): Likewise.
8191         (svcudp_reply): Likewise.
8192         (svcudp_getargs): Likewise.
8193         (svcudp_freeargs): Likewise.
8194         (svcudp_destroy): Likewise.
8195         * sunrpc/xdr.c (xdr_bytes): Likewise.
8196         (xdr_netobj): Likewise.
8197         (xdr_string): Likewise.
8198         (xdr_wrapstring): Likewise.
8199         * sunrpc/xdr_float.c (xdr_float): Likewise.
8200         (xdr_double): Likewise.
8201         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
8202         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
8203         * sysvipc/ftok.c (ftok): Likewise.
8204         * sysvipc/msgctl.c (msgctl): Likewise.
8205         * sysvipc/msgget.c (msgget): Likewise.
8206         * sysvipc/msgrcv.c (msgrcv): Likewise.
8207         * sysvipc/msgsnd.c (msgsnd): Likewise.
8208         * sysvipc/semget.c (semget): Likewise.
8209         * sysvipc/semop.c (semop): Likewise.
8210         * sysvipc/shmat.c (shmat): Likewise.
8211         * sysvipc/shmctl.c (shmctl): Likewise.
8212         * sysvipc/shmdt.c (shmdt): Likewise.
8213         * sysvipc/shmget.c (shmget): Likewise.
8214         * termios/cfmakeraw.c (cfmakeraw): Likewise.
8215         * termios/speed.c (cfgetospeed): Likewise.
8216         (cfgetispeed): Likewise.
8217         (cfsetospeed): Likewise.
8218         (cfsetispeed): Likewise.
8219         * termios/tcflow.c (tcflow): Likewise.
8220         * termios/tcflush.c (tcflush): Likewise.
8221         * termios/tcgetattr.c (__tcgetattr): Likewise.
8222         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
8223         * termios/tcgetsid.c (tcgetsid): Likewise.
8224         * termios/tcsendbrk.c (tcsendbreak): Likewise.
8225         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
8226         * time/adjtime.c (__adjtime): Likewise.
8227         * time/dysize.c (dysize): Likewise.
8228         * time/ftime.c (ftime): Likewise.
8229         * time/getitimer.c (__getitimer): Likewise.
8230         * time/gettimeofday.c (__gettimeofday): Likewise.
8231         * time/gmtime.c (__gmtime_r): Likewise.
8232         (gmtime): Likewise.
8233         * time/localtime.c (__localtime_r): Likewise.
8234         (localtime): Likewise.
8235         * time/offtime.c (__offtime): Likewise.
8236         * time/settimeofday.c (__settimeofday): Likewise.
8237         * time/stime.c (stime): Likewise.
8238         * time/strftime_l.c (tm_diff): Likewise.
8239         (iso_week_days): Likewise.
8240         * time/strptime.c (strptime): Likewise.
8241         * time/time.c (time): Likewise.
8242         * time/timespec_get.c (timespec_get): Likewise.
8243         * time/tzset.c (tzset_internal): Likewise.
8244         (compute_change): Likewise.
8245         (__tz_compute): Likewise.
8246         * wcsmbs/btowc.c (__btowc): Likewise.
8247         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
8248         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
8249         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
8250         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
8251         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
8252         * wcsmbs/wcscat.c (__wcscat): Likewise.
8253         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8254         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
8255         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
8256         * wcsmbs/wcscspn.c (wcscspn): Likewise.
8257         * wcsmbs/wcsdup.c (wcsdup): Likewise.
8258         * wcsmbs/wcslen.c (__wcslen): Likewise.
8259         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
8260         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
8261         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
8262         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
8263         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8264         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
8265         * wcsmbs/wcsspn.c (wcsspn): Likewise.
8266         * wcsmbs/wcsstr.c (wcsstr): Likewise.
8267         * wcsmbs/wcstok.c (wcstok): Likewise.
8268         * wcsmbs/wctob.c (wctob): Likewise.
8269         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
8270         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8271         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
8272         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
8273         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
8274         * wcsmbs/wmemset.c (__wmemset): Likewise.
8275         * wctype/wcfuncs.c (__towlower): Likewise.
8276         (__towupper): Likewise.
8278         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
8279         (lll_unlock_elision): Add adapt_count parameter.
8281 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
8283         * sysdeps/nptl/configure.ac: Do not give errors based on the
8284         results of top-level configure tests.
8285         * sysdeps/nptl/configure: Regenerated.
8287         * configure.ac (libc_cv_Bgroup): Remove configure test.
8288         * configure: Regenerated.
8289         * config.make.in (have-Bgroup): Remove variable.
8291         * configure.ac (sizeof_long_double): Remove configure test.
8292         * configure: Regenerated.
8293         * config.make.in (sizeof-long-double): Remove variable.
8295         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
8296         * configure: Regenerated.
8297         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
8298         variable.
8299         (exceptions): Likewise.
8300         * sysdeps/arm/configure: Regenerated.
8301         * config.make.in (exceptions): Remove variable.
8302         * Makeconfig (uses-callbacks): Use -fexceptions instead of
8303         $(exceptions).
8304         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
8305         (CFLAGS-vdprintf_chk.c): Likewise.
8306         (CFLAGS-printf_chk.c): Likewise.
8307         (CFLAGS-fprintf_chk.c): Likewise.
8308         (CFLAGS-vprintf_chk.c): Likewise.
8309         (CFLAGS-vfprintf_chk.c): Likewise.
8310         (CFLAGS-gets_chk.c): Likewise.
8311         (CFLAGS-fgets_chk.c): Likewise.
8312         (CFLAGS-fgets_u_chk.c): Likewise.
8313         (CFLAGS-fread_chk.c): Likewise.
8314         (CFLAGS-fread_u_chk.c): Likewise.
8315         (CFLAGS-wprintf_chk.c): Likewise.
8316         (CFLAGS-fwprintf_chk.c): Likewise.
8317         (CFLAGS-vwprintf_chk.c): Likewise.
8318         (CFLAGS-vfwprintf_chk.c): Likewise.
8319         (CFLAGS-fgetws_chk.c): Likewise.
8320         (CFLAGS-fgetws_u_chk.c): Likewise.
8321         * libio/Makefile (CFLAGS-fileops.c): Likewise.
8322         (CFLAGS-fputc.c): Likewise.
8323         (CFLAGS-fputwc.c): Likewise.
8324         (CFLAGS-freopen64.c): Likewise.
8325         (CFLAGS-freopen.c): Likewise.
8326         (CFLAGS-fseek.c): Likewise.
8327         (CFLAGS-fseeko64.c): Likewise.
8328         (CFLAGS-fseeko.c): Likewise.
8329         (CFLAGS-ftello64.c): Likewise.
8330         (CFLAGS-ftello.c): Likewise.
8331         (CFLAGS-fwide.c): Likewise.
8332         (CFLAGS-genops.c): Likewise.
8333         (CFLAGS-getc.c): Likewise.
8334         (CFLAGS-getchar.c): Likewise.
8335         (CFLAGS-getwc.c): Likewise.
8336         (CFLAGS-getwchar.c): Likewise.
8337         (CFLAGS-iofclose.c): Likewise.
8338         (CFLAGS-iofflush.c): Likewise.
8339         (CFLAGS-iofgetpos64.c): Likewise.
8340         (CFLAGS-iofgetpos.c): Likewise.
8341         (CFLAGS-iofgets.c): Likewise.
8342         (CFLAGS-iofgetws.c): Likewise.
8343         (CFLAGS-iofputs.c): Likewise.
8344         (CFLAGS-iofputws.c): Likewise.
8345         (CFLAGS-iofread.c): Likewise.
8346         (CFLAGS-iofsetpos64.c): Likewise.
8347         (CFLAGS-iofsetpos.c): Likewise.
8348         (CFLAGS-ioftell.c): Likewise.
8349         (CFLAGS-iofwrite.c): Likewise.
8350         (CFLAGS-iogetdelim.c): Likewise.
8351         (CFLAGS-iogetline.c): Likewise.
8352         (CFLAGS-iogets.c): Likewise.
8353         (CFLAGS-iogetwline.c): Likewise.
8354         (CFLAGS-ioputs.c): Likewise.
8355         (CFLAGS-ioseekoff.c): Likewise.
8356         (CFLAGS-ioseekpos.c): Likewise.
8357         (CFLAGS-iosetbuffer.c): Likewise.
8358         (CFLAGS-iosetvbuf.c): Likewise.
8359         (CFLAGS-ioungetc.c): Likewise.
8360         (CFLAGS-ioungetwc.c): Likewise.
8361         (CFLAGS-oldfileops.c): Likewise.
8362         (CFLAGS-oldiofclose.c): Likewise.
8363         (CFLAGS-oldiofgetpos64.c): Likewise.
8364         (CFLAGS-oldiofgetpos.c): Likewise.
8365         (CFLAGS-oldiofsetpos64.c): Likewise.
8366         (CFLAGS-oldiofsetpos.c): Likewise.
8367         (CFLAGS-peekc.c): Likewise.
8368         (CFLAGS-putc.c): Likewise.
8369         (CFLAGS-putchar.c): Likewise.
8370         (CFLAGS-putwc.c): Likewise.
8371         (CFLAGS-putwchar.c): Likewise.
8372         (CFLAGS-rewind.c): Likewise.
8373         (CFLAGS-wfileops.c): Likewise.
8374         (CFLAGS-wgenops.c): Likewise.
8375         (CFLAGS-oldiofopen.c): Likewise.
8376         (CFLAGS-iofopen.c): Likewise.
8377         (CFLAGS-iofopen64.c): Likewise.
8378         (CFLAGS-oldtmpfile.c): Likewise.
8379         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
8380         (CFLAGS-fprintf.c): Likewise.
8381         (CFLAGS-printf.c): Likewise.
8382         (CFLAGS-vfwprintf.c): Likewise.
8383         (CFLAGS-vfscanf.c): Likewise.
8384         (CFLAGS-vfwscanf.c): Likewise.
8385         (CFLAGS-fscanf.c): Likewise.
8386         (CFLAGS-scanf.c): Likewise.
8387         (CFLAGS-isoc99_vfscanf.c): Likewise.
8388         (CFLAGS-isoc99_vscanf.c): Likewise.
8389         (CFLAGS-isoc99_fscanf.c): Likewise.
8390         (CFLAGS-isoc99_scanf.c): Likewise.
8391         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
8392         (CFLAGS-isoc99_fwscanf.c): Likewise.
8393         (CFLAGS-isoc99_vwscanf.c): Likewise.
8394         (CFLAGS-isoc99_vfwscanf.c): Likewise.
8396         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
8397         after mkstemp64.
8398         * login/tst-utmp.c (do_prepare): Likewise.
8399         * rt/tst-aio.c (do_prepare): Likewise.
8400         * rt/tst-aio64.c (do_prepare): Likewise.
8402 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8404         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8405         (__lll_lock_elision): Remove adapt_count decrement...
8406         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8407         (__lll_trylock_elision): Likewise.
8408         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8409         (__lll_unlock_elision): ... to here. And utilize
8410         new adapt_count parameter.
8411         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
8412         (__lll_unlock_elision): Update to include adapt_count
8413         parameter.
8414         (lll_unlock_elision): Pass pointer to adapt_count
8415         variable.
8417 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8419         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
8420         Add elision adapt_count parameter to list of arguments.
8421         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
8422         (lll_unlock_elision): Update with new parameter list
8423         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
8424         (lll_unlock_elision): Likewise.
8425         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
8426         (lll_unlock_elision): Likewise.
8428 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8430         [BZ #19122]
8431         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
8432         attribute_hidden.
8434         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
8435         attribute_hidden.
8436         [IS_IN (rtld)] (__strdup): Likewise.
8437         [IS_IN (rtld)] (__strerror_r): Likewise.
8438         [IS_IN (rtld)] (__strsep_g): Likewise.
8439         [IS_IN (rtld)] (memchr): Likewise.
8440         [IS_IN (rtld)] (memcmp): Likewise.
8441         [IS_IN (rtld)] (memcpy): Likewise.
8442         [IS_IN (rtld)] (memmove): Likewise.
8443         [IS_IN (rtld)] (memset): Likewise.
8444         [IS_IN (rtld)] (rawmemchr): Likewise.
8445         [IS_IN (rtld)] (stpcpy): Likewise.
8446         [IS_IN (rtld)] (strchr): Likewise.
8447         [IS_IN (rtld)] (strcmp): Likewise.
8448         [IS_IN (rtld)] (strlen): Likewise.
8449         [IS_IN (rtld)] (strnlen): Likewise.
8450         [IS_IN (rtld)] (strsep): Likewise.
8452         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
8453         attribute_hidden.
8454         [IS_IN (rtld)] (__strtoul_internal): Likewise.
8456         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
8457         attribute_hidden.
8458         [IS_IN (rtld)] (__libc_sigaction): Likewise.
8460         * include/setjmp.h (__longjmp): Add attribute_hidden.
8461         [IS_IN (rtld)] (__sigsetjmp): Likewise.
8463         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
8464         Add attribute_hidden.
8466         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
8467         [IS_IN (rtld)] (__open): Likewise.
8468         [IS_IN (rtld)] (__fcntl): Likewise.
8470         * include/dirent.h (__opendirat): Add attribute_hidden.
8471         (__getdents): Likewise.
8472         (__getdents64): Likewise.
8473         (__alloc_dir): Likewise.
8474         [IS_IN (rtld)] (__closedir): Likewise.
8475         [IS_IN (rtld)] (__fdopendir): Likewise.
8476         [IS_IN (rtld)] (__readdir): Likewise.
8477         [IS_IN (rtld)] (__readdir64): Likewise.
8478         [IS_IN (rtld)] (__rewinddir): Likewise.
8480         * include/dlfcn.h (_dl_catch_error): Moved to ...
8481         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
8482         attribute_hidden.
8484         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
8485         (_itoa_word): Likewise.
8487         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
8488         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
8489         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
8490         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
8491         (_dl_higher_prime_number): Likewise.
8492         (_dl_debug_printf_c): Likewise.
8493         (_dl_signal_cerror): Likewise.
8494         (_dl_receive_error): Likewise.
8495         (_dl_reloc_bad_type): Likewise.
8496         (_dl_resolve_conflicts): Likewise.
8497         (_dl_check_all_versions): Likewise.
8498         (_dl_check_map_versions): Likewise.
8499         (_dl_sort_fini): Likewise.
8500         (_dl_debug_initialize): Likewise.
8501         (_dl_init_paths): Likewise.
8502         (_dl_show_auxv): Likewise.
8503         (_dl_next_ld_env_entry): Likewise.
8504         (_dl_important_hwcaps): Likewise.
8505         (_dl_load_cache_lookup): Likewise.
8506         (_dl_update_slotinfo): Likewise.
8507         (_dl_show_scope): Likewise.
8509         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
8510         attribute_hidden.
8511         (_wordcopy_fwd_dest_aligned): Likewise.
8512         (_wordcopy_bwd_aligned): Likewise.
8513         (_wordcopy_bwd_dest_aligned): Likewise.
8515         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8516         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
8517         Likewise.
8518         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
8519         Likewise.
8520         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
8522 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8524         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
8525         GCC 5 requirement.
8527 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
8529         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
8530         test.
8531         * sysdeps/i386/configure: Regenerated.
8532         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
8533         code unconditional.
8535         * configure.ac (libc_cv_asm_previous_directive): Remove configure
8536         test.
8537         (libc_cv_asm_popsection_directive): Likewise.
8538         * configure: Regenerated.
8539         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
8540         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
8541         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
8542         (__make_section_unallocated): Make definition unconditional.
8543         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
8544         Remove conditional definition.
8545         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
8546         (__make_section_unallocated): Likewise.
8548         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
8549         * configure: Regenerated.
8550         * config.make.in (static-libgcc): Remove variable.
8551         * Makerules (build-shlib-helper): Use -static-libgcc instead of
8552         $(static-libgcc).
8553         (build-module-helper): Likewise.
8555         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
8556         * configure: Regenerated.
8558 2015-10-15  Florian Weimer  <fweimer@redhat.com>
8560         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
8561         (struct char_buffer): New type.
8562         (char_buffer_start, char_buffer_size, char_buffer_error)
8563         (char_buffer_rewind, char_buffer_add): New functions.
8564         (ADDW): Remove macro, replaced by the char_buffer_add function.
8565         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
8566         of extend_alloca.  Make control flow more explicit.
8568 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8570         [BZ #19137]
8571         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8572         Add -fomit-frame-pointer.
8573         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
8575 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8577         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
8578         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
8579         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
8580         only if !__GNUC_PREREQ (5,0).
8581         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
8582         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
8583         (INTERNAL_SYSCALL_NCS): Likewise.
8584         (LOADREGS_0): New macro for GCC 5.
8585         (ASMARGS_0): Likewise.
8586         (LOADREGS_1): Likewise.
8587         (ASMARGS_1): Likewise.
8588         (LOADREGS_2): Likewise.
8589         (ASMARGS_2): Likewise.
8590         (LOADREGS_3): Likewise.
8591         (ASMARGS_3): Likewise.
8592         (LOADREGS_4): Likewise.
8593         (ASMARGS_4): Likewise.
8594         (LOADREGS_5): Likewise.
8595         (ASMARGS_5): Likewise.
8596         (LOADREGS_6): Likewise.
8597         (ASMARGS_6): Likewise.
8599 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8601         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
8602         -fomit-frame-pointer.
8603         (CFLAGS-mmap64.c): Likewise.
8604         (CFLAGS-semtimedop.c): Likewise.
8605         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
8606         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
8607         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8608         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8610 2015-10-15  Florian Weimer  <fweimer@redhat.com>
8612         [BZ #18928]
8613         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
8614         _dl_pointer_guard member.
8615         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
8616         initializer.
8617         (security_init): Always set up pointer guard.
8618         (process_envvars): Do not process LD_POINTER_GUARD.
8620 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
8622         [BZ #19134]
8623         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
8624         (.LC2): Likewise.
8625         (.LC3): Likewise.
8626         (__lround): Do not add 0.5 to integer or out-of-range arguments.
8628 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8630         [BZ #19129]
8631         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
8632         r0 and r1.
8634 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
8636         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
8638 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
8640         * include/stap-probe.h: Fix macro definition formatting.
8642 2015-10-14  Florian Weimer  <fweimer@redhat.com>
8644         [BZ #19074]
8645         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
8646         load and store num_ifs.
8648 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8650         [BZ #18822]
8651         * sysdeps/unix/sysv/linux/sched_getaffinity.c
8652         (__sched_getaffinity_new): Add libc_hidden_proto and
8653         libc_hidden_def.
8655 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8657         [BZ #19007]
8658         * scripts/localplt.awk: Also allow GOT references.
8659         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
8660         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
8661         with "+ REL R_386_GLOB_DAT".
8662         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
8663         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
8665 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8667         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
8668         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8669         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
8670         Likewise.
8671         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
8672         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
8673         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8674         INTERNAL_SYSCALLINTERNAL_SYSCALL and
8675         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8676         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8677         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8678         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8679         Likewise.
8680         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8682 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
8684         [BZ #19125]
8685         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
8686         <math_private.h> and <stdint.h>.
8687         (__llround): Avoid conversions to and from long long int, and
8688         subtractions, where those might raise spurious exceptions.
8689         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
8690         <math_private.h> and <stdint.h>.
8691         (__llroundf): Avoid conversions to and from long long int, and
8692         subtractions, where those might raise spurious exceptions.
8694 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8696         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
8697         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8698         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8699         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
8700         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8701         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8702         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
8703         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
8704         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
8705         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8706         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8707         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8708         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
8709         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8710         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8711         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
8712         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
8713         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8714         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
8715         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
8716         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
8717         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
8718         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
8719         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
8720         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
8721         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8722         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
8723         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8724         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8725         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
8726         (__xstat64_conv): Likewise.
8727         (__xstat32_conv): Likewise.
8729 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8731         * sysdeps/unix/sysv/linux/sysdep.h: New file.
8732         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
8733         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
8734         <sysdeps/unix/sysv/linux/sysdep.h>.
8735         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8736         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
8737         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
8738         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8739         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8740         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
8741         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
8742         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
8743         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
8744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8746         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8747         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8748         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8749         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8750         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8751         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
8752         (sysdep-dl-routines): Add sysdep.
8753         [$(subdir) == nptl] (libpthread-routines): Likewise.
8754         [$(subdir) == rt] (librt-routines): Likewise.
8755         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
8756         PIC when branching to SYSCALL_ERROR_LABEL.
8757         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
8758         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
8759         <sysdeps/unix/sysv/linux/sysdep.h>.
8760         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
8761         (SYSCALL_ERROR_ERRNO): Removed.
8762         (SYSCALL_ERROR_HANDLER): Changed to empty.
8763         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
8764         (__syscall_error): New prototype.
8765         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
8766         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
8768 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8770         [BZ #19124]
8771         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
8772         (_dl_runtime_resolve_avx512): Make it a hidden alias of
8773         _dl_runtime_resolve_avx.
8774         (_dl_runtime_profile_avx512): Make it a hidden alias of
8775         _dl_runtime_profile_avx.
8777 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
8779         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
8780         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
8781         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
8782         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
8784         [BZ #16422]
8785         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
8786         New configure test.
8787         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
8788         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
8789         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
8790         <math_private.h> and <stdint.h>.
8791         (__llrint): Avoid conversions to long long int where those might
8792         raise spurious exceptions.
8793         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
8794         <math_private.h> and <stdint.h>.
8795         (__llrintf): Avoid conversions to long long int where those might
8796         raise spurious exceptions.
8798 2015-10-12  Andreas Schwab  <schwab@suse.de>
8800         [BZ #18969]
8801         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
8802         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
8803         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
8804         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
8805         $(gen-locales).
8806         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
8807         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
8808         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
8809         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
8810         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
8811         $(gen-locales).
8812         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
8813         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
8814         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
8815         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
8816         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
8817         ($(objpfx)tst-ftell-active-handler.out)
8818         ($(objpfx)tst-ftell-append.out)
8819         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
8820         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
8821         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
8822         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
8823         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
8824         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
8825         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
8826         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
8827         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
8828         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
8829         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
8830         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
8831         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
8832         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
8833         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
8834         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
8835         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
8836         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
8837         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
8838         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
8839         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
8840         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
8841         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
8842         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
8843         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
8844         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
8845         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
8846         $(gen-locales).
8847         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
8848         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
8849         $(gen-locales).
8850         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
8851         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
8852         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
8853         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
8854         $(gen-locales).
8855         * libio/tst_wprintf2.c (main): Use explicit locale.
8856         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
8858 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8860         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
8861         __msg_sig_post.
8862         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
8864 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
8866         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8867         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8869         * sysdeps/arm/libm-test-ulps: Regenerated.
8871         [BZ #15470]
8872         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
8874         [BZ #16399]
8875         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
8876         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
8877         and <fix-fp-int-convert-overflow.h>.
8878         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
8879         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8880         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
8881         and <fix-fp-int-convert-overflow.h>.
8882         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
8883         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8884         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
8885         <fix-fp-int-convert-overflow.h>.
8886         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
8887         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8888         * sysdeps/ieee754/dbl-64/s_lround.c: Include
8889         <fix-fp-int-convert-overflow.h>.
8890         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
8891         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8892         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
8893         and <fix-fp-int-convert-overflow.h>.
8894         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
8895         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8896         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
8897         <limits.h> and <fix-fp-int-convert-overflow.h>.
8898         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
8899         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8900         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
8901         and <fix-fp-int-convert-overflow.h>.
8902         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
8903         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8904         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
8905         and <fix-fp-int-convert-overflow.h>.
8906         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
8907         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8908         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
8910 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
8912         [BZ #18589]
8913         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
8914         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
8915         $(gen-locales).
8917 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8918             Phil Blundell <pb@pbcl.net>
8920         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
8921         * nptl/tst-cancel26.c: New file.
8922         * nptl/tst-cancel27.c: Likewise.
8924 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
8926         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
8927         __ILP32__ isn't defined.
8928         (lrint): Likewise.
8929         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
8930         (lrintf): Likewise.
8931         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
8932         (lrintl): Likewise.
8933         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
8934         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
8935         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
8937 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8939         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8940         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8942         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
8943         file.
8944         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
8945         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
8947 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
8949         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
8950         configure test.
8951         * sysdeps/i386/configure: Regenerated.
8952         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
8953         configure test.
8954         * sysdeps/x86_64/configure: Regenerated.
8955         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
8956         Make code unconditional.
8958         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
8959         test.
8960         * sysdeps/i386/configure: Regenerated.
8961         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
8962         test.
8963         * sysdeps/x86_64/configure: Regenerated.
8964         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
8965         Make code unconditional.
8966         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8967         Likewise.
8968         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
8969         Likewise.
8970         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8971         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
8972         code unconditional.
8973         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8974         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
8975         code unconditional.
8976         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8977         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
8978         code unconditional.
8979         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
8980         code unconditional.
8981         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8982         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
8983         code unconditional.
8984         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8985         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
8986         code unconditional.
8987         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8988         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
8989         code unconditional.
8990         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8991         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
8992         code unconditional.
8993         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8994         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
8996         [BZ #19095]
8997         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
8998         mantissa to long int before shifting left.
9000 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9002         [BZ #19094]
9003         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
9004         <limits.h>.
9005         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9006         when result overflows but exception would not result from cast.
9007         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
9008         <limits.h>.
9009         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9010         when result overflows but exception would not result from cast.
9011         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
9012         <limits.h>.
9013         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9014         when result overflows but exception would not result from cast.
9015         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
9016         <limits.h>.
9017         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9018         when result overflows but exception would not result from cast.
9019         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
9020         <limits.h>.
9021         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9022         when result overflows but exception would not result from cast.
9023         * math/libm-test.inc (lrint_test_data): Add more tests.
9024         (llrint_test_data): Likewise.
9026 2015-10-08  Roland McGrath  <roland@hack.frob.com>
9028         [BZ #18872]
9029         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
9030         Move out from under [$(run-built-tests) = yes] conditional.
9031         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
9032         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
9034 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
9036         [BZ #18589]
9037         * string/Makefile (tests): Add bug-strcoll2.
9038         (LOCALES): Add cs_CZ.UTF-8.
9039         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
9041         [BZ #18589]
9042         * string/bug-strcoll2.c: New file.
9043         * locale/categories.def: Revert commit
9044         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
9045         * locale/langinfo.h: Likewise.
9046         * locale/localeinfo.h: Likewise.
9047         * locale/C-collate.c: Likewise.
9048         * locale/programs/ld-collate.c (collate_output): Likewise.
9049         * string/strcoll_l.c (STRDIFF): Likewise.
9050         (STRCOLL): Likewise.
9051         * wcsmbs/wcscoll_l.c: Likewise.
9053 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9055         * math/libm-test.inc (lround_test_data): Do not expect the absence
9056         of "inexact" for some tests with non-integer arguments.
9057         (llround_test_data): Likewise.
9059         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
9060         test.
9061         (libc_cv_cc_sse2avx): Likewise.
9062         * sysdeps/i386/configure: Regenerated.
9063         * sysdeps/i386/i686/multiarch/Makefile
9064         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
9065         [$(subdir) = math].
9066         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
9067         code unconditional.
9068         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9069         Likewise.
9070         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
9071         Likewise.
9072         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9073         Likewise.
9074         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
9075         test.
9076         (libc_cv_cc_sse2avx): Likewise.
9077         * sysdeps/x86_64/configure: Regenerated.
9078         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
9079         unconditional.
9080         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
9081         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
9082         unconditional.
9083         (_dl_runtime_profile)
9084         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
9085         conditional code.
9086         * sysdeps/x86_64/fpu/multiarch/Makefile
9087         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
9088         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9089         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9090         * sysdeps/x86_64/fpu/multiarch/e_exp.c
9091         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9092         * sysdeps/x86_64/fpu/multiarch/e_log.c
9093         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9094         * sysdeps/x86_64/fpu/multiarch/s_atan.c
9095         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9096         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9097         Likewise.
9098         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9099         Likewise.
9100         * sysdeps/x86_64/fpu/multiarch/s_sin.c
9101         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9102         * sysdeps/x86_64/fpu/multiarch/s_tan.c
9103         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9104         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
9105         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
9106         (HAVE_SSE2AVX_SUPPORT): Likewise.
9108 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
9110         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
9111         instead of #pragma optimize.
9113 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9115         [BZ #17195]
9116         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
9117         as is similarly done in systrim and _int_free already.
9119 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9121         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
9123 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9125         [BZ #19088]
9126         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
9127         <limits.h>.
9128         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9129         overflows but exception would not result from cast.
9130         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
9131         and <limits.h>.
9132         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9133         overflows but exception would not result from cast.
9134         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
9135         <limits.h>.
9136         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9137         overflows but exception would not result from cast.
9138         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
9139         <limits.h>.
9140         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9141         overflows but exception would not result from cast.
9142         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
9143         <limits.h>.
9144         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9145         overflows but exception would not result from cast.
9146         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
9147         <limits.h>.
9148         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9149         overflows but exception would not result from cast.
9150         * math/libm-test.inc (lround_test_data): Add more tests.
9151         (llround_test_data): Likewise.
9153 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
9155         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
9156         (CFLAGS-ialloc.c): Ditto.
9157         (CFLAGS-scheck.c): Ditto.
9159 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9161         [BZ #19086]
9162         * manual/filesys.texi (Storage Allocation): Fix argument order for
9163         posix_fallocate64.
9165 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9167         [BZ #19085]
9168         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
9169         exponent below 48 inside case for non-overflowing exponent.
9170         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
9172 2015-10-07  Florian Weimer  <fweimer@redhat.com>
9174         * iconvdata/cp737.h (from_idx): Add const.
9175         * iconvdata/cp775.h (from_idx): Likewise.
9177 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9179         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
9180         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
9181         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
9183         [BZ #19079]
9184         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
9185         file, conditioned on [!_LP64].
9186         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
9187         [!_LP64] (__lround): Do not define as function or alias.
9188         [!_LP64] (lround): Likewise.
9189         [!_LP64] (__lroundl): Likewise.
9190         [!_LP64] (lroundl): Likewise.
9191         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
9192         macro.
9193         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9194         Likewise.
9196 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9198         * math/libm-test.inc (lrint_test_data): Add more tests.
9199         (llrint_test_data): Likewise.
9200         (lround_test_data): Likewise.
9201         (llround_test_data): Likewise.
9203         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
9204         (llrint_test_data): Add tests used for lrint.
9206         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
9207         test.
9208         * sysdeps/i386/configure: Regenerated.
9209         * sysdeps/i386/i686/multiarch/Makefile
9210         [$(config-cflags-sse4) = yes]: Make code unconditional.
9211         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9212         Likewise.
9213         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
9214         Likewise.
9215         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
9216         test.
9217         * sysdeps/x86_64/configure: Regenerated.
9218         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
9219         Make code unconditional.
9220         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9221         Likewise.
9222         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
9223         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
9225         * scripts/rpm2dynsym.sh: Remove file.
9227 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9229         * configure.ac (libc_cv_cxx_thread_local): Define.
9230         * configure: Regenerate.
9231         * config.make.in (have-cxx-thread_local): Define.
9232         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
9233         (LDLIBS-tst-thread_local1): Define.
9234         (tests): Add tst-thread_local1.
9235         [have-cxx-thread_local != yes] (tests-unsupported): Add
9236         tst-thread_local1.
9237         * nptl/tst-thread_local1.cc: New file.
9239 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9241         [BZ #19078]
9242         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
9243         (u_thres): Likewise.
9244         (__expl): Determine whether to call __kernel_standard_l based on
9245         value of result, not argument.
9247         * math/libm-test.inc (scalb_test_data): Add more expectations for
9248         the "inexact" exception.
9250         [BZ #19077]
9251         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
9252         0.0L for argument 1.0L.
9254         [BZ #19076]
9255         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
9256         constant 0.0L when computing infinite result.
9258 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9260         [BZ #10432]
9261         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
9262         malloc_usable_size.
9264 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9266         [BZ #19018]
9267         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9268         Mangle function pointer before storing it.
9269         (__call_tls_dtors): Demangle function pointer before calling it.
9271 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9273         [BZ #19012]
9274         * iconv/gconv_db.c (gen_steps): Check for additional errors.
9275         Clean up on failure.
9277 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
9279         [BZ #19071]
9280         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
9281         long int variable to store possibly incremented high part of
9282         mantissa.
9283         * math/libm-test.inc (lround_test_data): Add tests used for
9284         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
9285         for tests requiring 64-bit long.  Do not condition tests on
9286         [TEST_FLOAT] unnecessarily.
9287         (llround_test_data): Add tests used for lround.  Add another
9288         expectation for the "inexact" exception.  Do not condition tests
9289         on [TEST_FLOAT] unnecessarily.
9291         [BZ #887]
9292         [BZ #19049]
9293         [BZ #19050]
9294         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
9295         * sysdeps/ieee754/dbl-64/e_log10.c: Include
9296         <fix-int-fp-convert-zero.h>.
9297         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9298         * sysdeps/ieee754/dbl-64/e_log2.c: Include
9299         <fix-int-fp-convert-zero.h>.
9300         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9301         * sysdeps/ieee754/dbl-64/s_erf.c: Include
9302         <fix-int-fp-convert-zero.h>.
9303         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9304         * sysdeps/ieee754/dbl-64/s_logb.c: Include
9305         <fix-int-fp-convert-zero.h>.
9306         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9307         * sysdeps/ieee754/flt-32/e_log10f.c: Include
9308         <fix-int-fp-convert-zero.h>.
9309         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9310         * sysdeps/ieee754/flt-32/e_log2f.c: Include
9311         <fix-int-fp-convert-zero.h>.
9312         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9313         * sysdeps/ieee754/flt-32/s_erff.c: Include
9314         <fix-int-fp-convert-zero.h>.
9315         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9316         * sysdeps/ieee754/flt-32/s_logbf.c: Include
9317         <fix-int-fp-convert-zero.h>.
9318         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9319         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
9320         <fix-int-fp-convert-zero.h>.
9321         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9322         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
9323         <fix-int-fp-convert-zero.h>.
9324         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9325         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
9326         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
9327         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
9328         file.
9329         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
9331 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
9333         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9335 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
9337         [BZ #19059]
9338         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
9339         overflowing computation.
9340         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9341         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
9342         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9343         Likewise.
9344         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9345         Likewise.
9346         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
9347         Likewise.
9348         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9349         Likewise.
9350         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9351         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9352         Likewise.
9353         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9354         Likewise.
9355         * math/libm-test.inc (nexttoward_test_data): Add more tests.
9357         * nss/rewrite_field.c (__nss_rewrite_field): Use
9358         internal_function.
9359         * nss/valid_field.c (__nss_valid_field): Likewise.
9360         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
9362 2015-10-02  Florian Weimer  <fweimer@redhat.com>
9364         [BZ #18724]
9365         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
9366         (__nss_invalid_field_characters, __nss_valid_field)
9367         (__nss_valid_list_field, __nss_rewrite_field): Declare.
9368         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
9369         tst-field.c: New file.
9370         * nss/Makefile (routines): Add valid_field, rewrite_field.
9371         (tests-static): Define unconditionally.
9372         (tests): Include tests-static.
9373         [build-static-nss] (tests-static): Use append.
9374         [build-static-nss] (tests): Remove modification.
9375         * nss/getent.c (print_group): Call putgrent.  Report error.
9376         (print_gshadow): Call putsgent.  Report error.
9377         (print_passwd): Call putpwent.  Report error.
9378         (print_shadow): Call putspent.  Report error.
9379         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
9380         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
9381         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
9382         name, password, directory, shell fields for valid syntax.  Rewrite
9383         GECOS field to match syntax.
9384         * pwd/Makefile (tests): Add tst-putpwent.
9385         * pwd/tst-putpwent.c: New file.
9386         * grp/putgrent.c (putgrent): Convert to ISO function definition.
9387         Check grName, grpasswd, gr_mem fields for valid syntax.
9388         Change loop variable i to size_t.
9389         * grp/Makefile (tests): Add tst-putgrent.
9390         * grp/tst-putgrent.c: New file.
9391         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
9392         valid syntax.
9393         * shadow/Makefile (tests): Add tst-putspent.
9394         * shadow/tst-putspent.c: New file.
9395         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
9396         sg_mem fields for valid syntax.
9397         * gshadow/Makefile (tests): Add tst-putsgent.
9398         * gshadow/tst-putsgent.c: New file.
9400 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9402         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
9403         assembly instructions.
9405 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9407         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
9408         prefix from operands.
9410 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
9412         [BZ #16347]
9413         [BZ #19046]
9414         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
9415         <libc-internal.h>.
9416         (MAXLGM): Do not use diagnostic control macros.
9417         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
9418         threshold for ldbl-128ibm.
9419         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
9420         instead of multiplying by log then subtracting.
9421         * math/auto-libm-test-in: Add more tests of lgamma.
9422         * math/auto-libm-test-out: Regenerated.
9424         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
9425         (TYPE_HEX_DIG): Likewise.
9426         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
9427         precisions when printing floating-point numbers.
9428         (check_float_internal): Likewise.
9430 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
9432         [BZ #16620]
9433         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
9434         of log (10) rounded downward to 48 bits.
9435         (log10_low): Use corresponding low part of log (10).
9437         [BZ #19032]
9438         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
9439         compute result as (x - x) / (x - x) not as 0 / 0.
9440         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9441         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
9443         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9444         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
9445         and expm1.
9446         * math/auto-libm-test-out: Regenerated.
9447         * math/libm-test.inc (acos_test_data): Add more tests.
9448         (asin_test_data): Likewise.
9449         (asinh_test_data): Likewise.
9450         (atan_test_data): Likewise.
9451         (atanh_test_data): Likewise.
9452         (atan2_test_data): Likewise.
9453         (cbrt_test_data): Likewise.
9454         (ceil_test_data): Likewise.
9455         (copysign_test_data): Likewise.
9456         (cos_test_data): Likewise.
9457         (cosh_test_data): Likewise.
9458         (erf_test_data): Likewise.
9459         (erfc_test_data): Likewise.
9460         (exp_test_data): Likewise.
9461         (exp10_test_data): Likewise.
9462         (exp2_test_data): Likewise.
9463         (expm1_test_data): Likewise.
9464         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9466 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
9468         [BZ #19006]
9469         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
9470         to ...
9471         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
9472         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
9473         to ...
9474         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
9475         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
9476         to ...
9477         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
9478         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
9479         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
9480         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
9481         to ...
9482         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
9483         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9484         Moved to ...
9485         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
9486         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9487         Moved to ...
9488         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
9489         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
9490         to ...
9491         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
9492         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9493         Moved to ...
9494         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
9495         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
9496         to ...
9497         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
9498         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
9499         Removed.
9500         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
9501         Likewise.
9502         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
9503         Likewise.
9504         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
9505         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
9506         Likewise.
9507         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9508         Likewise.
9509         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9510         Likewise.
9511         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9512         Likewise.
9513         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9514         Likewise.
9515         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
9516         Likewise.
9517         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
9518         Likewise.
9519         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
9520         Likewise.
9521         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
9522         Likewise.
9523         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
9524         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
9525         Likewise.
9526         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9527         Likewise.
9528         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9529         Likewise.
9530         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9531         Likewise.
9532         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
9533         Likewise.
9534         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9535         Replace ../i486/pthread_cond_timedwait.S with
9536         ../pthread_cond_timedwait.S.
9538 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
9540         * math/libm-test.inc (acos_test_data): Refine expectations for
9541         errno and "inexact" exceptions.
9542         (acosh_test_data): Likewise.
9543         (asin_test_data): Likewise.
9544         (asinh_test_data): Likewise.
9545         (atan_test_data): Likewise.
9546         (atanh_test_data): Likewise.
9547         (atan2_test_data): Likewise.
9548         (cbrt_test_data): Likewise.
9549         (ceil_test_data): Likewise.
9550         (copysign_test_data): Likewise.
9551         (cosh_test_data): Likewise.
9552         (erf_test_data): Likewise.
9553         (erfc_test_data): Likewise.
9554         (exp_test_data): Likewise.
9555         (exp10_test_data): Likewise.
9556         (exp2_test_data): Likewise.
9557         (expm1_test_data): Likewise.
9558         (fabs_test_data): Likewise.
9559         (floor_test_data): Likewise.
9560         (fma_test_data): Likewise.
9561         (fmax_test_data): Likewise.
9562         (fmin_test_data): Likewise.
9563         (fmod_test_data): Likewise.
9564         (fpclassify_test_data): Likewise.
9565         (frexp_test_data): Likewise.
9566         (hypot_test_data): Likewise.
9567         (ilogb_test_data): Likewise.
9568         (isgreater_test_data): Likewise.
9569         (isgreaterequal_test_data): Likewise.
9570         (isinf_test_data): Likewise.
9571         (isless_test_data): Likewise.
9572         (islessequal_test_data): Likewise.
9573         (islessgreater_test_data): Likewise.
9574         (isnan_test_data): Likewise.
9575         (isnormal_test_data): Likewise.
9576         (issignaling_test_data): Likewise.
9577         (isunordered_test_data): Likewise.
9578         (j0_test_data): Likewise.
9579         (j1_test_data): Likewise.
9580         (jn_test_data): Likewise.
9581         (lgamma_test_data): Likewise.
9582         (lrint_test_data): Likewise.
9583         (llrint_test_data): Likewise.
9584         (log_test_data): Likewise.
9585         (log10_test_data): Likewise.
9586         (log1p_test_data): Likewise.
9587         (log2_test_data): Likewise.
9588         (logb_test_data): Likewise.
9589         (lround_test_data): Likewise.
9590         (llround_test_data): Likewise.
9591         (modf_test_data): Likewise.
9592         (nearbyint_test_data): Likewise.
9593         (nextafter_test_data): Likewise.
9594         (nexttoward_test_data): Likewise.
9595         (pow_test_data): Likewise.
9596         (remainder_test_data): Likewise.
9597         (remquo_test_data): Likewise.
9598         (rint_test_data): Likewise.
9599         (round_test_data): Likewise.
9600         (signbit_test_data): Likewise.
9601         (sinh_test_data): Likewise.
9602         (sqrt_test_data): Likewise.
9603         (tanh_test_data): Likewise.
9604         (tgamma_test_data): Likewise.
9605         (trunc_test_data): Likewise.
9606         (y0_test_data): Likewise.
9607         (y1_test_data): Likewise.
9608         (yn_test_data): Likewise.
9609         (significand_test_data): Likewise.
9611 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
9613         * manual/filesys.texi (Storage Allocation): Document that
9614         posix_fallocate emulation fails when fd is open with O_WRONLY.
9616 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
9618         [BZ #19016]
9619         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
9620         allow more cases with X^2 + Y^2 >= 0.5.
9621         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
9622         normal element in sum instead of special-casing based on values of
9623         arguments.
9624         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
9625         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
9626         -1 as normal element in sum instead of special-casing based on
9627         values of arguments.
9628         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
9629         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
9630         (__x2y2m1): Update comment.
9631         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
9632         as normal element in sum instead of special-casing based on values
9633         of arguments.
9634         * math/s_clog.c (__clog): Handle more cases using log1p without
9635         hypot.
9636         * math/s_clog10.c (__clog10): Likewise.
9637         * math/s_clog10f.c (__clog10f): Likewise.
9638         * math/s_clog10l.c (__clog10l): Likewise.
9639         * math/s_clogf.c (__clogf): Likewise.
9640         * math/s_clogl.c (__clogl): Likewise.
9641         * math/auto-libm-test-in: Add more tests of clog and clog10.
9642         * math/auto-libm-test-out: Regenerated.
9643         * sysdeps/i386/fpu/libm-test-ulps: Update.
9644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9646 2015-09-28  Martin Sebor  <msebor@redhat.com>
9648         [BZ #18969]
9649         * string/Makefile (LOCALES): Define.
9650         (gen-locales.mk): Include.
9651         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
9652         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
9653         * string/tst-strxfrm2.c (do_test): Print the name of the locale
9654         on setlocale failure.
9656 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
9658         [BZ #18985]
9659         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
9660         (__strftime_internal): Likewise.
9661         * time/tst-strftime.c (do_bz18985): New test.
9662         (do_test): Call it.
9664 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
9666         [BZ #18956]
9667         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
9668         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
9669         extracting high part.
9670         * math/auto-libm-test-in: Add another test of pow.
9671         * math/auto-libm-test-out: Regenerated.
9672         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9674 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
9676         [BZ #18825]
9677         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
9678         New macro.
9679         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
9680         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9681         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
9682         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
9683         DBL_NARROW_EVAL, reloading the PIC register as needed.
9684         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
9685         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
9686         FLT_NARROW_EVAL.  Use separate return path for case when first
9687         argument is NaN.
9688         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
9689         DEFINE_LDBL_MIN.
9690         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
9691         PIC register.
9692         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
9693         math_check_force_underflow_nonneg.
9694         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
9695         underflow for subnormal result.
9696         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9697         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
9698         math_check_force_underflow_nonneg.
9699         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
9700         math_check_force_underflow.
9701         * sysdeps/x86_64/fpu/x86_64-math-asm.h
9702         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
9703         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
9704         DEFINE_LDBL_MIN.
9705         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
9706         * math/auto-libm-test-in: Add more tests of pow.
9707         * math/auto-libm-test-out: Regenerated.
9709 2015-09-25  Florian Weimer  <fweimer@redhat.com>
9711         * nss/bug17079.c (init_test_items): Add diagnostic for
9712         inconsistent entries.
9713         (test_buffer_size): Skip inconsistent entries.
9715 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
9717         [BZ #13304]
9718         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
9719         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
9720         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
9722         [BZ #13304]
9723         * sysdeps/microblaze/s_fma.c: New file.
9724         * sysdeps/microblaze/s_fmaf.c: Likewise.
9725         * sysdeps/microblaze/sfp-machine.h: Likewise.
9727 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
9729         [BZ #17250]
9730         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
9731         member.
9733 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9735         [BZ #18803]
9736         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
9737         (MO): New macro.
9738         (__ieee754_hypot) [PIC]: Load PIC register.
9739         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
9740         DBL_NARROW_EVAL.
9741         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
9742         math_check_force_underflow_nonneg in case where result might be
9743         tiny.
9744         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9745         Likewise.
9746         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9747         Likewise.
9748         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
9749         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
9750         * math/auto-libm-test-in: Add more tests of hypot.
9751         * math/auto-libm-test-out: Regenerated.
9753 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
9755         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
9757 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9759         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
9760         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
9761         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
9762         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
9763         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
9764         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9765         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9767         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
9768         LOAD_PIC_REG.
9770         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
9771         (FLT_CHECK_FORCE_UFLOW): Likewise.
9772         (DBL_CHECK_FORCE_UFLOW): Likewise.
9773         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
9774         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
9775         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
9776         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9777         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9778         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9779         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9780         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9781         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
9782         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9783         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
9784         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
9785         (flt_min): Replace with use of DEFINE_FLT_MIN.
9786         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
9787         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
9788         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9789         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
9790         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
9791         (flt_min): Replace with use of DEFINE_FLT_MIN.
9792         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
9793         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
9794         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9795         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
9796         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
9797         (flt_min): Replace with use of DEFINE_FLT_MIN.
9798         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
9799         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
9800         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
9801         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
9802         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
9803         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9804         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9805         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
9806         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9807         (__atan): Use DBL_CHECK_FORCE_UFLOW.
9808         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
9809         (flt_min): Replace with use of DEFINE_FLT_MIN.
9810         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
9811         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
9812         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9813         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
9814         main computation.
9815         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
9816         (flt_min): Replace with use of DEFINE_FLT_MIN.
9817         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
9818         main computation.
9819         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
9820         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9821         (MO): New macro.
9822         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
9823         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
9824         (flt_min): Replace with use of DEFINE_FLT_MIN.
9825         (MO): New macro.
9826         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
9827         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
9828         (__log1pl): Use MO.
9830         [BZ #19003]
9831         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
9832         $(config-cflags-nofma).
9834 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9836         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9838 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
9840         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
9841         (TWO127): Likewise.
9843         * sysdeps/generic/math_private.h (fabs_tg): New macro.
9844         (min_of_type): Likewise.
9845         (math_check_force_underflow): Likewise.
9846         (math_check_force_underflow_nonneg): Likewise.
9847         (math_check_force_underflow_complex): Likewise.
9848         * math/e_exp2l.c (__ieee754_exp2l): Use
9849         math_check_force_underflow_nonneg.
9850         * math/k_casinh.c (__kernel_casinh): Likewise.
9851         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9852         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9853         * math/s_catan.c (__catan): Use
9854         math_check_force_underflow_complex.
9855         * math/s_catanf.c (__catanf): Likewise.
9856         * math/s_catanh.c (__catanh): Likewise.
9857         * math/s_catanhf.c (__catanhf): Likewise.
9858         * math/s_catanhl.c (__catanhl): Likewise.
9859         * math/s_catanl.c (__catanl): Likewise.
9860         * math/s_ccosh.c (__ccosh): Likewise.
9861         * math/s_ccoshf.c (__ccoshf): Likewise.
9862         * math/s_ccoshl.c (__ccoshl): Likewise.
9863         * math/s_cexp.c (__cexp): Likewise.
9864         * math/s_cexpf.c (__cexpf): Likewise.
9865         * math/s_cexpl.c (__cexpl): Likewise.
9866         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
9867         * math/s_clog10.c (__clog10): Likewise.
9868         * math/s_clog10f.c (__clog10f): Likewise.
9869         * math/s_clog10l.c (__clog10l): Likewise.
9870         * math/s_clogf.c (__clogf): Likewise.
9871         * math/s_clogl.c (__clogl): Likewise.
9872         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
9873         * math/s_csinf.c (__csinf): Likewise.
9874         * math/s_csinh.c (__csinh): Likewise.
9875         * math/s_csinhf.c (__csinhf): Likewise.
9876         * math/s_csinhl.c (__csinhl): Likewise.
9877         * math/s_csinl.c (__csinl): Likewise.
9878         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
9879         * math/s_csqrtf.c (__csqrtf): Likewise.
9880         * math/s_csqrtl.c (__csqrtl): Likewise.
9881         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
9882         * math/s_ctanf.c (__ctanf): Likewise.
9883         * math/s_ctanh.c (__ctanh): Likewise.
9884         * math/s_ctanhf.c (__ctanhf): Likewise.
9885         * math/s_ctanhl.c (__ctanhl): Likewise.
9886         * math/s_ctanl.c (__ctanl): Likewise.
9887         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
9888         instead of volatile.
9889         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
9890         math_check_force_underflow.
9891         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9892         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
9893         volatile when forcing underflow.
9894         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9895         math_check_force_underflow_nonneg.
9896         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9897         Likewise.
9898         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
9899         math_check_force_underflow.
9900         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9901         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9902         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9903         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
9904         math_check_force_underflow_nonneg.
9905         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
9906         math_check_force_underflow.
9907         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
9908         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
9909         instead of volatile.
9910         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
9911         math_check_force_underflow.
9912         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9913         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9914         math_check_force_underflow_nonneg.
9915         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
9916         math_check_force_underflow.
9917         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
9918         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9919         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
9920         math_check_force_underflow_nonneg.
9921         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9922         Likewise.
9923         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
9924         math_check_force_underflow.
9925         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9926         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
9927         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9928         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
9929         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9930         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
9931         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
9932         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
9933         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9934         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
9935         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
9936         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
9937         Likewise.
9938         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
9939         math_check_force_underflow_nonneg.
9940         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9941         Likewise.
9942         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
9943         math_check_force_underflow.
9944         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9945         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
9946         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9947         Likewise.
9948         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
9949         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
9950         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
9951         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
9952         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
9953         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9954         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
9955         instead of volatile.
9956         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
9957         math_check_force_underflow.
9958         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
9959         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
9960         math_check_force_underflow.
9961         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
9962         Likewise.
9963         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9964         Use math_check_force_underflow_nonneg.
9965         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
9966         math_check_force_underflow.
9967         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9968         Likewise.
9969         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9970         Likewise.
9971         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9972         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9973         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9974         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9975         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
9976         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9977         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
9978         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
9979         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
9980         math_check_force_underflow_nonneg.
9981         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
9982         math_check_force_underflow.
9983         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9984         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
9985         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
9986         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
9987         math_check_force_underflow_nonneg.
9988         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
9989         math_check_force_underflow.
9990         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
9991         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
9992         instead of volatile.
9993         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
9994         math_check_force_underflow.
9996         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
9997         * stdlib/strtod_l.c: Include <math_private.h>.
9998         (overflow_value): Use math_narrow_eval.
9999         (underflow_value): Likewise.
10000         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10001         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10002         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
10003         (__ieee754_gamma_r): Likewise.
10004         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
10005         Likewise.
10006         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10007         Likewise.
10008         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10009         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
10010         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
10011         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
10012         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10013         (__ieee754_gammaf_r): Likewise.
10014         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10015         Likewise.
10016         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10017         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
10018         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
10019         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
10020         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
10021         volatile.
10022         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
10023         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
10024         math_narrow_eval.
10025         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
10026         Likewise.
10027         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10028         Likewise.
10029         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
10030         Likewise.
10031         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
10032         volatile.
10033         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
10034         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
10035         math_narrow_eval.
10036         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10037         Likewise.
10038         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10039         Likewise.
10041 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
10043         * nptl/Versions: Remove ignored symbols.
10045 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10047         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
10048         * nss/Makefile (tests): Update.
10050 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10052         * nss/bug18287.c: New file.
10053         * nss/Makefile (tests): Add bug18287.
10055 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10057         * mach/Versions (__mach_host_self_): Add symbol.
10059 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10061         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
10062         vm_page_size.
10064 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10066         Really fix sysdeps/i386/fpu/s_scalbn.S build
10068         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
10069         (libc: GLIBC_2_22): Remove unused version set.
10071 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10073         * config.make.in (enable-timezone-tools): New variable.
10074         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
10075         (enable_timezone_tools): Export to generated files.
10076         * configure: Regenerate.
10077         * INSTALL: Regenerate.
10078         * manual/install.texi (--disable-timezone-tools): Document new flag.
10079         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
10080         ifeq ($(enable-timezone-tools),yes) check.
10082 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10084         * timezone/Makefile: Revert previous change.
10086         [BZ #18980]
10087         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
10088         (DEFINE_DBL_MIN): Likewise.
10089         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10090         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10091         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10092         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10093         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
10094         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10095         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10096         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
10097         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
10098         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10099         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10100         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
10101         (flt_min): Replace with use of DEFINE_FLT_MIN.
10102         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10103         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
10104         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10105         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10106         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
10107         (flt_min): Replace with use of DEFINE_FLT_MIN.
10108         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10109         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
10110         (flt_min): Replace with use of DEFINE_FLT_MIN.
10111         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10112         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
10113         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
10114         (__ieee754_hypot): Use DBL_NARROW_EVAL.
10115         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
10116         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
10117         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
10118         (__ieee754_pow): Use DBL_NARROW_EVAL.
10119         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
10120         (__ieee754_powf): Use FLT_NARROW_EVAL.
10121         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
10122         (__ieee754_expf_sse2): Convert double-precision result to single
10123         precision.
10124         * sysdeps/i386/fpu/libm-test-ulps: Update.
10126 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10128         * timezone/Makefile: Ignore unused variable errors due to private.h
10129         (time_t_min) and (time_t_max).
10130         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
10131         Likewise.
10133 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10135         [BZ #18981]
10136         * sysdeps/i386/fpu/i386-math-asm.h: New file.
10137         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
10138         (__ieee754_scalb): Use DBL_NARROW_EVAL.
10139         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
10140         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
10141         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
10142         (__scalbn): Use DBL_NARROW_EVAL.
10143         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
10144         (__scalbnf): Use FLT_NARROW_EVAL.
10146 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10148         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
10149         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
10150         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
10151         * stdio-common/printf_fp.c (___printf_fp):
10152         Use signbit to get the sign. Use isinf macro to allow inlining.
10153         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
10154         * stdio-common/printf_size.c (__printf_size): Likewise.
10156 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10158         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
10160 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10162         [BZ #18980]
10163         * sysdeps/generic/math_private.h: Include <float.h>.
10164         (math_narrow_eval): New macro.
10165         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
10166         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
10167         math_narrow_eval on overflowing return value.
10168         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
10169         Likewise.
10170         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10171         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
10172         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
10173         Likewise.
10174         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
10176 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10178         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
10179         * math/Makefile: Remove isinf_ns.c.
10180         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
10181         * math/multc3.c (__multc3): Likewise.
10182         * math/s_casin.c (__casin): Likewise.
10183         * math/s_casinf.c (__casinf): Likewise.
10184         * math/s_casinl.c (__casinl): Likewise.
10185         * math/s_cproj.c (__cproj): Likewise.
10186         * math/s_cprojf.c (__cprojf): Likewise.
10187         * math/s_cprojl.c (__cprofl): Likewise.
10188         * math/s_ctan.c (__ctan): Likewise.
10189         * math/s_ctanf.c (__ctanf): Likewise.
10190         * math/s_ctanh.c (__ctanh): Likewise.
10191         * math/s_ctanhf.c (__ctanhf): Likewise.
10192         * math/s_ctanhl.c (__ctanhl): Likewise.
10193         * math/s_ctanl.c (__ctanl): Likewise.
10194         * math/w_fmod.c (__fmod): Likewise.
10195         * math/w_fmodf.c (__fmodf): Likewise.
10196         * math/w_fmodl.c (_fmodl): Likewise.
10197         * math/w_remainder.c (__remainder): Likewise.
10198         * math/w_remainderf.c (__remainderf): Likewise.
10199         * math/w_remainderl.c (__remainderl): Likewise.
10200         * math/w_scalb.c (__scalb): Likewise.
10201         * math/w_scalbf.c (__scalbf): Likewise.
10202         * math/w_scalbl.c (__scalbl): Likewise.
10203         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
10204         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
10205         with isinf.
10206         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
10207         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
10208         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
10209         __isinf_nsf with isinf.
10210         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
10211         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
10212         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
10213         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
10214         with isinf.
10215         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
10216         __isinf_nsl with isinf.
10217         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
10218         with isinf.
10219         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
10220         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
10221         __isinf_nsl with isinf.
10222         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
10223         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
10224         with isinf.
10226 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10228         * resolv/base64.c (rcsid): Remove unused static.
10229         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
10230         static.  (tqpi1): Likewise.
10231         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
10232         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
10233         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
10234         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
10235         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
10236         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
10237         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
10238         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
10239         Likewise.
10241 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
10243         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
10244         <nptl/pthreadP.h>.
10245         (_longjmp_unwind): Use __libc_ptf_call.
10246         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
10248 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
10250         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
10251         * sysdeps/arm/__longjmp.S: Likewise.
10253 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10255         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
10256         Use __builtin_signbit.
10257         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
10258         Use __builtin_signbitf.
10259         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
10260         Use __builtin_signbitl.
10261         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10262         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
10264 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10266         [BZ #15367]
10267         [BZ #17441]
10269         * math/Makefile: Build test-snan.c with -fsignaling-nans.
10270         * math/math.h (fpclassify): Use __builtin_fpclassify when
10271         available.  (signbit): Use __builtin_signbit(f/l).
10272         (isfinite): Use__builtin_isfinite.  (isnormal): Use
10273         __builtin_isnormal.  (isnan): Use __builtin_isnan.
10274         (isinf): Use __builtin_isinf_sign.
10276 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10278         * benchtests/Makefile: Add bench-math-inlines, link with libm.
10279         * benchtests/bench-math-inlines.c: New benchmark.
10280         * benchtests/bench-util.h: New file.
10281         * benchtests/bench-util.c: New file.
10282         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
10284 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
10286         * elf/tst-dlmopen1.c: Define TEST_SO.
10287         (do_test): Use TEST_SO.
10289         * elf/dl-load.c: Include libc-internal.h.
10290         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
10292 2015-09-18  Vincent Bernat  <vincent@bernat.im>
10294         [BZ #17887]
10295         * time/strptime_l.c (__strptime_internal): Make %z accept
10296         [+-]HH:MM time zones.
10298 2015-09-18  Vincent Bernat  <vincent@bernat.im>
10300         [BZ #17886]
10301         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
10302         valid time zone.
10304 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
10306         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
10307         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
10308         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10309         (__ASSUME_FDATASYNC): Delete.
10311 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10313         * conform/linknamespace.pl: Require weak undefined symbols to be
10314         in the standard namespace.
10315         (%strong_syms): Rename to %seen_syms.
10316         (%strong_seen): Rename to %seen_where.
10318 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
10320         [BZ #18970]
10321         * misc/error.c (error): Replace pthread_setcancelstate with
10322         __pthread_setcancelstate.
10323         (error_at_line): Likewise.
10324         * posix/wordexp.c (parse_comm): Likewise.
10325         * stdlib/fmtmsg.c (fmtmsg): Likewise.
10326         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
10327         (__pthread_setcancelstate): This.
10328         (pthread_setcancelstate): Add an alias.
10329         * nptl/nptl-init.c (pthread_functions): Replace
10330         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
10331         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
10332         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
10333         hidden_proto.
10334         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
10335         it with hidden_def.
10336         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
10337         (pthread_setcancelstate): Renamed to ...
10338         (__pthread_setcancelstate): This.
10339         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
10340         __libc_ptf_call with __pthread_setcancelstate.
10342 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10343             Andreas Schwab  <schwab@suse.de>
10345         [BZ #17118]
10346         * math/s_ctan.c (__ctan): Determine sign of zero real part of
10347         result when imaginary part of argument is infinite using sine and
10348         cosine.
10349         * math/s_ctanf.c (__ctanf): Likewise.
10350         * math/s_ctanl.c (__ctanl): Likewise.
10351         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
10352         of result when real part of argument is infinite using sine and
10353         cosine.
10354         * math/s_ctanhf.c (__ctanhf): Likewise.
10355         * math/s_ctanhl.c (__ctanhl): Likewise.
10356         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
10357         (ctanh_test_data): Add more tests of ctanh.
10359 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10361         [BZ #15384]
10362         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
10363         bit-mask as in subtraction.
10364         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
10365         Likewise.
10366         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
10367         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
10368         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
10370         [BZ #18951]
10371         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
10372         underflow exception for small results.
10373         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10374         Likewise.
10375         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10376         Likewise.
10377         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10378         Likewise.
10379         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10380         Likewise.
10381         * math/auto-libm-test-in: Add more tests of tgamma.
10382         * math/auto-libm-test-out: Regenerated.
10384 2015-09-17  Andreas Schwab  <schwab@suse.de>
10386         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
10388 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
10390         [BZ #18977]
10391         * math/bits/mathcalls.h
10392         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
10393         not declare.
10394         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
10395         Likewise.
10396         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
10397         Likewise.
10398         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
10399         Likewise.
10400         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
10401         Likewise.
10402         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
10403         Likewise.
10404         * conform/data/math.h-data
10405         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
10406         function.
10407         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
10408         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
10409         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
10410         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
10411         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
10412         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
10413         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
10414         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
10415         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
10416         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
10417         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
10419         [BZ #6803]
10420         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
10421         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
10422         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
10423         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
10424         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
10425         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
10426         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
10427         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
10428         [NO_LONG_DOUBLE] (scalbnl): Likewise.
10429         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
10430         Likewise.
10431         [NO_LONG_DOUBLE] (scalbnl): Likewise.
10432         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
10433         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
10434         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
10435         long_double_symbol calls.
10436         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
10437         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
10438         strong alias of __ldexpl.
10439         (scalbnl): Define using long_double_symbol.
10440         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
10441         Remove alias.
10442         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
10443         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
10444         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
10445         (scalbln_test_data): Add more errno expectations.
10447 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
10449         Cache the host port like we cache the task port.  This way we do not
10450         need to call the kernel just to get the port.  Furthermore, we no
10451         longer increase the reference count on every invocation of
10452         `mach_host_self'.
10454         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
10455         Protect declarations against the macro expansion.
10456         * mach/mach_init.c (__mach_host_self_): New variable.
10457         (mach_init): Initialize `__mach_host_self_'.
10458         * mach/mach_init.h (__mach_host_self_): New declaration.
10459         (__mach_host_self, mach_host_self): New macros.
10460         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
10461         Release reference.
10463 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
10465         [BZ #4404]
10466         * po/de.po: Update from Translation Project.
10468         [BZ #16415]
10469         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
10470         (__expm1l): Remove code to handle positive infinity and overflow.
10471         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
10472         variable.
10473         (__expm1l): Remove code to handle positive infinity and overflow.
10475 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
10476             Paul Pluzhnikov  <ppluzhnikov@google.com>
10478         [BZ #18872]
10479         * stdio-common/Makefile (tst-printf-bz18872): New test.
10480         (tst-printf-bz18872-mem.out): Likewise.
10481         * stdio-common/tst-printf-bz18872.sh: Generate new test.
10482         * stdio-common/vfprintf.c: Fix memory leaks.
10484 2015-09-16  Andreas Schwab  <schwab@suse.de>
10486         [BZ #17244]
10487         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
10488         Remove extra va_start/va_end calls.
10490         [BZ #17243]
10491         * posix/execl.c (execl): Add missing va_end.
10492         * posix/execle.c (execle): Likewise.
10493         * posix/execlp.c (execlp): Likewise.
10495 2015-09-15  Roland McGrath  <roland@hack.frob.com>
10497         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
10498         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
10500 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
10502         [BZ #18967]
10503         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
10504         undefine around includes of <bits/mathcalls.h>.
10505         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
10506         not declare function.
10507         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
10508         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
10509         (scalb): Likewise.
10510         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
10511         not define macro.
10512         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
10513         variable.
10514         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10515         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10516         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10518         [BZ #18857]
10519         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
10520         return non-finite argument without doing ordered comparisons on
10521         it.
10523         [BZ #16296]
10524         * math/fenv.h (fegetround): Use __attribute_pure__.
10525         * include/fenv.h (__fegetround): Likewise.
10527         [BZ #18595]
10528         * math/s_ctan.c (__ctan): Force underflow exception for results
10529         whose real or imaginary part has small absolute value.
10530         * math/s_ctanf.c (__ctanf): Likewise.
10531         * math/s_ctanh.c (__ctanh): Likewise.
10532         * math/s_ctanhf.c (__ctanhf): Likewise.
10533         * math/s_ctanhl.c (__ctanhl): Likewise.
10534         * math/s_ctanl.c (__ctanl): Likewise.
10535         * math/auto-libm-test-in: Do not allow missing underflow for ctan
10536         and ctanh.  Add more tests of ctan and ctanh.
10538         [BZ #15918]
10539         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
10540         handling of cases where one argument is an infinity.
10542         [BZ #18875]
10543         [BZ #18966]
10544         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
10545         (MO): New macro.
10546         (__ieee754_exp10): For small results, force underflow exception
10547         and remove excess range and precision from return value.
10548         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
10549         (MO): New macro.
10550         (__ieee754_exp10f): For small results, force underflow exception
10551         and remove excess range and precision from return value.
10552         * math/auto-libm-test-in: Add more tests of exp10.
10553         * math/auto-libm-test-out: Regenerated.
10555 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
10557         [BZ #18875]
10558         [BZ #18961]
10559         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
10560         (MO): New macro.
10561         (__ieee754_exp): For small results, force underflow exception and
10562         remove excess range and precision from return value.
10563         (__exp_finite): Likewise.
10564         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
10565         (MO): New macro.
10566         (__ieee754_expf): For small results, force underflow exception and
10567         remove excess range and precision from return value.
10568         (__expf_finite): Likewise.
10569         * math/auto-libm-test-in: Add more tests of exp.
10570         * math/auto-libm-test-out: Regenerated.
10572         [BZ #16521]
10573         [BZ #18875]
10574         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
10575         small results.
10576         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
10577         (MO): New macro.
10578         (__ieee754_exp2): For small results, force underflow exception and
10579         remove excess range and precision from return value.
10580         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
10581         (MO): New macro.
10582         (__ieee754_exp2f): For small results, force underflow exception
10583         and remove excess range and precision from return value.
10584         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
10585         (MO): New macro.
10586         (__ieee754_exp2l): Force underflow exception for small results.
10587         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10588         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10589         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
10590         (MO): New macro.
10591         (__ieee754_exp2l): Force underflow exception for small results.
10592         * math/auto-libm-test-in: Add more tests or exp2.
10593         * math/auto-libm-test-out: Regenerated.
10595 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
10597         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
10599         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
10600         /dev/null.
10602 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10604         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10605         io fs process)): Drop spurious backslash.
10607 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10609         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
10610         Use sysinfo system call instead of parsing /proc/meminfo.
10611         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
10612         Likewise.
10614 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
10616         [BZ #16985]
10617         * programs/localedef.c (main): Display argv[remaining] when
10618         output_path is NULL.
10620 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
10622         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10623         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
10624         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
10625         tanh.
10626         * math/auto-libm-test-out: Regenerated.
10627         * sysdeps/i386/fpu/libm-test-ulps: Update.
10628         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10629         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10632 2015-09-11  Roland McGrath  <roland@hack.frob.com>
10634         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
10635         Use 'override' keyword to freeze the value here, preventing
10636         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
10638 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
10640         [BZ #14912]
10641         * sysdeps/aarch64/bits/atomic.h: Move to ...
10642         * sysdeps/aarch64/atomic-machine.h: ...here.
10643         (_AARCH64_BITS_ATOMIC_H): Rename macro to
10644         _AARCH64_ATOMIC_MACHINE_H.
10645         * sysdeps/alpha/bits/atomic.h: Move to ...
10646         * sysdeps/alpha/atomic-machine.h: ...here.
10647         * sysdeps/arm/bits/atomic.h: Move to ...
10648         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
10649         * bits/atomic.h: Move to ...
10650         * sysdeps/generic/atomic-machine.h: ...here.
10651         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10652         * sysdeps/i386/bits/atomic.h: Move to ...
10653         * sysdeps/i386/atomic-machine.h: ...here.
10654         * sysdeps/ia64/bits/atomic.h: Move to ...
10655         * sysdeps/ia64/atomic-machine.h: ...here.
10656         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
10657         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
10658         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10659         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
10660         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
10661         * sysdeps/microblaze/bits/atomic.h: Move to ...
10662         * sysdeps/microblaze/atomic-machine.h: ...here.
10663         * sysdeps/mips/bits/atomic.h: Move to ...
10664         * sysdeps/mips/atomic-machine.h: ...here.
10665         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
10666         * sysdeps/powerpc/bits/atomic.h: Move to ...
10667         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
10668         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
10669         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
10670         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
10671         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
10672         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
10673         <atomic-machine.h> instead of <bits/atomic.h>.
10674         * sysdeps/s390/bits/atomic.h: Move to ...
10675         * sysdeps/s390/atomic-machine.h: ...here.
10676         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
10677         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
10678         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10679         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
10680         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
10681         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
10682         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
10683         * sysdeps/tile/bits/atomic.h: Move to ...
10684         * sysdeps/tile/atomic-machine.h: ...here.
10685         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
10686         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
10687         <sysdeps/tile/atomic-machine.h> instead of
10688         <sysdeps/tile/bits/atomic.h>.
10689         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10690         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
10691         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
10692         <sysdeps/tile/atomic-machine.h> instead of
10693         <sysdeps/tile/bits/atomic.h>.
10694         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10695         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
10696         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
10697         <sysdeps/arm/atomic-machine.h> instead of
10698         <sysdeps/arm/bits/atomic.h>.
10699         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
10700         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
10701         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10702         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
10703         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
10704         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10705         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
10706         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
10707         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
10708         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
10709         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
10710         * sysdeps/x86_64/bits/atomic.h: Move to ...
10711         * sysdeps/x86_64/atomic-machine.h: ...here.
10712         * include/atomic.h: Include <atomic-machine.h> instead of
10713         <bits/atomic.h>.
10715         * sysdeps/mips/mips32/libm-test-ulps: Update.
10716         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10718         [BZ #18952]
10719         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
10720         not convert non-integer negative arguments to int to determine the
10721         value of signgam.
10722         * math/auto-libm-test-in: Add more tests of lgamma.
10723         * math/auto-libm-test-out: Regenerated.
10725         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
10726         cosh, csqrt, erfc, expm1 and lgamma.
10727         * math/auto-libm-test-out: Regenerated.
10728         * sysdeps/i386/fpu/libm-test-ulps: Update.
10729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10731 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
10733         [BZ #2542]
10734         [BZ #2543]
10735         [BZ #2558]
10736         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
10737         __lgamma_neg for arguments from -28.0 to -2.0.
10738         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
10739         __lgamma_negf for arguments from -15.0 to -2.0.
10740         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10741         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
10742         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
10743         Call __lgamma_negl for arguments from -33.0 to -2.0.
10744         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
10745         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
10746         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10747         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
10748         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10749         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10750         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10751         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
10752         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10753         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
10754         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
10755         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
10756         (__lgamma_neg): Likewise.
10757         (__lgamma_negl): Likewise.
10758         (__lgamma_product): Likewise.
10759         (__lgamma_productl): Likewise.
10760         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
10761         * math/auto-libm-test-in: Add more tests of lgamma.
10762         * math/auto-libm-test-out: Regenerated.
10763         * sysdeps/i386/fpu/libm-test-ulps: Update.
10764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10766 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
10768         [BZ #18675]
10769         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
10771 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
10773         [BZ #14912]
10774         * bits/libc-lock.h: Move to ...
10775         * sysdeps/generic/libc-lock.h: ...here.
10776         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10777         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
10778         * sysdeps/mach/hurd/libc-lock.h: ...here.
10779         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10780         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
10781         * sysdeps/mach/bits/libc-lock.h: Move to ...
10782         * sysdeps/mach/libc-lock.h: ...here.
10783         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10784         * sysdeps/nptl/bits/libc-lock.h: Move to ...
10785         * sysdeps/nptl/libc-lock.h: ...here.
10786         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10787         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
10788         * sysdeps/nptl/libc-lockP.h: ...here.
10789         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
10790         * crypt/crypt_util.c: Include <libc-lock.h> instead of
10791         <bits/libc-lock.h>.
10792         * dirent/scandir-tail.c: Likewise.
10793         * dlfcn/dlerror.c: Likewise.
10794         * elf/dl-close.c: Likewise.
10795         * elf/dl-iteratephdr.c: Likewise.
10796         * elf/dl-lookup.c: Likewise.
10797         * elf/dl-open.c: Likewise.
10798         * elf/dl-support.c: Likewise.
10799         * elf/dl-writev.h: Likewise.
10800         * elf/rtld.c: Likewise.
10801         * grp/fgetgrent.c: Likewise.
10802         * gshadow/fgetsgent.c: Likewise.
10803         * gshadow/sgetsgent.c: Likewise.
10804         * iconv/gconv_conf.c: Likewise.
10805         * iconv/gconv_db.c: Likewise.
10806         * iconv/gconv_dl.c: Likewise.
10807         * iconv/gconv_int.h: Likewise.
10808         * iconv/gconv_trans.c: Likewise.
10809         * include/link.h: Likewise.
10810         * inet/getnameinfo.c: Likewise.
10811         * inet/getnetgrent.c: Likewise.
10812         * inet/getnetgrent_r.c: Likewise.
10813         * intl/bindtextdom.c: Likewise.
10814         * intl/dcigettext.c: Likewise.
10815         * intl/finddomain.c: Likewise.
10816         * intl/gettextP.h: Likewise.
10817         * intl/loadmsgcat.c: Likewise.
10818         * intl/localealias.c: Likewise.
10819         * intl/textdomain.c: Likewise.
10820         * libidn/idn-stub.c: Likewise.
10821         * libio/libioP.h: Likewise.
10822         * locale/duplocale.c: Likewise.
10823         * locale/freelocale.c: Likewise.
10824         * locale/newlocale.c: Likewise.
10825         * locale/setlocale.c: Likewise.
10826         * login/getutent_r.c: Likewise.
10827         * login/getutid_r.c: Likewise.
10828         * login/getutline_r.c: Likewise.
10829         * login/utmp-private.h: Likewise.
10830         * login/utmpname.c: Likewise.
10831         * malloc/mtrace.c: Likewise.
10832         * misc/efgcvt.c: Likewise.
10833         * misc/error.c: Likewise.
10834         * misc/fstab.c: Likewise.
10835         * misc/getpass.c: Likewise.
10836         * misc/mntent.c: Likewise.
10837         * misc/syslog.c: Likewise.
10838         * nis/nis_call.c: Likewise.
10839         * nis/nis_callback.c: Likewise.
10840         * nis/nss-default.c: Likewise.
10841         * nis/nss_compat/compat-grp.c: Likewise.
10842         * nis/nss_compat/compat-initgroups.c: Likewise.
10843         * nis/nss_compat/compat-pwd.c: Likewise.
10844         * nis/nss_compat/compat-spwd.c: Likewise.
10845         * nis/nss_nis/nis-alias.c: Likewise.
10846         * nis/nss_nis/nis-ethers.c: Likewise.
10847         * nis/nss_nis/nis-grp.c: Likewise.
10848         * nis/nss_nis/nis-hosts.c: Likewise.
10849         * nis/nss_nis/nis-network.c: Likewise.
10850         * nis/nss_nis/nis-proto.c: Likewise.
10851         * nis/nss_nis/nis-pwd.c: Likewise.
10852         * nis/nss_nis/nis-rpc.c: Likewise.
10853         * nis/nss_nis/nis-service.c: Likewise.
10854         * nis/nss_nis/nis-spwd.c: Likewise.
10855         * nis/nss_nisplus/nisplus-alias.c: Likewise.
10856         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10857         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10858         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10859         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
10860         * nis/nss_nisplus/nisplus-network.c: Likewise.
10861         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10862         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10863         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
10864         * nis/nss_nisplus/nisplus-service.c: Likewise.
10865         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10866         * nis/ypclnt.c: Likewise.
10867         * nptl/libc_pthread_init.c: Likewise.
10868         * nss/getXXbyYY.c: Likewise.
10869         * nss/getXXent.c: Likewise.
10870         * nss/getXXent_r.c: Likewise.
10871         * nss/nss_db/db-XXX.c: Likewise.
10872         * nss/nss_db/db-netgrp.c: Likewise.
10873         * nss/nss_db/nss_db.h: Likewise.
10874         * nss/nss_files/files-XXX.c: Likewise.
10875         * nss/nss_files/files-alias.c: Likewise.
10876         * nss/nsswitch.c: Likewise.
10877         * posix/regex_internal.h: Likewise.
10878         * posix/wordexp.c: Likewise.
10879         * pwd/fgetpwent.c: Likewise.
10880         * resolv/res_hconf.c: Likewise.
10881         * resolv/res_libc.c: Likewise.
10882         * shadow/fgetspent.c: Likewise.
10883         * shadow/lckpwdf.c: Likewise.
10884         * shadow/sgetspent.c: Likewise.
10885         * socket/opensock.c: Likewise.
10886         * stdio-common/reg-modifier.c: Likewise.
10887         * stdio-common/reg-printf.c: Likewise.
10888         * stdio-common/reg-type.c: Likewise.
10889         * stdio-common/vfprintf.c: Likewise.
10890         * stdio-common/vfscanf.c: Likewise.
10891         * stdlib/abort.c: Likewise.
10892         * stdlib/cxa_atexit.c: Likewise.
10893         * stdlib/fmtmsg.c: Likewise.
10894         * stdlib/random.c: Likewise.
10895         * stdlib/setenv.c: Likewise.
10896         * string/strsignal.c: Likewise.
10897         * sunrpc/auth_none.c: Likewise.
10898         * sunrpc/bindrsvprt.c: Likewise.
10899         * sunrpc/create_xid.c: Likewise.
10900         * sunrpc/key_call.c: Likewise.
10901         * sunrpc/rpc_thread.c: Likewise.
10902         * sysdeps/arm/backtrace.c: Likewise.
10903         * sysdeps/generic/ldsodefs.h: Likewise.
10904         * sysdeps/generic/stdio-lock.h: Likewise.
10905         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
10906         * sysdeps/i386/backtrace.c: Likewise.
10907         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10908         * sysdeps/m68k/backtrace.c: Likewise.
10909         * sysdeps/mach/hurd/cthreads.c: Likewise.
10910         * sysdeps/mach/hurd/dirstream.h: Likewise.
10911         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
10912         * sysdeps/nptl/malloc-machine.h: Likewise.
10913         * sysdeps/nptl/stdio-lock.h: Likewise.
10914         * sysdeps/posix/dirstream.h: Likewise.
10915         * sysdeps/posix/getaddrinfo.c: Likewise.
10916         * sysdeps/posix/system.c: Likewise.
10917         * sysdeps/pthread/aio_suspend.c: Likewise.
10918         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10919         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10920         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10921         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10922         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
10923         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
10924         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
10925         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10926         * sysdeps/unix/sysv/linux/system.c: Likewise.
10927         * sysdeps/x86_64/backtrace.c: Likewise.
10928         * time/alt_digit.c: Likewise.
10929         * time/era.c: Likewise.
10930         * time/tzset.c: Likewise.
10931         * wcsmbs/wcsmbsload.c: Likewise.
10932         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
10933         instead of <bits/libc-lock.h> in comment.
10935 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
10937         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
10938         Only use .set mips2 if the current ISA is below mips2.
10939         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
10940         Likewise.
10941         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
10942         mips32r2 if the current ISA is below mips32r2.
10943         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
10944         (TLS_IE): Updated to use the TLD_RDHWR macro.
10945         (TLS_LE): Likewise.
10946         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
10947         __ASSEMBLER__ condition.
10949 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10951         Fix parallel build of before-compile targets.
10953         * sysdeps/mach/Makefile ($(patsubst
10954         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
10955         mach-before-compile target.
10956         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10957         io fs process)): Move rule to dedicated hurd-before-compile target.
10959 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10961         Fix rules generating headers in hurd/ and mach/ when initial make call
10962         has subdir= explicitly set.
10964         * sysdeps/mach/Makefile ($(patsubst
10965         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
10966         calling $(MAKE).
10967         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10968         io fs process)): Force subdir to hurd when calling $(MAKE).
10969         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
10970         subdir to mach when calling $(MAKE).
10972 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
10974         Check sysheaders when looking for Mach and Hurd headers
10976         * sysdeps/mach/configure.ac: Add sysheaders check.
10977         * sysdeps/mach/configure: Regenerate.
10978         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
10979         * sysdeps/mach/hurd/configure: Regenerate.
10981 2015-09-04  Roland McGrath  <roland@hack.frob.com>
10983         [BZ #18921]
10984         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
10985         Fix inverted sense of test of 'o_directory_works' value.
10986         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
10987         Bernhard Voelker <mail@bernhard-voelker.de>.
10989 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
10991         [BZ #14912]
10992         * bits/linkmap.h: Move to ...
10993         * sysdeps/generic/linkmap.h: ...here.
10994         * sysdeps/aarch64/bits/linkmap.h: Move to ...
10995         * sysdeps/aarch64/linkmap.h: ...here.
10996         * sysdeps/arm/bits/linkmap.h: Move to ...
10997         * sysdeps/arm/linkmap.h: ...here.
10998         * sysdeps/hppa/bits/linkmap.h: Move to ...
10999         * sysdeps/hppa/linkmap.h: ...here.
11000         * sysdeps/ia64/bits/linkmap.h: Move to ...
11001         * sysdeps/ia64/linkmap.h: ...here.
11002         * sysdeps/mips/bits/linkmap.h: Move to ...
11003         * sysdeps/mips/linkmap.h: ...here.
11004         * sysdeps/s390/bits/linkmap.h: Move to ...
11005         * sysdeps/s390/linkmap.h: ...here.
11006         * sysdeps/sh/bits/linkmap.h: Move to ...
11007         * sysdeps/sh/linkmap.h: ...here.
11008         * sysdeps/x86/bits/linkmap.h: Move to ...
11009         * sysdeps/x86/linkmap.h: ...here.
11010         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
11012 2015-09-04  Andreas Schwab  <schwab@suse.de>
11014         [BZ #18635]
11015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
11016         (__makecontext): Terminate FDE before return label.
11017         (__novec_makecontext): Likewise.
11019 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11021         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
11022         first member of struct sv in syscall macro.
11024 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
11026         [BZ #14912]
11027         * bits/stdio-lock.h: Move to ...
11028         * sysdeps/generic/stdio-lock.h: ...here.
11029         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
11030         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
11031         * sysdeps/nptl/stdio-lock.h: ...here.
11032         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
11033         * include/libio.h: Include <stdio-lock.h> instead of
11034         <bits/stdio-lock.h>.
11035         * sysdeps/nptl/fork.c: Likewise.
11036         * sysdeps/pthread/flockfile.c: Likewise.
11037         * sysdeps/pthread/ftrylockfile.c: Likewise.
11038         * sysdeps/pthread/funlockfile.c: Likewise.
11040         [BZ #14912]
11041         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
11042         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
11043         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
11044         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
11045         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
11046         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11047         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
11049 2015-09-03  Roland McGrath  <roland@hack.frob.com>
11051         * elf/Makefile (test-xfail-tst-protected1a): New variable.
11052         (test-xfail-tst-protected1b): New variable.
11054 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
11056         [BZ #14912]
11057         * bits/libc-tsd.h: Move to ...
11058         * sysdeps/generic/libc-tsd.h: ...here.
11059         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
11060         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
11061         * sysdeps/mach/hurd/libc-tsd.h: ...here.
11062         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
11063         * include/ctype.h: Include <libc-tsd.h> instead of
11064         <bits/libc-tsd.h>.
11065         * include/rpc/rpc.h: Likewise.
11066         * locale/localeinfo.h: Likewise.
11067         * sunrpc/rpc_thread.c: Likewise.
11068         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11069         * sysdeps/nptl/malloc-machine.h: Likewise.
11071         * Makefile (headers): Remove bits/libc-lock.h.
11072         * libio/Makefile (headers): Remove bits/stdio-lock.h.
11074         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
11075         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
11076         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
11077         <bits/stdio-lock.h>.
11078         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
11079         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
11081 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11083         [BZ #18757]
11084         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
11085         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
11086         BZ #18757.
11088 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11090         * malloc/mtrace.pl: Filter out NULL entries.
11092 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
11094         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
11095         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
11096         macro.
11098         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
11099         (TCP_CC_INFO): Likewise.
11100         (TCP_SAVE_SYN): Likewise.
11101         (TCP_SAVED_SYN): Likewise.
11103 2015-08-31  Brett Neumeier <brett@neumeier.us>
11105         [BZ #18870]
11106         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
11108 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
11110         [BZ #18873]
11111         Fix broken overflow check in posix_fallocate
11112         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
11113         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11114         Fix parenthesization typo.
11116 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
11118         [BZ #18887]
11119         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
11120         tst-mntent-blank-passno.
11121         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
11122         * misc/tst-mntent-blank-corrupt.c: New test.
11123         * misc/tst-mntent-blank-passno.c: New test ripped from ...
11124         * misc/tst-mntent.c (do_test): ... here.
11126 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
11128         [BZ #4404]
11129         * po/de.po: Fix SIGALRM typo.
11131 2015-08-28  James Perkins  <james@loowit.net>
11133         * time/tst-strptime2.c (tests): Replace short list of test
11134         strings for strptime %z specifier with code which exhaustively
11135         tests every combination of sign and 0 to 5 digits. Tests for
11136         rejection of invalid strings.
11138 2015-08-28  James Perkins  <james@loowit.net>
11140         [BZ #16141]
11141         * time/strptime_l.c (__strptime_internal): Fix %z minutes
11142         calculation, removing incorrect decimal time rounding, so that
11143         all minute values result in a valid seconds value.
11144         * time/strptime_l.c (__strptime_internal): Extend %z time zone
11145         offset range limits to UTC-99:59 through UTC+99:59 to parse
11146         current and historical use cases.
11147         * time/tst-strptime2.c (tests): Modify and add tests for the
11148         strptime %z input field descriptor, specifically conversion of
11149         minutes to seconds and validating an offset range of -9959 to
11150         +9959.
11152 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11153             Dmitry V. Levin  <ldv@altlinux.org>
11155         [BZ #18877]
11156         * posix/Makefile (tests): Add tst-mmap-offset.
11157         * posix/tst-mmap.c: New file.
11158         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
11159         offset calculation for negative values.
11161 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11163         * sysdeps/i386/init-arch.h: New file.
11164         * sysdeps/i386/i586/init-arch.h: Likewise.
11165         * sysdeps/i386/i686/init-arch.h: Likewise.
11166         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
11167         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
11168         * sysdeps/x86/cpu-features.h (bit_I586): New.
11169         (bit_I686): Likewise.
11170         (bit_CX8): Likewise.
11171         (bit_CMOV): Likewise.
11172         (index_CX8): Likewise.
11173         (index_CMOV): Likewise.
11174         (index_I586): Likewise.
11175         (index_I686): Likewise.
11176         (reg_CX8): Likewise.
11177         (reg_CMOV): Likewise.
11178         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
11179         available at compile-time.
11180         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
11181         available at compile-time.
11182         * sysdeps/x86/init-arch.h (USE_I586): New macro.
11183         (USE_I686): Likewise.
11185 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11187         * sysdeps/i386/bcopy.S: New file.
11188         * sysdeps/i386/bzero.S: Likewise.
11189         * sysdeps/i386/memcpy.S: Likewise.
11190         * sysdeps/i386/memmove.S: Likewise.
11191         * sysdeps/i386/mempcpy.S: Likewise.
11192         * sysdeps/i386/memset.S: Likewise.
11193         * sysdeps/i386/bzero.c: Removed.
11194         * sysdeps/i386/memset.c: Likewise.
11195         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
11196         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
11197         * sysdeps/i386/i586/memset_chk.S: Likewise.
11198         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
11199         * sysdeps/i386/memcpy_chk.S: Here.
11200         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
11201         * sysdeps/i386/memmove_chk.S: Here.
11202         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
11203         * sysdeps/i386/mempcpy_chk.S: Likewise.
11204         * sysdeps/i386/i686/memset_chk.S: Moved to ...
11205         * sysdeps/i386/memset_chk.S: Likewise.
11207 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
11209         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
11210         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
11211         file, move DIAG_POP_NEEDS_COMMENT to end of file.
11212         * soft-fp/fmadf4.c: Ditto.
11213         * soft-fp/fmatf4.c: Ditto.
11215 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11217         * sysdeps/i386/i586/Implies: Removed.
11218         * sysdeps/i386/i686/Implies: Likewise.
11220 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11222         * sysdeps/i386/i486/strlen.S: Moved to ...
11223         * sysdeps/i386/strlen.S: Here.
11225 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11227         * sysdeps/i386/i486/strcat.S: Moved to ...
11228         * sysdeps/i386/strcat.S: Here.
11230 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11232         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
11233         * sysdeps/i386/pthread_spin_trylock.S: Here.
11234         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
11235         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
11237 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11239         * sysdeps/i386/i486/string-inlines.c: Moved to ...
11240         * sysdeps/i386/string-inlines.c: Here.
11242 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11244         * sysdeps/i386/i486/htonl.S: Moved ...
11245         * sysdeps/i386/htonl.S: here.
11247 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11249         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
11250         * sysdeps/i386/bits/atomic.h: Here.
11252 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11254         * sysdeps/i386/i486/Versions: Removed.
11256 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11258         [BZ #2898]
11259         * misc/mktemp.c: Add mkdtemp to the link_warning message.
11260         Based on patch by Aurelien Jarno.
11262 2015-08-26  Stan Shebs  <stanshebs@google.com>
11264         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
11265         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11267 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11269         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
11270         * sysdeps/powerpc/dl-procinfo.c:
11271         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
11272         feature so it shows when LD_SHOW_AUXV=1.
11274 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11276         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11277         (__arch_compare_and_exchange_val_32_acq): Remove and use common
11278         definition.  ISA 2.07B no longer requires full sync.
11280 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
11282         [BZ #18863]
11283         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
11284         (si_call_addr): Define.
11285         (si_syscall): Define.
11286         (si_arch): Define.
11288 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11290         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
11291         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
11292         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
11293         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
11294         (__memset_zero_constant_len_parameter): New.
11295         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
11296         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
11297         (__memset_zero_constant_len_parameter): Don't define if
11298         __memset_chk or USE_AS_BZERO are defined.
11300         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
11301         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
11302         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
11304         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
11305         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
11306         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
11307         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
11308         comments.
11309         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
11310         -mno-mmx for $(all-rtld-routines).
11311         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
11312         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
11313         i386.
11315 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11317         * sysdeps/generic/unwind.h
11318         (_Unwind_Word): Use __mode__(__unwind_word__)
11319         instead of __mode__(__word__).
11320         (_Unwind_Sword): Likewise.
11322         * sysdeps/s390/s390-64/utf8-utf16-z9.c
11323         (MAX_NEEDED_INPUT): New define.
11324         (MAX_NEEDED_OUTPUT): New define.
11326         * NEWS: New item for IBM z13 string optimizations.
11328         * sysdeps/s390/multiarch/memrchr-c.c: New File.
11329         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
11330         * sysdeps/s390/multiarch/memrchr.c: Likewise.
11331         * sysdeps/s390/multiarch/Makefile
11332         (sysdep_routines): Add memrchr functions.
11333         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11334         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
11336         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
11337         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
11338         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
11339         * sysdeps/s390/multiarch/Makefile
11340         (sysdep_routines): Add wmemcmp functions.
11341         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11342         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
11343         * benchtests/bench-wmemcmp.c: New File.
11344         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
11346         * sysdeps/s390/multiarch/wmemset-c.c: New File.
11347         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
11348         * sysdeps/s390/multiarch/wmemset.c: Likewise.
11349         * sysdeps/s390/multiarch/Makefile
11350         (sysdep_routines): Add wmemset functions.
11351         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11352         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
11353         * wcsmbs/wmemset.c: Use WMEMSET if defined.
11354         * string/test-memset.c: Add wmemset support.
11355         * wcsmbs/test-wmemset.c: New File.
11356         * wcsmbs/Makefile (strop-tests): Add wmemset.
11357         * benchtests/bench-memset.c: Add wmemset support.
11358         * benchtests/bench-wmemset.c: New File.
11359         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
11361         * sysdeps/s390/multiarch/memccpy-c.c: New File.
11362         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
11363         * sysdeps/s390/multiarch/memccpy.c: Likewise.
11364         * sysdeps/s390/multiarch/Makefile
11365         (sysdep_routines): Add memccpy functions.
11366         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11367         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
11368         * string/memccpy.c: Use MEMCCPY if defined.
11370         * sysdeps/s390/multiarch/memchr-vx.S: New File.
11371         * sysdeps/s390/multiarch/memchr.c: Likewise.
11372         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
11373         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
11374         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
11375         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
11376         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
11377         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
11378         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
11379         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
11380         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
11381         and rawmemchr functions.
11382         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11383         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
11384         and wmemchr.
11385         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
11386         * string/test-memchr.c: Add wmemchr support.
11387         * wcsmbs/test-wmemchr.c: New File.
11388         * wcsmbs/Makefile (strop-tests): Add wmemchr.
11389         * benchtests/bench-memchr.c: Add wmemchr support.
11390         * benchtests/bench-wmemchr.c: New File.
11391         * benchtests/Makefile (wcsmbs-bench): wmemchr.
11393         * sysdeps/s390/multiarch/strcspn-c.c: New File.
11394         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
11395         * sysdeps/s390/multiarch/strcspn.c: Likewise.
11396         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
11397         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
11398         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
11399         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
11400         wcscspn functions.
11401         * sysdeps/s390/multiarch/ifunc-impl-list.c
11402         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
11403         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
11404         * string/test-strcspn.c: Add wcscspn support.
11405         * wcsmbs/test-wcscspn.c: New File.
11406         * wcsmbs/Makefile (strop-tests): Add wcscspn.
11407         * benchtests/bench-strcspn.c: Add wcscspn support.
11408         * benchtests/bench-wcscspn.c: New File.
11409         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
11411         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
11412         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
11413         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
11414         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
11415         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
11416         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
11417         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
11418         wcspbrk functions.
11419         * sysdeps/s390/multiarch/ifunc-impl-list.c
11420         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
11421         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
11422         * string/test-strpbrk.c: Add wcspbrk support.
11423         * wcsmbs/test-wcspbrk.c: New File.
11424         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
11425         * benchtests/bench-strpbrk.c: Add wcspbrk support.
11426         * benchtests/bench-wcspbrk.c: New File.
11427         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
11429         * sysdeps/s390/multiarch/strspn-c.c: New File.
11430         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
11431         * sysdeps/s390/multiarch/strspn.c: Likewise.
11432         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
11433         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
11434         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
11435         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
11436         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
11437         wcsspn functions.
11438         * sysdeps/s390/multiarch/ifunc-impl-list.c
11439         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
11440         * string/test-strspn.c: Add wcsspn support.
11441         * wcsmbs/test-wcsspn.c: New File.
11442         * wcsmbs/Makefile (strop-tests): Add wcsspn.
11443         * benchtests/bench-strspn.c: Add wcsspn support.
11444         * benchtests/bench-wcsspn.c: New File.
11445         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
11447         * sysdeps/s390/multiarch/strrchr-c.c: New File.
11448         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
11449         * sysdeps/s390/multiarch/strrchr.c: Likewise.
11450         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
11451         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
11452         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
11453         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
11454         wcsrchr functions.
11455         * sysdeps/s390/multiarch/ifunc-impl-list.c
11456         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
11457         * benchtests/bench-wcsrchr.c: New File.
11458         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
11460         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
11461         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
11462         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
11463         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
11464         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
11465         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
11466         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
11467         wcschrnul functions.
11468         * sysdeps/s390/multiarch/ifunc-impl-list.c
11469         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
11470         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
11471         * string/test-strchr.c: Add wcschrnul support.
11472         * wcsmbs/test-wcschrnul.c: New File.
11473         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
11474         * benchtests/bench-strchr.c: Add wcschrnul support.
11475         * benchtests/bench-wcschrnul.c: New File.
11476         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
11478         * sysdeps/s390/multiarch/strchr-c.c: New File.
11479         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
11480         * sysdeps/s390/multiarch/strchr.c: Likewise.
11481         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
11482         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
11483         * sysdeps/s390/multiarch/wcschr.c: Likewise.
11484         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
11485         wcschr functions.
11486         * sysdeps/s390/multiarch/ifunc-impl-list.c
11487         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
11488         * string/strchr.c (STRCHR): Define and use macro.
11489         * benchtests/bench-wcschr.c: New File.
11490         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
11492         * sysdeps/s390/multiarch/strncmp-c.c: New File.
11493         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
11494         * sysdeps/s390/multiarch/strncmp.c: Likewise.
11495         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
11496         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
11497         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
11498         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
11499         wcsncmp functions.
11500         * sysdeps/s390/multiarch/ifunc-impl-list.c
11501         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
11502         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
11503         * benchtests/bench-strncmp.c: Add wcsncmp support.
11504         * benchtests/bench-wcsncmp.c: New File.
11505         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
11507         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
11508         * sysdeps/s390/multiarch/strcmp.c: Likewise.
11509         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
11510         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
11511         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
11512         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
11513         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
11514         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
11515         wcscmp functions.
11516         * sysdeps/s390/multiarch/ifunc-impl-list.c
11517         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
11518         * string/strcmp.c (STRCMP): Define and use macro.
11519         * benchtests/bench-wcscmp.c: New File.
11520         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
11521         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
11522         instead of _HAVE_STRING_ARCH_memchr.
11524         * sysdeps/s390/multiarch/strncat-c.c: New File.
11525         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
11526         * sysdeps/s390/multiarch/strncat.c: Likewise.
11527         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
11528         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
11529         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
11530         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
11531         wcsncat functions.
11532         * sysdeps/s390/multiarch/ifunc-impl-list.c
11533         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
11534         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
11535         * string/test-strncat.c: Add wcsncat support.
11536         * wcsmbs/test-wcsncat.c: New File.
11537         * wcsmbs/Makefile (strop-tests): Add wcsncat.
11538         * benchtests/bench-strncat.c: Add wcsncat support.
11539         * benchtests/bench-wcsncat.c: New File.
11540         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
11542         * sysdeps/s390/multiarch/strcat-c.c: New File.
11543         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
11544         * sysdeps/s390/multiarch/strcat.c: Likewise.
11545         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
11546         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
11547         * sysdeps/s390/multiarch/wcscat.c: Likewise.
11548         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
11549         wcscat functions.
11550         * sysdeps/s390/multiarch/ifunc-impl-list.c
11551         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
11552         * string/strcat.c (STRCAT): Define and use macro.
11553         * wcsmbs/wcscat.c: Use WCSCAT if defined.
11554         * string/test-strcat.c: Add wcscat support.
11555         * wcsmbs/test-wcscat.c: New File.
11556         * wcsmbs/Makefile (strop-tests): Add wcscat.
11557         * benchtests/bench-strcat.c: Add wcscat support.
11558         * benchtests/bench-wcscat.c: New File.
11559         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
11561         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
11562         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
11563         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
11564         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
11565         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
11566         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
11567         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
11568         wcpncpy functions.
11569         * sysdeps/s390/multiarch/ifunc-impl-list.c
11570         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
11571         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
11572         * string/test-stpncpy.c: Add wcpncpy support.
11573         * wcsmbs/test-wcpncpy.c: New File.
11574         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
11575         * benchtests/bench-stpncpy.c: Add wcpncpy support.
11576         * benchtests/bench-wcpncpy.c: New File.
11577         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
11579         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
11580         * sysdeps/s390/multiarch/strncpy.c: Likewise.
11581         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
11582         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
11583         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
11584         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
11585         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
11586         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
11587         wcsncpy functions.
11588         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
11589         * sysdeps/s390/multiarch/ifunc-impl-list.c
11590         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
11591         * string/test-strncpy.c: Add wcsncpy support.
11592         * wcsmbs/test-wcsncpy.c: New File.
11593         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
11594         * benchtests/bench-strncpy.c: Add wcsncpy support.
11595         * benchtests/bench-wcsncpy.c: New File.
11596         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
11598         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
11599         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
11600         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
11601         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
11602         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
11603         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
11604         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
11605         wcpcpy functions.
11606         * string/stpcpy.c: Use STPCPY if defined.
11607         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
11608         * sysdeps/s390/multiarch/ifunc-impl-list.c
11609         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
11610         * string/test-stpcpy.c: Add wcpcpy support.
11611         * wcsmbs/test-wcpcpy.c: New File.
11612         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
11613         * benchtests/bench-stpcpy.c: Add wcpcpy support.
11614         * benchtests/bench-wcpcpy.c: New File.
11615         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
11617         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
11618         * sysdeps/s390/multiarch/strcpy.c: Likewise.
11619         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
11620         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
11621         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
11622         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
11623         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
11624         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
11625         wcscpy functions.
11626         * sysdeps/s390/multiarch/ifunc-impl-list.c
11627         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
11628         * benchtests/bench-wcscpy.c: New File.
11629         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
11631         * sysdeps/s390/multiarch/strnlen-c.c: New File.
11632         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
11633         * sysdeps/s390/multiarch/strnlen.c: Likewise.
11634         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
11635         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
11636         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
11637         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
11638         wcsnlen functions.
11639         * sysdeps/s390/multiarch/ifunc-impl-list.c
11640         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
11641         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
11642         * string/test-strnlen.c: Add wcsnlen support.
11643         * wcsmbs/test-wcsnlen.c: New File.
11644         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
11645         * benchtests/bench-strnlen.c: Add wcsnlen support.
11646         * benchtests/bench-wcsnlen.c: New File.
11647         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
11649         * sysdeps/s390/multiarch/Makefile: New File.
11650         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
11651         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
11652         * sysdeps/s390/multiarch/strlen.c: Likewise.
11653         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
11654         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
11655         * sysdeps/s390/multiarch/wcslen.c: Likewise.
11656         * string/strlen.c (STRLEN): Define and use macro.
11657         * sysdeps/s390/multiarch/ifunc-impl-list.c
11658         (IFUNC_VX_IMPL): New macro function.
11659         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
11660         * benchtests/Makefile (wcsmbs-bench): New variable.
11661         (string-bench-all): Added wcsmbs-bench.
11662         * benchtests/bench-wcslen.c: New File.
11664         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
11665         s390_vx_libc_ifunc2): New macro function.
11667         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
11668         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
11669         assembler support.
11670         * sysdeps/s390/configure: Regenerated.
11672         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
11673         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
11675         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
11676         * sysdeps/s390/dl-procinfo.h: Add vector capability.
11677         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
11679         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
11680         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
11681         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
11682         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
11683         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
11684         (memcmp, bcmp): Use __memcmp_default as alias source.
11685         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
11686         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
11687         Rename to __memcmp_default.
11688         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
11689         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
11690         (memcpy): Use __memcpy_default as alias source.
11691         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
11692         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
11693         Rename to __memcpy_default.
11694         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
11695         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
11696         (memset): Use __memset_default as alias source.
11697         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
11698         * sysdeps/s390/s390-32/memset.S (__memset_g5):
11699         Rename to __memset_default.
11700         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
11701         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
11702         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
11703         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
11704         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
11705         (memcmp, bcmp): Use __memcmp_default as alias source.
11706         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
11707         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
11708         Rename to __memcmp_default.
11709         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
11710         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
11711         (memcpy): Use __memcpy_default as alias source.
11712         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
11713         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
11714         Rename to __memcpy_default.
11715         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
11716         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
11717         (memset): Use __memset_default as alias source.
11718         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
11719         * sysdeps/s390/s390-64/memset.S (__memset_z900):
11720         Rename to __memset_default.
11721         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
11722         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
11724         [BZ #18610]
11725         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
11726         __ieee_instruction_pointer to __unused.
11727         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
11728         __ieee_instruction_pointer.
11729         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
11730         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
11731         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11732         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11733         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
11734         Mark dxc-field as reserved.
11736 2015-08-25  Roland McGrath  <roland@hack.frob.com>
11738         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
11739         if the weak reference is not null.
11741 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11743         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
11745         [BZ #11214]
11746         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
11748 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11750         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
11751         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
11752         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
11753         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
11754         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
11755         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
11756         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
11757         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
11758         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
11759         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
11760         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
11761         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
11762         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
11763         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
11764         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
11765         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
11766         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
11767         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
11769 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11771         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
11772         register other than r0 for tabort, it has special meaning.
11773         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
11774         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
11775         transaction before starting syscall.
11777 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11779         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
11781 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11783         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
11785         * sysdeps/x86_64/rtld-memcmp.c: Removed.
11786         * sysdeps/x86_64/rtld-memset.S: Likewise.
11787         * sysdeps/x86_64/rtld-strchr.S: Likewise.
11788         * sysdeps/x86_64/rtld-strlen.S: Likewise.
11789         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
11790         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11792         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
11794 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
11796         * debug/strcpy_chk.c: Improve performance.
11797         * debug/stpcpy_chk.c: Likewise.
11798         * sysdeps/x86_64/strcpy_chk.S: Remove.
11799         * sysdeps/x86_64/stpcpy_chk.S: Remove.
11801         [BZ #18240]
11802         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
11804 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11806         [BZ #15128]
11807         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
11808         ifuncmain8.
11809         (modules-names): Add ifuncmod8.
11810         ($(objpfx)ifuncmain8): New rule.
11811         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
11812         <cpuid.h>.
11813         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
11814         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
11815         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
11816         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
11817         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
11818         * sysdeps/x86_64/dl-trampoline.h: Likewise.
11819         * sysdeps/x86_64/ifuncmain8.c: New file.
11820         * sysdeps/x86_64/ifuncmod8.c: Likewise.
11821         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
11822         Removed.
11823         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
11824         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
11825         Change rtld_savespace_sse to __glibc_unused2.
11826         (RTLD_CHECK_FOREIGN_CALL): Removed.
11827         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
11828         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
11829         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
11831 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
11833         * sysdeps/aarch64/bzero.S (__bzero): Remove.
11835 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
11837         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
11838         Unconditionally set __fpcr to avoid uninialized warning.
11839         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
11841 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11843         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
11844         is corrupt.
11846         * malloc/arena.c (arena_get2): Drop unused argument.
11847         (arena_lock): Adjust.
11848         (arena_get_retry): Likewise.
11850 2015-08-24  Andreas Schwab  <schwab@suse.de>
11852         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
11853         Don't define.
11854         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11855         (__ASSUME_IPC64): Don't undef.
11856         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
11857         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11858         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11859         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
11860         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
11861         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
11862         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
11863         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
11864         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
11865         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
11866         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
11867         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
11868         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
11869         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
11870         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
11871         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
11872         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
11873         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
11874         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
11875         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
11876         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
11878 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
11880         * manual/Makefile (install): Only build manual when perl is available.
11882 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11884         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
11885         '#undef memcpy' by '#undef memchr'.
11887 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11889         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
11890         memchr not point to the internal __GI_memchr implementation.
11892 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
11894         * timezone/Makefile (CFLAGS-zdump.c): Remove
11895         -Wno-strict-prototypes.
11896         (CFLAGS-zic.c): Likewise.
11897         (CFLAGS-ialloc.c): Likewise.
11898         (CFLAGS-scheck.c): Likewise.
11900         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
11901         -Wno-error=undef.
11903 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11905         * i386/i686/multiarch/strcasestr-c.c: Removed.
11906         * x86_64/multiarch/strcasestr.c: Likewise.
11907         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11908         Remove strcasestr.
11910 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
11912         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
11914         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
11915         variables for high and low parts before possibly modifying them.
11917 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11919         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
11920         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
11921         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
11922         of "multiarch/init-arch.h".
11923         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
11924         * sysdeps/x86/init-arch.h: This.
11926 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11928         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
11929         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
11931 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
11933         [BZ #17787]
11934         * manual/macros.texi: Add twoexp macro.
11935         * manual/filesys.texi: Fix exponents.
11936         * manual/llio.texi: Likewise.
11937         * manual/stdio.texi: Likewise.
11939 2015-08-20  Florian Weimer  <fweimer@redhat.com>
11941         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
11942         incorrect use.
11944 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
11946         [BZ #18370]
11947         * math/s_csqrt.c (__csqrt): Force underflow exception for results
11948         whose real or imaginary part has small absolute value.
11949         * math/s_csqrtf.c (__csqrtf): Likewise.
11950         * math/s_csqrtl.c (__csqrtl): Likewise.
11951         * math/auto-libm-test-in: Add more tests of csqrt.
11952         * math/auto-libm-test-out: Regenerated.
11953         * sysdeps/i386/fpu/libm-test-ulps: Update.
11955 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11957         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
11958         __ppc_set_ppr_very_low): New functions.
11959         * manual/platform.texi: Add documentation about
11960         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
11962 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
11964         * string/stpncpy.c (stpncpy): Improve performance using
11965         __strnlen/memcpy/memset.
11967 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11969         [BZ #18796]
11970         * scripts/test-installation.pl: Don't add -lmvec to build options if
11971         libmvec wasn't built.
11973 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
11975         [BZ #14341]
11976         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
11977         case when there is a gap between DT_REL and DT_JMPREL sections.
11978         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
11979         (LDFLAGS-tst-split-dynreloc): New.
11980         (tst-split-dynreloc-ENV): Likewise.
11981         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
11982         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
11984 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11986         [BZ #18822]
11987         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
11988         attribute_hidden.
11989         (__xstat64_conv): Likewise.
11990         (__xstat32_conv): Likewise.
11992 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11994         [BZ #18822]
11995         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
11996         Don't load %ebx when calling __setcontext.  Call __setcontext
11997         with HIDDEN_JUMPTARGET.
11998         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
11999         libc_hidden_def.
12001 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12003         * sysdeps/i386/i686/Makefile
12004         [$(subdir) == string] (sysdep_routines): Moved to ...
12005         * sysdeps/i386/Makefile: Here.
12006         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
12007         * sysdeps/i386/cacheinfo.c: Here.
12008         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
12009         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
12010         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
12011         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
12013 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12015         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
12016         __i586__ is defined.
12017         (HAS_I686): Defined to 1 if __i686__ is defined.
12019 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
12021         * elf/Makefile [$(have-z-execstack) = yes]
12022         (CPPFLAGS-tst-execstack.c): New variable.
12024         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
12025         conditional to [defined UTMPX || _HAVE_UT_TYPE].
12026         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
12027         UTMPX || _HAVE_UT_TV].
12028         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
12029         UTMPX || _HAVE_UT_TV - 0].
12031 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
12033         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
12034         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
12035         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
12037 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12039         * sysdeps/powerpc/dl-procinfo.c:
12040         (_dl_powerpc_cap_flags): Added missing strings for some
12041         hwcap features.
12042         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
12044 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
12046         Port the 0x7efe...feff pattern to GCC 6.
12047         See Steve Ellcey's bug report in:
12048         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
12049         * string/memrchr.c (MEMRCHR):
12050         * string/rawmemchr.c (RAWMEMCHR):
12051         * string/strchr.c (strchr):
12052         * string/strchrnul.c (STRCHRNUL):
12053         Rewrite code to avoid issues with signed shift overflow.
12055 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
12057         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
12058         whether cpuid is available only if HAS_CPUID is 0.
12059         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
12060         (HAS_I586): Likewise.
12061         (HAS_I686): Likewise.
12063 2015-08-18  Zack Weinberg  <zackw@panix.com>
12065         * misc/Versions (libc): Add GLIBC_2.23.
12067 2015-08-18  Alan Modra  <amodra@gmail.com>
12069         [BZ #18421]
12070         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
12071         .Lp__global.
12072         (_start): Load %dp via .Lp__global.
12073         [!SHARED]: Use .section .rodata.
12075 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12077         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
12078         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
12080 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12082         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
12083         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
12085 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12087         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
12088         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
12090 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12092         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
12093         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
12095 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12097         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
12098         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
12100 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12102         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
12103         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
12105 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12107         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
12109 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12111         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
12112         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
12113         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12114         (__ASSUME_LWS_CAS): Delete.
12116 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12118         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
12119         * sysdeps/hppa/configure: Regenerated.
12120         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
12121         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
12122         * sysdeps/hppa/nptl/tls.h: Likewise.
12124 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
12126         [BZ #18823]
12127         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
12128         for scaling up small arguments.
12129         * math/s_csqrtf.c (__csqrtf): Likewise.
12130         * math/s_csqrtl.c (__csqrtl): Likewise.
12131         * math/auto-libm-test-in: Add more tests of csqrt.
12132         * math/auto-libm-test-out: Regenerated.
12134 2015-08-17  Andreas Schwab  <schwab@suse.de>
12136         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
12137         version set GLIBC_2.19.
12139 2015-08-16  Zack Weinberg  <zackw@panix.com>
12141         [BZ #18681]
12142         * misc/regexp.h: This interface is no longer supported.
12143         Remove all contents, leaving only an #error directive.
12144         * misc/regexp.c (loc1, loc2, locs, step, advance):
12145         Demote to compatibility symbols.
12147 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
12149         [BZ #18084]
12150         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
12151         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
12152         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12153         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
12154         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
12155         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
12156         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
12157         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
12158         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12160 2015-08-15  Zack Weinberg  <zackw@panix.com>
12162         [BZ #18795]
12163         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
12164         buffer length is known to be too large, not if it's known to be
12165         small enough.
12166         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
12167         overflow at runtime, involving a length parameter, twice: once
12168         with a compile-time constant length parameter, once without.
12170 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
12172         [BZ #18824]
12173         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
12174         scaling x * y up instead of down.
12175         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12176         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12177         * math/auto-libm-test-in: Add more tests of fma.
12178         * math/auto-libm-test-out: Regenerated.
12180 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12182         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12184 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12186         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
12187         unnecessary movq.
12188         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
12189         Likewise.
12191 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
12193         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12194         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
12195         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
12196         and tgamma.
12197         * math/auto-libm-test-out: Regenerated.
12198         * sysdeps/i386/fpu/libm-test-ulps: Update.
12199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12201         [BZ #16520]
12202         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
12203         (__tanh): Force underflow exception for arguments with small
12204         absolute value.
12205         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
12206         (__tanhf): Force underflow exception for arguments with small
12207         absolute value.
12208         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
12209         (__tanhl): Force underflow exception for arguments with small
12210         absolute value.
12211         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
12212         (__tanhl): Force underflow exception for arguments with small
12213         absolute value.
12214         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
12215         (__tanhl): Force underflow exception for arguments with small
12216         absolute value.
12217         * math/auto-libm-test-in: Add more tests of tanh.
12218         * math/auto-libm-test-out: Regenerated.
12219         * sysdeps/i386/fpu/libm-test-ulps: Update.
12221 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12223         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
12224         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
12226 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12228         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
12229         <cpuid.h>.
12231 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12233         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
12234         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
12236 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12238         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
12239         Remove $(objpfx)init-arch.o.
12240         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
12241         init-arch.
12242         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
12243         (INIT_ARCH_EXT): Defined as empty.
12244         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
12245         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
12246         __init_cpu_features call.  Replace HAS_XXX with
12247         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12248         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
12249         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
12250         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
12251         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
12252         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
12253         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
12254         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
12255         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
12256         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
12257         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
12258         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
12259         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
12260         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
12261         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
12262         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
12263         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
12264         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
12265         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
12266         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
12267         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
12268         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
12269         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
12270         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
12271         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
12272         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
12273         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
12274         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
12275         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
12276         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
12277         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
12278         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
12279         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
12280         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
12281         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
12282         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
12284 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12286         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
12287         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12288         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
12289         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
12290         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
12291         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
12292         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
12293         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
12294         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
12295         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
12296         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
12297         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
12298         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12299         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12300         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12301         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12302         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12303         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12304         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12305         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12306         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12307         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12308         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12309         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12310         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12311         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12312         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12313         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12314         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12315         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12316         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12317         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12318         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12319         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12320         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12321         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12322         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12323         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12324         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12325         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12326         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12327         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12328         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12330 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12332         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
12333         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12334         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12335         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12336         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12337         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
12338         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12339         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
12340         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12341         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12342         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12343         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
12344         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
12345         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
12346         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
12347         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
12348         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
12349         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
12350         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
12351         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
12352         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
12353         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
12354         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
12355         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12356         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12357         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
12358         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
12359         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
12360         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12361         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12362         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12363         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12364         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12365         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12366         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12367         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12368         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12369         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12370         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12371         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12372         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12373         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12374         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12376 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12378         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
12379         (dl_platform_init): Call init_cpu_features.
12380         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
12381         * sysdeps/i386/i686/cacheinfo.c
12382         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
12383         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
12384         * sysdeps/i386/i686/multiarch/Versions: Removed.
12385         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
12386         Removed.
12387         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
12388         * sysdeps/unix/sysv/linux/x86/Makefile
12389         (libpthread-sysdep_routines): Remove init-arch.
12390         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
12391         <sysdeps/x86_64/dl-procinfo.c> instead of
12392         sysdeps/generic/dl-procinfo.c>.
12393         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
12394         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
12395         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
12396         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
12397         [$(subdir) == elf] (tests-static): Add
12398         tst-get-cpu-features-static.
12399         * sysdeps/x86/Versions: New file.
12400         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
12401         * sysdeps/x86/cpu-features.c: Likewise.
12402         * sysdeps/x86/cpu-features.h: Likewise.
12403         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
12404         * sysdeps/x86/libc-start.c: Likewise.
12405         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
12406         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
12407         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
12408         * sysdeps/x86_64/dl-procinfo.c: Likewise.
12409         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
12410         Assume USE_MULTIARCH is defined and don't check it.
12411         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
12412         (is_amd): Likewise.
12413         (max_cpuid): Likewise.
12414         (intel_check_word): Likewise.
12415         (__cache_sysconf): Don't call __init_cpu_features.
12416         (__x86_preferred_memory_instruction): Removed.
12417         (init_cacheinfo): Don't call __init_cpu_features. Replace
12418         __cpu_features with GLRO(dl_x86_cpu_features).
12419         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
12420         (dl_platform_init): Call init_cpu_features.
12421         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
12422         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
12423         * sysdeps/x86_64/multiarch/Versions: Removed.
12424         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
12425         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
12426         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
12427         Removed.
12428         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
12430 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12432         [BZ #18820]
12433         * libio/Makefile (test-fmemopen-mem): New test.
12434         * libio/test-fmemopen.c (do_bz18820): New test.
12435         * libio/fmemopen.c (__fmemopen): Fix memory leak.
12436         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
12438 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12440         [BZ #16734]
12441         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
12442         (FREE_BUF): Delete.
12443         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
12444         * libio/genops.c (_IO_setb): Use malloc and free directly.
12445         (_IO_default_doallocate, _IO_default_finish): Likewise.
12446         ( _IO_unbuffer_all): Likewise.
12447         ( libc_freeres_fn): Likewise.
12448         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12449         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12450         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
12451         (_IO_wdefault_doallocate): Likewise.
12453 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12455         [BZ #18086]
12456         * sysdeps/posix/nice.c (nice): Restore old errno.
12457         * posix/tst-nice.c (do_test): Add test for BZ #18086.
12459 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
12461         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
12463 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12465         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
12466         __bcopy and add a weak_alias to bcopy.
12467         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
12468         for static build.
12470         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
12471         cleanup macro usage.
12472         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
12473         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
12474         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12475         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
12476         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12477         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
12478         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
12479         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
12480         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12481         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
12482         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12483         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
12484         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12485         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
12486         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12487         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
12488         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
12489         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
12490         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
12492         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
12493         libc_hidden_def.
12494         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
12496         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
12497         (sysdep_routines): Add strstr-ppc64.
12498         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
12500 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
12502         [BZ #18778]
12503         * elf/Makefile (tests): Add Add tst-nodelete2.
12504         (modules-names): Add tst-nodelete2mod.
12505         (tst-nodelete2mod.so-no-z-defs): New.
12506         ($(objpfx)tst-nodelete2): Likewise.
12507         ($(objpfx)tst-nodelete2.out): Likewise.
12508         (LDFLAGS-tst-nodelete2): Likewise.
12509         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
12510         out of loop through all loaded libraries.
12511         * elf/tst-nodelete2.c: New file.
12512         * elf/tst-nodelete2mod.c: Likewise.
12513         * elf/tst-znodelete-zlib.cc: Delete.
12515 2015-08-11  Andreas Schwab  <schwab@suse.de>
12517         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
12518         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
12519         (__openat64_nocancel): Likewise.
12521 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
12523         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
12524         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
12525         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
12526         * math/auto-libm-test-out: Regenerated.
12527         * sysdeps/i386/fpu/libm-test-ulps: Update.
12528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12530 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
12532         [BZ #18790]
12533         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
12534         threshold for returning +/- 1.
12535         * math/auto-libm-test-in: Add more tests of tanh.
12536         * math/auto-libm-test-out: Regenerated.
12537         * sysdeps/i386/fpu/libm-test-ulps: Update.
12539 2015-08-10  Andreas Schwab  <schwab@suse.de>
12541         [BZ #18781]
12542         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
12543         MORE_OFLAGS to oflag.
12544         * io/test-lfs.c (do_test): Test openat64.
12546 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
12548         [BZ #18789]
12549         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
12550         smaller threshold for returning the argument.
12551         * math/auto-libm-test-in: Add more tests of sinh.
12552         * math/auto-libm-test-out: Regenerated.
12553         * sysdeps/i386/fpu/libm-test-ulps: Update.
12555 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
12557         [BZ #18674]
12558         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
12559         break.
12561 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
12563         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
12564         (generated): Don't add $(addprefix z.,$(tzfiles)).
12566 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12568         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
12569         * scripts/sysd-rules.awk: Likewise.
12571 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12573         * iconvdata/tst-tables.sh: Change echo -n to printf.
12574         * nss/db-Makefile: Likewise.
12575         * posix/tst-getconf.sh: Likewise.
12576         * stdio-common/tst-unbputc.sh: Likewise.
12578 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12580         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
12581         MADV_*_PAGES defines behind this feature check.
12583 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
12585         [BZ #18480]
12586         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
12587         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
12588         Define.
12589         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
12590         LOAD_REGS_5, LOAD_REGS_6): Update.
12591         (INTERNAL_SYSCALL): Update using new LOAD defines.
12592         (INTERNAL_SYSCALL_NCS): Likewise.
12593         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
12595 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12597         [BZ #16734]
12598         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
12600 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12602         [BZ #17905]
12603         * catgets/Makefile (tst-catgets-mem): New test.
12604         * catgets/catgets.c (catopen): Don't use unbounded alloca.
12605         * catgets/open_catalog.c (__open_catalog): Likewise.
12606         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
12608 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
12610         [BZ #18787]
12611         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
12612         clobber registers.
12613         (atomic_compare_and_exchange_val_acq): Use register asms to assign
12614         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
12615         Cast return to __typeof (oldval).
12617 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
12619         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
12620         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
12621         and delete sys/syscall.h include.
12623 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
12625         [BZ #16517]
12626         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
12627         (tan): Force underflow exception for arguments with small absolute
12628         value.
12629         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
12630         (__kernel_tanf): Force underflow exception for arguments with
12631         small absolute value.
12632         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
12633         (__kernel_tanl): Force underflow exception for arguments with
12634         small absolute value.
12635         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
12636         (__kernel_tanl): Force underflow exception for arguments with
12637         small absolute value.
12638         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
12639         (__kernel_tanl): Force underflow exception for arguments with
12640         small absolute value.
12641         * math/auto-libm-test-in: Add more tests of tan.
12642         * math/auto-libm-test-out: Regenerated.
12644 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12646         Fix sysdeps/i386/fpu/s_scalbn.S build
12648         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
12650 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
12652         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
12654 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12656         Fix gcrt0.o compilation
12658         When static-start-installed-name is different from
12659         start-installed-name, we must not use the shared objects.
12661         * csu/Makefile
12662         (extra-objs): Add gmon-start.o when building shared library and
12663         $(static-start-installed-name) is different from
12664         $(start-installed-name).
12665         $(objpfx)g$(static-start-installed-name): When building shared
12666         library and $(static-start-installed-name) is different from
12667         $(static-start-installed-name), revert to non-shared rule,
12668         i.e. using $(objpfx)% and gmon-start.o.
12670 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
12672         [BZ #16519]
12673         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
12674         (__ieee754_sinh): Force underflow exception for arguments with
12675         small absolute value.
12676         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
12677         (__ieee754_sinhf): Force underflow exception for arguments with
12678         small absolute value.
12679         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
12680         (__ieee754_sinhl): Force underflow exception for arguments with
12681         small absolute value.
12682         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
12683         (__ieee754_sinhl): Force underflow exception for arguments with
12684         small absolute value.
12685         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
12686         (__ieee754_sinhl): Force underflow exception for arguments with
12687         small absolute value.
12688         * math/auto-libm-test-in: Add more tests of sinh.
12689         * math/auto-libm-test-out: Regenerated.
12690         * sysdeps/i386/fpu/libm-test-ulps: Update.
12692 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12694         * libio/oldfileops.c: Include unistd.h.
12696 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
12698         * stdlib/isomac.c: Include ctype.h.
12700 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
12702         * dirent/tst-seekdir.c (main): Converted to ...
12703         (do_test): ... this.
12704         (TEST_FUNCTION): New macro.
12705         Include test-skeleton.c.
12706         * elf/tst-dlmodcount.c (main): Converted to ...
12707         (do_test): ... this.
12708         (TEST_FUNCTION): New macro.
12709         Include test-skeleton.c.
12710         * elf/tst-order-main.c (main): Converted to ...
12711         (do_test): ... this.
12712         (TEST_FUNCTION): New macro.
12713         Include test-skeleton.c.
12714         * elf/tst-pie2.c (main): Converted to ...
12715         (do_test): ... this.
12716         (TEST_FUNCTION): New macro.
12717         Include test-skeleton.c.
12718         * inet/tst-ether_aton.c (main): Converted to ...
12719         (do_test): ... this.
12720         (TEST_FUNCTION): New macro.
12721         Include test-skeleton.c.
12722         * misc/tst-mntent.c (main): Converted to ...
12723         (do_test): ... this.
12724         (TEST_FUNCTION): New macro.
12725         Include test-skeleton.c.
12726         * misc/tst-tsearch.c (main): Converted to ...
12727         (do_test): ... this.
12728         (TEST_FUNCTION): New macro.
12729         Include test-skeleton.c.
12730         * posix/tst-regexloc.c (main): Converted to ...
12731         (do_test): ... this.
12732         (TEST_FUNCTION): New macro.
12733         Include test-skeleton.c.
12734         * resolv/tst-aton.c (main): Converted to ...
12735         (do_test): ... this.
12736         (TEST_FUNCTION): New macro.
12737         Include test-skeleton.c.
12738         * stdio-common/test-fwrite.c (main): Converted to ...
12739         (do_test): ... this.
12740         (TEST_FUNCTION): New macro.
12741         Include test-skeleton.c.
12742         * stdio-common/tst-ferror.c (main): Converted to ...
12743         (do_test): ... this.
12744         (TEST_FUNCTION): New macro.
12745         Include test-skeleton.c.
12746         * stdio-common/tst-printf.c (main): Converted to ...
12747         (do_test): ... this.
12748         (TEST_FUNCTION): New macro.
12749         Include test-skeleton.c.
12750         * stdio-common/tst-printfsz.c (main): Converted to ...
12751         (do_test): ... this.
12752         (TEST_FUNCTION): New macro.
12753         Include test-skeleton.c.
12754         * stdlib/tst-strtod.c (main): Converted to ...
12755         (do_test): ... this.
12756         (TEST_FUNCTION): New macro.
12757         Include test-skeleton.c.
12758         * string/tst-strlen.c (main): Converted to ...
12759         (do_test): ... this.
12760         (TEST_FUNCTION): New macro.
12761         Include test-skeleton.c.
12762         * string/tst-svc.c (main): Converted to ...
12763         (do_test): ... this.
12764         (TEST_FUNCTION): New macro.
12765         Include test-skeleton.c.
12766         * time/tst-strptime.c (main): Converted to ...
12767         (do_test): ... this.
12768         (TEST_FUNCTION): New macro.
12769         Include test-skeleton.c.
12770         * timezone/tst-timezone.c (main): Converted to ...
12771         (do_test): ... this.
12772         (TEST_FUNCTION): New macro.
12773         Include test-skeleton.c.
12775 2015-08-05  Zack Weinberg  <zackw@panix.com>
12777         * misc/regexp.h: Update comments.
12779 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
12781         [BZ #18635]
12782         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
12783         before return label.
12785 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12787         [BZ #18661]
12788         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
12789         when calling __errno_location.
12790         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
12791         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
12793 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12795         [BZ #18661]
12796         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
12797         (__lll_timedwait_tid): Align stack to 16 bytes when calling
12798         __gettimeofday.
12800 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12802         [BZ #18661]
12803         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12804         (__start_context): Don't use pop to restore %rdi so that stack
12805         is aligned to 16 bytes when calling __setcontext.
12807 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12809         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
12810         only for libc.
12811         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12813 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12815         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
12816         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
12817         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
12819 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12821         * string/memccpy.c (memccpy):
12822         Improve performance by using memchr/memcpy/__mempcpy.
12824 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12826         * string/strncpy.c (strncpy):
12827         Improve performance by using __strnlen/memcpy.
12829 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12831         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12832         Optimize to avoid an unnecessary FPCR read.
12834 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12836         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
12837         Optimize to reduce FPCR/FPSR accesses.
12839 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12841         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
12842         dead->data[category] != NULL.
12844 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
12846         [BZ #18647]
12847         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
12848         and |x| close to 1, use absolute value of x when computing log.
12849         * math/auto-libm-test-in: Add more tests of pow.
12850         * math/auto-libm-test-out: Regenerated.
12852 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12854         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
12855         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
12856         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
12858 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
12860         [BZ #18525]
12861         * locales/km_KH: Remove timezone definition.
12862         * locales/lo_LA: Likewise.
12863         * locales/my_MM: Likewise.
12864         * locales/nan_TW@latin: Likewise.
12865         * locales/th_TH: Likewise.
12866         * locales/uk_UA: Likewise.
12868 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
12870         [BZ #18265]
12871         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
12872         (wcsncat): Likewise.
12873         (wcscmp): Likewise.
12874         (wcsncmp): Likewise.
12876 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12878         * test-skeleton.c (usage): New function.
12879         (main): Call usage when opt is '?'.
12881 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12883         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
12884         before first use.
12886 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12888         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
12889         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
12890         in there too.
12892 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
12894         * version.h (RELEASE): Set to "development".
12895         (VERSION): Set to "2.22.90"
12897         * version.h (RELEASE): Set to "stable".
12898         (VERSION): Set to "2.22"
12899         * include/features.h (__GLIBC_MINOR__): Set to 22.
12901 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
12903         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
12904         Restructure macro to avoid "value computed is not used" warning.
12905         (atomic_compare_and_exchange_val_acq): Likewise.
12907 2015-08-04  Andreas Schwab  <schwab@suse.de>
12909         [BZ #18635]
12910         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
12911         ret.
12912         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
12914 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
12916         * po/pl.po: Updated translation.
12917         * po/uk.po: Likewise.
12918         * po/fi.po: Likewise.
12919         * po/ko.po: Likewise.
12920         * po/ru.po: Likewise.
12921         * po/vi.po: Likewise.
12923 2015-07-31  Zack Weinberg  <zackw@panix.com>
12925         [BZ #18681]
12926         * regexp.h: Add unconditional #warning stating that this header
12927         will be removed soon.  Revise banner comment to match.
12928         (compile): Consistently use ERROR instead of RETURN to report
12929         errors (partial fix for bz#18681).
12930         * regexp.c: Don't include regexp.h. Remove some unnecessary
12931         declarations.
12933 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
12935         * po/libc.pot: Regenerated.
12937 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
12939         [BZ #18740]
12940         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
12941         float-vlen4-arch-ext-cflags): Removed.
12942         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
12943         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
12945 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12947         [BZ #14113]
12948         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
12949         aligned to __aligned__.
12950         (pthread_cond_t, pthread_rwlock_t): Likewise.
12952 2015-07-30  Torvald Riegel  <triegel@redhat.com>
12954         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
12956 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12958         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
12959         (struct sigaction): Change sa_flags from a long to an int, and add
12960         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
12962 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12964         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
12965         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
12966         sysdeps/generic/sysdep.h include.
12967         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
12968         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
12969         sysdeps/hppa/sysdep.h.
12970         (ENTRY, PSEUDO): Undefine before defining.
12972 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12974         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
12975         from scratch to use INTERNAL_SYSCALL.
12977 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
12979         [BZ #18078]
12980         * scripts/check-localplt.awk: Support alternate relocations.
12981         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
12982         sections.
12983         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
12984         malloc entries with + REL R_386_GLOB_DAT.
12985         * sysdeps/x86_64/localplt.data: New file.
12987 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
12989         [BZ #18731]
12990         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
12991         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12992         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12994 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12996         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
12998 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13000         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
13001         directly in terms of __sync_fetch_and_add and delete (int) cast.
13003 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13005         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
13006         the -D_ASM_IA64_CURRENT_H flag.
13008 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13010         [BZ #18641]
13011         * pwd/pwd.h (putpwent): Delete __nonnull markings.
13013 2015-07-27  Andreas Schwab  <schwab@suse.de>
13015         * conform/conformtest.pl (checknamespace): Filter out string
13016         literals while tokenizing.
13018 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
13020         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13021         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
13022         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13024 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
13026         * nptl/tst-join7mod.c: Add #include <string.h>.
13028 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
13030         * sysdeps/nios2/libm-test-ulps: Update.
13032 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
13034         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
13035         Fix order of arguments to the rt_sigprocmask syscall.
13036         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
13037         Likewise.
13039 2015-07-24  Roland McGrath  <roland@hack.frob.com>
13041         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
13043 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13045         [BZ #18457]
13046         * nptl/Makefile (tests): New test case tst-join7.
13047         (modules-names): New test case module tst-join7mod.
13048         * nptl/tst-join7.c: New file.
13049         * nptl/tst-join7mod.c: New file.
13050         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
13051         all translation units in libc.so, libpthread.so and rtld.
13053 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13055         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13057 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
13059         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
13060         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13061         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13062         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13063         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13064         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13065         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13066         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13067         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13068         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13069         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13070         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13071         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
13072         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
13073         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
13074         implementation.
13076 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13078         [BZ #17711]
13079         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13080         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
13081         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13082         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13083         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
13084         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13086 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13088         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
13089         instead of just saying load lock in the comments.
13091 2015-07-23  Roland McGrath  <roland@hack.frob.com>
13093         * sysdeps/unix/Subdirs: Moved ...
13094         * sysdeps/posix/Subdirs: ... here.
13095         * login/pty.h (struct termios, struct winsize): Add forward decls.
13096         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
13097         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
13098         * sysdeps/arm/nacl/libc.abilist: Updated.
13099         * sysdeps/nacl/libutil.abilist: New file.
13101         * bits/signum.h: Update comments to mention 1003.1-2013 too.
13102         (SIGWINCH): New macro.
13104         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
13105         * sysdeps/arm/nacl/libc.abilist: Add it.
13107 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13109         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
13111 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13113         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13114         Swap __glibc_reserved0 and sa_flags order.
13116 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13118         [BZ #18657]
13119         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
13120         are pending TLS destructor calls.
13121         * include/link.h (struct link_map): Add concurrency note for
13122         L_TLS_DTOR_COUNT.
13123         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13124         Don't touch the link map flag.  Atomically increment
13125         l_tls_dtor_count.
13126         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
13127         Avoid taking the load lock and don't touch the link map flag.
13128         * stdlib/tst-tls-atexit-nodelete.c: New test case.
13129         * stdlib/Makefile (tests): Use it.
13130         * stdlib/tst-tls-atexit.c (do_test): dlopen
13131         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
13132         to allow tst-tls-atexit-nodelete test case to use it.
13134 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13136         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
13137         to bits/types.h.
13138         (msgqnum_t): New typedef.
13139         (msglen_t): Likewise.
13140         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
13141         and msg_qbytes type to msglen_t.
13143 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13145         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
13146         pad0 to __glibc_reserved0.
13147         (struct stat64): Likewise.
13149 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13151         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13152         Change sa_flags from a long to an int and add __glibc_reserved0 before
13153         it for padding.
13155 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13157         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
13158         anonymous by deleting "siginfo" name.
13160 2015-07-21  Roland McGrath  <roland@hack.frob.com>
13162         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
13163         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
13164         rather than __nacl_irt_filename.
13165         * sysdeps/nacl/xstat.c (__xstat): Likewise.
13167         * NEWS: New item for arm-nacl port.
13168         * sysdeps/arm/nacl/libc.abilist: New file.
13169         * sysdeps/nacl/ld.abilist: New file.
13170         * sysdeps/nacl/libBrokenLocale.abilist: New file.
13171         * sysdeps/nacl/libanl.abilist: New file.
13172         * sysdeps/nacl/libcrypt.abilist: New file.
13173         * sysdeps/nacl/libdl.abilist: New file.
13174         * sysdeps/nacl/libm.abilist: New file.
13175         * sysdeps/nacl/libpthread.abilist: New file.
13176         * sysdeps/nacl/libresolv.abilist: New file.
13177         * sysdeps/nacl/librt.abilist: New file.
13179 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
13181         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
13182         __startcontext to initialize the new context.
13183         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
13184         up CFI directive to forbid further backtracing.
13186 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
13188         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
13189         reference.
13190         * charmaps/ANSI_X3.4-1968: Likewise.
13191         * charmaps/BS_4730: Likewise.
13192         * charmaps/BS_VIEWDATA: Likewise.
13193         * charmaps/CP1250: Likewise.
13194         * charmaps/CP1251: Likewise.
13195         * charmaps/CP1252: Likewise.
13196         * charmaps/CP1253: Likewise.
13197         * charmaps/CP1254: Likewise.
13198         * charmaps/CP1255: Likewise.
13199         * charmaps/CP1256: Likewise.
13200         * charmaps/CSN_369103: Likewise.
13201         * charmaps/EBCDIC-DK-NO: Likewise.
13202         * charmaps/GB_1988-80: Likewise.
13203         * charmaps/GREEK-CCITT: Likewise.
13204         * charmaps/GREEK7: Likewise.
13205         * charmaps/INIS-8: Likewise.
13206         * charmaps/ISIRI-3342: Likewise.
13207         * charmaps/ISO_2033-1983: Likewise.
13208         * charmaps/ISO_5427-EXT: Likewise.
13209         * locales/POSIX: Likewise.
13210         * locales/ar_SA: Likewise.
13211         * locales/be_BY: Likewise.
13212         * locales/be_BY@latin: Likewise.
13213         * locales/ca_ES: Likewise.
13214         * locales/cs_CZ: Likewise.
13215         * locales/da_DK: Likewise.
13216         * locales/de_BE: Likewise.
13217         * locales/de_CH: Likewise.
13218         * locales/de_LU: Likewise.
13219         * locales/en_AU: Likewise.
13220         * locales/en_BW: Likewise.
13221         * locales/en_CA: Likewise.
13222         * locales/en_DK: Likewise.
13223         * locales/en_GB: Likewise.
13224         * locales/en_IE: Likewise.
13225         * locales/en_NZ: Likewise.
13226         * locales/en_ZA: Likewise.
13227         * locales/en_ZW: Likewise.
13228         * locales/es_AR: Likewise.
13229         * locales/es_BO: Likewise.
13230         * locales/es_CL: Likewise.
13231         * locales/es_CO: Likewise.
13232         * locales/es_DO: Likewise.
13233         * locales/es_EC: Likewise.
13234         * locales/es_ES: Likewise.
13235         * locales/es_HN: Likewise.
13236         * locales/es_MX: Likewise.
13237         * locales/es_PA: Likewise.
13238         * locales/es_PE: Likewise.
13239         * locales/es_PY: Likewise.
13240         * locales/es_SV: Likewise.
13241         * locales/es_US: Likewise.
13242         * locales/es_UY: Likewise.
13243         * locales/es_VE: Likewise.
13244         * locales/et_EE: Likewise.
13245         * locales/fa_IR: Likewise.
13246         * locales/fo_FO: Likewise.
13247         * locales/fr_CA: Likewise.
13248         * locales/fr_CH: Likewise.
13249         * locales/gv_GB: Likewise.
13250         * locales/he_IL: Likewise.
13251         * locales/hr_HR: Likewise.
13252         * locales/id_ID: Likewise.
13253         * locales/is_IS: Likewise.
13254         * locales/it_CH: Likewise.
13255         * locales/iw_IL: Likewise.
13256         * locales/kl_GL: Likewise.
13257         * locales/ko_KR: Likewise.
13258         * locales/kw_GB: Likewise.
13259         * locales/lg_UG: Likewise.
13260         * locales/lt_LT: Likewise.
13261         * locales/lv_LV: Likewise.
13262         * locales/mi_NZ: Likewise.
13263         * locales/nhn_MX: Likewise.
13264         * locales/nl_BE: Likewise.
13265         * locales/pl_PL: Likewise.
13266         * locales/sk_SK: Likewise.
13267         * locales/sl_SI: Likewise.
13268         * locales/sv_FI: Likewise.
13269         * locales/tl_PH: Likewise.
13270         * locales/tr_TR: Likewise.
13271         * locales/vi_VN: Likewise.
13273 2015-07-21  Khem Raj  <raj.khem@gmail.com>
13275         [BZ #17475]
13276         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
13277         of tu_IN and bh_IN.
13279 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
13281         [BZ #18694]
13282         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
13283         bits/wordsize.h.
13284         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
13286 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13288         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
13289         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
13290         (spawn_thread): New function.
13291         (load): Rename to reg_dtor_and_close.  Move dlopen to...
13292         (do_test): ... here.  Use IS_LOADED to test for its
13293         availability.
13295 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
13297         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13299 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
13301         [BZ #18696]
13302         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
13303         si_addr_bnd.
13304         (si_lower): New.
13305         (si_upper): Likewise.
13307 2015-07-16  David S. Miller  <davem@davemloft.net>
13309         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
13311 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13313         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
13314         buffer.
13315         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
13316         fail output information.
13318 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13320         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
13321         and strstr-ppc64..
13322         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13323         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
13324         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
13325         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
13326         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
13328 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
13330         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
13331         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13332         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
13333         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13335 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
13337         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
13338         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
13339         rtld_hidden_proto.
13340         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
13342 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13344         * tst-nodelete-opened.c (do_test): Add comment to clarify how
13345         the test can fail.
13347         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
13349         [BZ #18676]
13350         * elf/tst-nodelete-opened.c: New test case.
13351         * elf/tst-nodelete-opened-lib.c: New test case module.
13352         * elf/Makefile (tests, modules-names): Use them.
13353         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
13354         early.
13356 2015-07-15  David S. Miller  <davem@davemloft.net>
13358         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
13359         futex-intenal.h
13360         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
13361         * sysdeps/sparc/sparc64/Makefile: Likewise.
13362         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
13363         Remove space from macro define.
13364         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
13366 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
13368         [BZ #17475]
13369         * locale/iso-639.def: Update Bhili and Tulu language codes as
13370         per iso639-3.
13372 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
13374         * elf/tst-leaks1.c (main): Converted to ...
13375         (do_test): ... this.
13376         (TEST_FUNCTION): New macro.
13377         Include test-skeleton.c.
13378         * localedata/tst-langinfo.c (main): Converted to ...
13379         (do_test): ... this.
13380         (TEST_FUNCTION): New macro.
13381         Include test-skeleton.c.
13382         * math/test-fpucw.c (main): Converted to ...
13383         (do_test): ... this.
13384         (TEST_FUNCTION): New macro.
13385         Include test-skeleton.c.
13386         * math/test-tgmath.c (main): Converted to ...
13387         (do_test): ... this.
13388         (TEST_FUNCTION): New macro.
13389         Include test-skeleton.c.
13390         * math/test-tgmath2.c (main): Converted to ...
13391         (do_test): ... this.
13392         (TEST_FUNCTION): New macro.
13393         Include test-skeleton.c.
13394         * setjmp/tst-setjmp.c (main): Converted to ...
13395         (do_test): ... this.
13396         (TEST_FUNCTION): New macro.
13397         Include test-skeleton.c.
13398         * stdio-common/tst-sscanf.c (main): Converted to ...
13399         (do_test): ... this.
13400         (TEST_FUNCTION): New macro.
13401         Include test-skeleton.c.
13402         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
13403         (do_test): ... this.
13404         (TEST_FUNCTION): New macro.
13405         Include test-skeleton.c.
13407         * elf/tst-audit9.c (main): Converted to ...
13408         (do_test): ... this.
13409         (TEST_FUNCTION): New macro.
13410         Include test-skeleton.c.
13412 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
13414         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
13416 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13418         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
13419         New variable.
13421 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13423         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13425 2015-07-14  Roland McGrath  <roland@hack.frob.com>
13427         * sysdeps/generic/dl-fileid.h: New file.
13428         * sysdeps/posix/dl-fileid.h: New file.
13429         * sysdeps/nacl/dl-fileid.h: New file.
13430         * include/link.h: Include <dl-fileid.h>.
13431         (struct link_map): Replace l_dev and l_ino with l_file_id.
13432         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
13433         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
13434         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
13436 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13438         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
13440 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13442         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
13443         Add iff $CXX is set.
13444         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
13445         Likewise.
13446         (tst-nodelete-zmodiff): Likewise.
13447         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
13449 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13451         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
13453 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
13455         * sysdeps/aarch64/fpu/math_private.h
13456         (define math_opt_barrier): Add AArch64 version.
13457         (math_force_eval): Likewise.
13459 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
13461         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
13463 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
13465         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
13466         %ld with %jd and cast to intmax_t.
13467         (do_test_length_zero): Likewise.
13469 2015-07-10  Roland McGrath  <roland@hack.frob.com>
13471         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
13473 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
13475         * sysdeps/tile/libm-test-ulps: Regenerated.
13477         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
13478         Comment out the whole function, not just its body.
13480 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13482         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
13483         locks.
13485         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
13487 2015-07-10  Torvald Riegel  <triegel@redhat.com>
13489         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
13490         (sem_assume_only_signals_cause_futex_EINTR): Remove.
13492 2015-07-10  Torvald Riegel  <triegel@redhat.com>
13494         * sysdeps/nptl/futex-internal.h: New file.
13495         * sysdeps/nacl/futex-internal.h: New file.
13496         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
13497         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
13498         error checking.
13499         (setxid_unmark_thread): Likewise.
13500         (__nptl_setxid): Likewise.
13501         (__wait_lookup_done): Likewise.
13502         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
13503         * nptl/nptl-init.c (sighandler_setxid): Likewise.
13504         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
13505         * nptl/pthread_once.c (clear_once_control): Likewise.
13506         (__pthread_once_slow): Likewise.
13507         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
13508         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
13509         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
13510         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
13511         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
13512         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
13513         Likewise.
13514         (__pthread_rwlock_rdlock): Likewise.
13515         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13516         Likewise.
13517         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
13518         Likewise.
13519         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
13520         Likewise.
13521         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
13522         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
13523         Likewise.
13524         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
13525         __ASSUME_PRIVATE_FUTEX check.
13526         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
13527         Check that shared futexes are supported.
13528         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
13529         wrappers with error checking.
13530         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
13531         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
13532         * nptl/pthread_barrierattr_setpshared.c
13533         (pthread_barrierattr_setpshared): Check that shared futexes are
13534         supported.
13535         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
13536         Likewise.
13537         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
13538         Likewise.
13539         * nptl/sem_init.c (futex_private_if_supported): Remove.
13540         (__new_sem_init): Adapt and check that shared futexes are supported.
13541         * nptl/sem_open.c (sem_open): Likewise.
13542         * nptl/sem_post.c (futex_wake): Remove.
13543         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
13544         (do_futex_wait): Use futex wrappers with error checking.
13545         * nptl/sem_wait.c: Include lowlevellock.h.
13546         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
13547         Use futex_supports_pshared.
13548         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
13549         Use futex wrappers with error checking.
13550         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
13551         Likewise.
13552         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
13553         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
13554         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
13555         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
13556         (futex_wake): Likewise.
13557         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
13558         (do_futex_wait): Use futex wrappers with error checking.
13559         (__new_sem_wait_slow): Update EINTR handling.
13560         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
13562 2015-07-09  Martin Sebor  <msebor@redhat.com>
13564         [BZ #18435]
13565         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
13566         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
13567         * nptl/Makefile (test-xfail-tst-once5): Define.
13569 2015-07-09  Roland McGrath  <roland@hack.frob.com>
13571         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
13572         * elf/dl-minimal.c: For readability, reorder some definitions and
13573         introduce more page breaks.  Include <stdio.h>.
13574         (__libc_fatal): New function.
13576         * include/unistd.h: Add rtld_hidden_proto for _exit.
13577         * posix/_exit.c: Add rtld_hidden_def.
13578         * sysdeps/mach/hurd/_exit.c: Likewise.
13579         * sysdeps/nacl/_exit.c: Likewise.
13580         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
13581         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
13583 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
13585         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
13586         bndmov encoding with zero displacement.
13588 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
13589             H.J. Lu  <hongjiu.lu@intel.com>
13591         [BZ #18134]
13592         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
13593         * sysdeps/i386/configure: Regenerated.
13594         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
13595         (_dl_runtime_profile): Save and restore Intel MPX return bound
13596         registers when calling _dl_call_pltexit.  Add
13597         PRESERVE_BND_REGS_PREFIX before return.
13598         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
13599         (LRV_BND1_OFFSET): Likewise.
13600         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
13601         lrv_bnd1.
13602         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
13603         typo in bndmov encoding.
13604         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
13605         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
13606         branch instructions to preserve bounds.
13608 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
13611         [GLIBC_2.22]: Add fmemopen.
13613 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13615         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
13616         returns an error, also try to use host port from __mach_host_self for
13617         the __vm_wire call.
13618         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
13620 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13622         [BZ #18400]
13623         [BZ #18648]
13624         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
13625         Fix pr_uid and pr_gid members.
13626         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
13627         definition to elf_greg_t.
13629 2015-07-08  Roland McGrath  <roland@hack.frob.com>
13631         [BZ #18383]
13632         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
13633         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
13634         * sysdeps/arm/configure: Regenerated.
13635         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
13636         (test-xfail-tst-tlsalign-static): Variable removed.
13638         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
13639         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
13640         rather than explicit 'ln -s'.
13642         * resolv/rpc/netdb.h: New file.
13643         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
13645 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13647         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
13648         length buffers.
13649         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13650         test-skeleton.c.
13652         [BZ #6544]
13653         [BZ #11216]
13654         [BZ #12836]
13655         [BZ #13151]
13656         [BZ #13152]
13657         [BZ #14292]
13658         * include/stdio.h (fmemopen): Remove hidden prototype.
13659         (__fmemopen): Add new hidden prototype.
13660         * libio/Makefile: Add oldfmemopen object.
13661         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
13662         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
13663         compliance.
13664         * libio/oldfmemopen.c: New file: old fmemopen implementation for
13665         symbol compatibility.
13666         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
13667         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
13668         fmemopen.
13669         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
13670         on append and read mode.
13671         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
13672         fmemopen.
13673         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
13674         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
13675         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
13676         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
13677         Likewise.
13678         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
13679         [GLIBC_2.22]: Likewise.
13680         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
13681         Likewise.
13682         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
13683         Likewise.
13684         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
13685         [GLIBC_2.22]: Likewise.
13686         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
13687         [GLIBC_2.22]: Likewise.
13688         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
13689         [GLIBC_2.22]: Likewise.
13690         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
13691         [GLIBC_2.22]: Likewise.
13692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13693         [GLIBC_2.22]: Likewise.
13694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
13695         [GLIBC_2.22]: Likewise.
13696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
13697         [GLIBC_2.22]: Likewise.
13698         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
13699         Likewise.
13700         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
13701         Likewise.
13702         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
13703         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
13704         [GLIBC_2.22]: Likewise.
13705         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
13706         [GLIBC_2.22]: Likewise.
13707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
13708         [GLIBC_2.22]: Likewise.
13709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
13710         [GLIBC_2.22]: Likewise.
13711         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
13712         Likewise.
13713         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
13714         Likewise.
13715         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
13716         Likewise.
13717         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
13718         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
13720 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
13722         [BZ #18643]
13723         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
13724         IPV6_PATHMTU, and IPV6_DONTFRAG.
13726 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
13728         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
13729         and _IO_UNBUFFERED.
13730         * libio/oldfileops.c: Likewise.
13731         * libio/wfileops.c: Likewise.
13733 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13735         * nscd/selinux.c: Delete selinux/flask.h include.
13737 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13739         [BZ #18641]
13740         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
13741         (putpwent): Likewise.
13742         (getpwnam): Likewise.
13743         (getpwent_r): Likewise.
13744         (getpwuid_r): Likewise.
13745         (getpwnam_r): Likewise.
13746         (fgetpwent_r): Likewise.
13748 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
13750         [BZ #18557]
13751         * inet/rcmd.c (__validuser2_sa): Check user first to
13752         short-circuit host check.
13754 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
13755             Mikhail Ilin  <m.ilin@samsung.com>
13757         [BZ #17833]
13758         * elf/Makefile (tests): Add tst-nodelete.
13759         (modules-names): Add tst-nodelete-uniquemod.
13760         (tst-nodelete-uniquemod.so-no-z-defs): New.
13761         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
13762         (tst-nodelete-zmod.so-no-z-defs): Likewise.
13763         ($(objpfx)tst-nodelete): Likewise.
13764         ($(objpfx)tst-nodelete.out): Likewise.
13765         (LDFLAGS-tst-nodelete): Likewise.
13766         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
13767         * elf/dl-close.c (_dl_close_worker): Add a parameter to
13768         implement forced object deletion.
13769         (_dl_close): Pass false to _dl_close_worker.
13770         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
13771         * elf/tst-nodelete.cc: New file.
13772         * elf/tst-nodeletelib.cc: Likewise.
13773         * elf/tst-znodeletelib.cc: Likewise.
13774         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
13776 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13778         [BZ #18508]
13779         * stdlib/Makefile ($(objpfx)tst-makecontext3):
13780         Depend on $(libdl).
13781         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
13782         is not called infinitely times.
13783         (backtrace_helper): New function.
13784         (trace_arg): New struct.
13785         (st1): Enlarge stack size.
13786         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13787         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
13788         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13789         Likewise.
13791 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13793         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13795 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13797         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
13798         Include sys/types.h instead of bits/types.h.
13799         Remove inclusion of bits/wordsize.h.
13801 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13803         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
13804         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
13805         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
13806         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
13807         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
13808         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
13810 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13812         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
13813         link-defines.sym.
13814         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
13815         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
13816         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
13817         and LR_SIZE.
13818         * sysdeps/i386/link-defines.sym: New file.
13820 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13822         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
13823         (modules-names): Add tst-auditmod3a tst-auditmod3b.
13824         ($(objpfx)tst-audit3): New rule.
13825         ($(objpfx)tst-audit3.out): Likewise.
13826         * sysdeps/i386/tst-audit3.c: New file.
13827         * sysdeps/i386/tst-audit3.h: Likewise.
13828         * sysdeps/i386/tst-auditmod3a.c: Likewise.
13829         * sysdeps/i386/tst-auditmod3b.c: Likewise.
13831 2015-07-07  Torvald Riegel  <triegel@redhat.com>
13833         [BZ #18633]
13834         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
13835         pointer in C code.
13836         (__strcat_c): Likewise.
13837         (__strcat_g): Likewise.
13839 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
13841         [BZ #18592]
13842         * misc/sbrk.c: Set errno to ENOMEM on overflow.
13844 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
13846         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
13847         New function.  (__ieee754_sqrtf): New function.
13848         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
13849         New function.
13850         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
13851         New function.
13853 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
13855         * sysdeps/ieee754/support.c: Remove unused file.
13857 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13859         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
13860         registers instead of d ones so the layout is kernel abi compatible.
13861         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
13862         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
13863         Likewise.
13865 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13867         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13869 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
13871         [BZ #18619]
13872         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
13873         and return argument in case of subnormal argument.
13875 2015-07-01  Martin Sebor  <msebor@redhat.com>
13877         [BZ #18435]
13878         * nptl/Makefile: Add tst-once5.cc.
13879         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
13880         Remove macro redefinitions.
13881         * nptl/tst-once5.cc: New test.
13883 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
13885         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13887         * sysdeps/arm/libm-test-ulps: Regenerated.
13889         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13890         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13892 2015-06-30  Torvald Riegel  <triegel@redhat.com>
13894         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
13895         lll_lock_wait_private and lll_futex_wake probes.
13897         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
13898         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
13899         Likewise.
13900         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
13901         atomic_spin_nop.
13902         * sysdeps/x86_64/bits/atomic.h: Likewise.
13903         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
13904         to atomic_spin_nop and move ...
13905         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
13906         ... here and ...
13907         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
13908         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
13909         atomic_spin_nop instead of BUSY_WAIT_NOP.
13910         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
13911         Likewise.
13912         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
13913         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
13914         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
13915         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
13916         instead of atomic_delay.
13918 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
13920         [BZ #18613]
13921         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
13922         X_ADJ not X when adjusting exponent.
13923         (__ieee754_gamma_r): Do intermediate computations in
13924         round-to-nearest then adjust overflowing and underflowing results
13925         as needed.
13926         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
13927         of X_ADJ not X when adjusting exponent.
13928         (__ieee754_gammaf_r): Do intermediate computations in
13929         round-to-nearest then adjust overflowing and underflowing results
13930         as needed.
13931         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
13932         log of X_ADJ not X when adjusting exponent.
13933         (__ieee754_gammal_r): Do intermediate computations in
13934         round-to-nearest then adjust overflowing and underflowing results
13935         as needed.  Use 1.0L not 1.0f as numerator of division.
13936         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
13937         log of X_ADJ not X when adjusting exponent.
13938         (__ieee754_gammal_r): Do intermediate computations in
13939         round-to-nearest then adjust overflowing and underflowing results
13940         as needed.  Use 1.0L not 1.0f as numerator of division.
13941         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
13942         of X_ADJ not X when adjusting exponent.
13943         (__ieee754_gammal_r): Do intermediate computations in
13944         round-to-nearest then adjust overflowing and underflowing results
13945         as needed.  Use 1.0L not 1.0f as numerator of division.
13946         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
13947         to auto-libm-test-in.
13948         (tgamma_test): Use ALL_RM_TEST.
13949         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
13950         tests of tgamma with spurious-overflow.
13951         * math/auto-libm-test-out: Regenerated.
13952         * math/gen-libm-have-vector-test.sh: Do not check for START.
13953         * sysdeps/i386/fpu/libm-test-ulps: Update.
13954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13956         [BZ #18612]
13957         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
13958         arguments, just return 0.5 times the argument, with underflow
13959         forced as needed.
13960         * math/auto-libm-test-in: Add more tests of j1.
13961         * math/auto-libm-test-out: Regenerated.
13963         [BZ #16559]
13964         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
13965         (__ieee754_j1): Force underflow exception for small results.
13966         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13967         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
13968         (__ieee754_j1f): Force underflow exception for small results.
13969         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13970         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13971         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13972         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
13973         (__ieee754_j1l): Force underflow exception for small results.
13974         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13975         * math/auto-libm-test-in: Add more tests of j1 and jn.
13976         * math/auto-libm-test-out: Regenerated.
13978         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
13979         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
13980         (PF_MPLS): Likewise.
13981         (AF_IB): Likewise.
13982         (AF_MPLS): Likewise.
13983         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
13984         value and macro.
13985         (MS_RMT_MASK): Include MS_LAZYTIME.
13987 2015-06-26  Mel Gorman  <mgorman@suse.de>
13989         [BZ #18502]
13990         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
13991         already minimal.
13993 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
13995         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
13996         (DT_MIPS_NUM): Update.
13997         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
13998         DT_MIPS_RLD_MAP_REL.
14000 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
14002         [BZ #16559]
14003         [BZ #18602]
14004         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
14005         round-to-nearest internally then recompute results that
14006         underflowed to zero in the original rounding mode.
14007         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14008         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14009         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14010         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14011         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
14012         * sysdeps/i386/fpu/libm-test-ulps: Update.
14013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14015 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
14017         * NEWS: Fixed description of link with vector math library.
14019 2015-06-25  Andreas Schwab  <schwab@suse.de>
14021         [BZ #18549]
14022         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
14023         * libio/test-fmemopen.c (do_test): Add test for it.
14025 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
14027         [BZ #17841]
14028         * Makeconfig (no-pie-ldflag): New.
14029         (+link): Set to $(+link-pie) if default to PIE.
14030         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
14031         * config.make.in (build-pie-default): New.
14032         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
14033         is default.  AC_SUBST.
14034         * configure: Regenerated.
14035         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
14037 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14039         * nptl/descr.h (struct pthread): Change type of field setxid_futex
14040         to 'unsigned int'.
14042         * resolv/gai_misc.h (struct waitlist): Change type of field
14043         counterp to 'volatile unsigned int *'.
14044         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
14045         FUTEXADDR and OLDVAL.
14046         * resolv/getaddrinfo_a.c (getaddrinfo_a):
14047         Give local variable TOTAL type 'volatile unsigned int'.
14048         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14049         * resolv/gai_suspend.c (gai_suspend):
14050         Give local variable CNTR type 'unsigned int'.
14052         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
14053         counterp to 'volatile unsigned int *'.
14054         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
14055         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
14056         (aio_suspend): Give local variable CNTR type 'unsigned int'.
14057         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
14058         Give local variable TOTAL type 'volatile unsigned int'.
14059         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14061 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14063         [BZ #18383]
14064         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
14065         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
14066         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
14067         comment for i386/x86-64.
14068         (test-xfail-tst-tlsalign-extern-static): Removed.
14070 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14072         * math/test-double.h: New file.
14073         * math/test-float.h: Likewise.
14074         * math/test-ldouble.h: Likewise.
14075         * math/test-math-inline.h: Likewise.
14076         * math/test-math-no-inline.h: Likewise.
14077         * math/test-math-scalar.h: Likewise.
14078         * math/test-math-vector.h: Likewise.
14079         * math/test-vec-loop.h: Remove file.  Contents moved into
14080         test-math-vector.h.
14081         * math/libm-test.inc (MATHCONST): Do not document macro.
14082         * math/test-double.c: Include test-double.h, test-math-no-inline.h
14083         and test-math-scalar.h.
14084         (FUNC): Remove macro.
14085         (FUNC_TEST): Likewise.
14086         (FLOAT): Likewise.
14087         (MATHCONST): Likewise.
14088         (PRINTF_EXPR): Likewise.
14089         (PRINTF_XEXPR): Likewise.
14090         (PRINTF_NEXPR): Likewise.
14091         (TEST_DOUBLE): Likewise.
14092         (TEST_MATHVEC): Likewise.
14093         (__NO_MATH_INLINES): Likewise.
14094         * math/test-float.c: Include test-float.h, test-math-no-inline.h
14095         and test-math-scalar.h.
14096         (FUNC): Remove macro.
14097         (FUNC_TEST): Likewise.
14098         (FLOAT): Likewise.
14099         (MATHCONST): Likewise.
14100         (PRINTF_EXPR): Likewise.
14101         (PRINTF_XEXPR): Likewise.
14102         (PRINTF_NEXPR): Likewise.
14103         (TEST_FLOAT): Likewise.
14104         (TEST_MATHVEC): Likewise.
14105         (__NO_MATH_INLINES): Likewise.
14106         * math/test-idouble.c: Include test-double.h, test-math-inline.h
14107         and test-math-scalar.h.
14108         (FUNC): Remove macro.
14109         (FUNC_TEST): Likewise.
14110         (FLOAT): Likewise.
14111         (MATHCONST): Likewise.
14112         (PRINTF_EXPR): Likewise.
14113         (PRINTF_XEXPR): Likewise.
14114         (PRINTF_NEXPR): Likewise.
14115         (TEST_DOUBLE): Likewise.
14116         (TEST_MATHVEC): Likewise.
14117         (TEST_INLINE): Likewise.
14118         (__NO_MATH_INLINES): Likewise.
14119         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
14120         test-math-scalar.h.
14121         (FUNC): Remove macro.
14122         (FUNC_TEST): Likewise.
14123         (FLOAT): Likewise.
14124         (MATHCONST): Likewise.
14125         (PRINTF_EXPR): Likewise.
14126         (PRINTF_XEXPR): Likewise.
14127         (PRINTF_NEXPR): Likewise.
14128         (TEST_FLOAT): Likewise.
14129         (TEST_MATHVEC): Likewise.
14130         (TEST_INLINE): Likewise.
14131         (__NO_MATH_INLINES): Likewise.
14132         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
14133         and test-math-scalar.h.
14134         (FUNC): Remove macro.
14135         (FUNC_TEST): Likewise.
14136         (FLOAT): Likewise.
14137         (MATHCONST): Likewise.
14138         (PRINTF_EXPR): Likewise.
14139         (PRINTF_XEXPR): Likewise.
14140         (PRINTF_NEXPR): Likewise.
14141         (TEST_LDOUBLE): Likewise.
14142         (TEST_MATHVEC): Likewise.
14143         (TEST_INLINE): Likewise.
14144         (__NO_MATH_INLINES): Likewise.
14145         * math/test-ldouble.c: Include test-ldouble.h,
14146         test-math-no-inline.h and test-math-scalar.h.
14147         (FUNC): Remove macro.
14148         (FUNC_TEST): Likewise.
14149         (FLOAT): Likewise.
14150         (MATHCONST): Likewise.
14151         (PRINTF_EXPR): Likewise.
14152         (PRINTF_XEXPR): Likewise.
14153         (PRINTF_NEXPR): Likewise.
14154         (TEST_LDOUBLE): Likewise.
14155         (TEST_MATHVEC): Likewise.
14156         (__NO_MATH_INLINES): Likewise.
14157         * math/test-double-vlen2.h: Include test-double.h,
14158         test-math-no-inline.h and test-math-vector.h.
14159         (FLOAT): Remove macro.
14160         (FUNC): Likewise.
14161         (MATHCONST): Likewise.
14162         (PRINTF_EXPR): Likewise.
14163         (PRINTF_XEXPR): Likewise.
14164         (PRINTF_NEXPR): Likewise.
14165         (TEST_DOUBLE): Likewise.
14166         (TEST_MATHVEC): Likewise.
14167         (__NO_MATH_INLINES): Likewise.
14168         (CNCT): Likewise.
14169         (CONCAT): Likewise.
14170         (WRAPPER_NAME): Likewise.
14171         (WRAPPER_DECL): Likewise.
14172         (WRAPPER_DECL_ff): Likewise.
14173         (WRAPPER_DECL_fFF): Likewise.
14174         (VECTOR_WRAPPER): Likewise.
14175         (VECTOR_WRAPPER_ff): Likewise.
14176         (VECTOR_WRAPPER_fFF): Likewise.
14177         (VEC_LEN): New macro.
14178         * math/test-double-vlen4.h: Include test-double.h,
14179         test-math-no-inline.h and test-math-vector.h.
14180         (FLOAT): Remove macro.
14181         (FUNC): Likewise.
14182         (MATHCONST): Likewise.
14183         (PRINTF_EXPR): Likewise.
14184         (PRINTF_XEXPR): Likewise.
14185         (PRINTF_NEXPR): Likewise.
14186         (TEST_DOUBLE): Likewise.
14187         (TEST_MATHVEC): Likewise.
14188         (__NO_MATH_INLINES): Likewise.
14189         (CNCT): Likewise.
14190         (CONCAT): Likewise.
14191         (WRAPPER_NAME): Likewise.
14192         (WRAPPER_DECL): Likewise.
14193         (WRAPPER_DECL_ff): Likewise.
14194         (WRAPPER_DECL_fFF): Likewise.
14195         (VECTOR_WRAPPER): Likewise.
14196         (VECTOR_WRAPPER_ff): Likewise.
14197         (VECTOR_WRAPPER_fFF): Likewise.
14198         (VEC_LEN): New macro.
14199         * math/test-double-vlen8.h: Include test-double.h,
14200         test-math-no-inline.h and test-math-vector.h.
14201         (FLOAT): Remove macro.
14202         (FUNC): Likewise.
14203         (MATHCONST): Likewise.
14204         (PRINTF_EXPR): Likewise.
14205         (PRINTF_XEXPR): Likewise.
14206         (PRINTF_NEXPR): Likewise.
14207         (TEST_DOUBLE): Likewise.
14208         (TEST_MATHVEC): Likewise.
14209         (__NO_MATH_INLINES): Likewise.
14210         (CNCT): Likewise.
14211         (CONCAT): Likewise.
14212         (WRAPPER_NAME): Likewise.
14213         (WRAPPER_DECL): Likewise.
14214         (WRAPPER_DECL_ff): Likewise.
14215         (WRAPPER_DECL_fFF): Likewise.
14216         (VECTOR_WRAPPER): Likewise.
14217         (VECTOR_WRAPPER_ff): Likewise.
14218         (VECTOR_WRAPPER_fFF): Likewise.
14219         (VEC_LEN): New macro.
14220         * math/test-float-vlen4.h: Include test-float.h,
14221         test-math-no-inline.h and test-math-vector.h.
14222         (FLOAT): Remove macro.
14223         (FUNC): Likewise.
14224         (MATHCONST): Likewise.
14225         (PRINTF_EXPR): Likewise.
14226         (PRINTF_XEXPR): Likewise.
14227         (PRINTF_NEXPR): Likewise.
14228         (TEST_FLOAT): Likewise.
14229         (TEST_MATHVEC): Likewise.
14230         (__NO_MATH_INLINES): Likewise.
14231         (CNCT): Likewise.
14232         (CONCAT): Likewise.
14233         (WRAPPER_NAME): Likewise.
14234         (WRAPPER_DECL): Likewise.
14235         (WRAPPER_DECL_ff): Likewise.
14236         (WRAPPER_DECL_fFF): Likewise.
14237         (VECTOR_WRAPPER): Likewise.
14238         (VECTOR_WRAPPER_ff): Likewise.
14239         (VECTOR_WRAPPER_fFF): Likewise.
14240         (VEC_LEN): New macro.
14241         * math/test-float-vlen8.h: Include test-float.h,
14242         test-math-no-inline.h and test-math-vector.h.
14243         (FLOAT): Remove macro.
14244         (FUNC): Likewise.
14245         (MATHCONST): Likewise.
14246         (PRINTF_EXPR): Likewise.
14247         (PRINTF_XEXPR): Likewise.
14248         (PRINTF_NEXPR): Likewise.
14249         (TEST_FLOAT): Likewise.
14250         (TEST_MATHVEC): Likewise.
14251         (__NO_MATH_INLINES): Likewise.
14252         (CNCT): Likewise.
14253         (CONCAT): Likewise.
14254         (WRAPPER_NAME): Likewise.
14255         (WRAPPER_DECL): Likewise.
14256         (WRAPPER_DECL_ff): Likewise.
14257         (WRAPPER_DECL_fFF): Likewise.
14258         (VECTOR_WRAPPER): Likewise.
14259         (VECTOR_WRAPPER_ff): Likewise.
14260         (VECTOR_WRAPPER_fFF): Likewise.
14261         (VEC_LEN): New macro.
14262         * math/test-float-vlen16.h: Include test-float.h,
14263         test-math-no-inline.h and test-math-vector.h.
14264         (FLOAT): Remove macro.
14265         (FUNC): Likewise.
14266         (MATHCONST): Likewise.
14267         (PRINTF_EXPR): Likewise.
14268         (PRINTF_XEXPR): Likewise.
14269         (PRINTF_NEXPR): Likewise.
14270         (TEST_FLOAT): Likewise.
14271         (TEST_MATHVEC): Likewise.
14272         (__NO_MATH_INLINES): Likewise.
14273         (CNCT): Likewise.
14274         (CONCAT): Likewise.
14275         (WRAPPER_NAME): Likewise.
14276         (WRAPPER_DECL): Likewise.
14277         (WRAPPER_DECL_ff): Likewise.
14278         (WRAPPER_DECL_fFF): Likewise.
14279         (VECTOR_WRAPPER): Likewise.
14280         (VECTOR_WRAPPER_ff): Likewise.
14281         (VECTOR_WRAPPER_fFF): Likewise.
14282         (VEC_LEN): New macro.
14283         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
14284         test-vec-loop.h.
14285         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14286         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14287         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14288         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14289         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14290         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14291         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14293 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14295         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
14296         (__getlogin_r): ... this.
14298 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14300         [BZ #18594]
14301         * math/s_ccosh.c (__ccosh): Compare with least normal value
14302         instead of comparing class with FP_SUBNORMAL.
14303         * math/s_ccoshf.c (__ccoshf): Likewise.
14304         * math/s_ccoshl.c (__ccoshl): Likewise.
14305         * math/s_cexp.c (__cexp): Likewise.
14306         * math/s_cexpf.c (__cexpf): Likewise.
14307         * math/s_cexpl.c (__cexpl): Likewise.
14308         * math/s_csin.c (__csin): Likewise.
14309         * math/s_csinf.c (__csinf): Likewise.
14310         * math/s_csinh.c (__csinh): Likewise.
14311         * math/s_csinhf.c (__csinhf): Likewise.
14312         * math/s_csinhl.c (__csinhl): Likewise.
14313         * math/s_csinl.c (__csinl): Likewise.
14314         * math/s_ctan.c (__ctan): Likewise.
14315         * math/s_ctanf.c (__ctanf): Likewise.
14316         * math/s_ctanh.c (__ctanh): Likewise.
14317         * math/s_ctanhf.c (__ctanhf): Likewise.
14318         * math/s_ctanhl.c (__ctanhl): Likewise.
14319         * math/s_ctanl.c (__ctanl): Likewise.
14320         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
14321         csin, csinh, ctan and ctanh.
14322         * math/auto-libm-test-out: Regenerated.
14323         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
14324         * sysdeps/i386/fpu/libm-test-ulps: Update.
14325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14327 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14329         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
14330         return value is wrong, print the expected value too.
14332 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14334         [BZ #18585]
14335         * elf/readlib.c (is_gdb_python_file): New.
14336         (process_file): Don't issue errors on filenames with -gdb.py
14337         suffix.
14339 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14341         * math/auto-libm-test-in: Add more tests of csin and csinh.
14342         * math/auto-libm-test-out: Regenerated.
14343         * math/libm-test.inc (csin_test_data): Remove tests moved to
14344         auto-libm-test-in.
14345         (csinh_test_data): Likewise.
14347         [BZ #18593]
14348         * math/s_csin.c (__csin): Negate before rather than after possibly
14349         overflowing multiplication.
14350         * math/s_csinf.c (__csinf): Likewise.
14351         * math/s_csinh.c (__csinh): Likewise.
14352         * math/s_csinhf.c (__csinhf): Likewise.
14353         * math/s_csinhl.c (__csinhl): Likewise.
14354         * math/s_csinl.c (__csinl): Likewise.
14355         * math/auto-libm-test-in: Add some tests of csin and csinh.
14356         * math/auto-libm-test-out: Regenerated.
14357         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
14358         (csinh_test_data): Likewise.
14359         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14361         [BZ #18586]
14362         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
14363         underflow exception for small results.
14365 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
14367         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
14368         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
14369         variable and included header.
14370         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
14371         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
14372         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
14373         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
14374         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
14375         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
14376         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
14377         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
14378         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
14379         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
14380         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
14381         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
14382         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
14383         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
14384         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
14385         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
14387 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14389         [BZ #16526]
14390         [BZ #16538]
14391         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
14392         (__sin): Force underflow exception for arguments with small
14393         absolute value.
14394         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
14395         (__kernel_sinf): Force underflow exception for arguments with
14396         small absolute value.
14397         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
14398         (__kernel_sincosl): Force underflow exception for arguments with
14399         small absolute value.
14400         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
14401         (__kernel_sinl): Force underflow exception for arguments with
14402         small absolute value.
14403         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
14404         (__kernel_sincosl): Force underflow exception for arguments with
14405         small absolute value.
14406         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
14407         (__kernel_sinl): Force underflow exception for arguments with
14408         small absolute value.
14409         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
14410         (__kernel_sinl): Force underflow exception for arguments with
14411         small absolute value.
14412         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
14413         (__kernel_sinf): Force underflow exception for arguments with
14414         small absolute value.
14415         * math/auto-libm-test-in: Add more tests of sin and sincos.
14416         * math/auto-libm-test-out: Regenerated.
14418         [BZ #18245]
14419         [BZ #18583]
14420         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
14421         (__kernel_standard_l): Use feholdexcept and fesetenv around
14422         conversion to double instead of special-casing overflow and
14423         underflow.
14424         * math/libm-test.inc (fmod_test_data): Add more tests.
14425         (remainder_test_data): Likewise.
14426         (sqrt_test_data): Likewise.
14428 2015-06-23  Torvald Riegel  <triegel@redhat.com>
14430         [BZ #17403]
14431         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
14432         atomic_read_barrier, atomic_write_barrier): Define.
14433         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
14434         atomic_read_barrier, atomic_write_barrier): Define.
14436 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14438         * math/Makefile [$(PERL) != no]
14439         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
14440         dependency on libm-test.stmp below the inclusion of Rules.
14442 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
14444         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
14445         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
14446         and included header.
14447         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
14448         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
14449         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
14450         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
14451         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
14452         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
14453         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
14454         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
14455         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
14456         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
14457         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
14458         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
14459         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
14460         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
14461         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
14462         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
14463         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
14464         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
14465         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
14467 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14469         [BZ #18371]
14470         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
14471         intermediate but not final result might underflow.
14472         * math/s_csqrtf.c (__csqrtf): Likewise.
14473         * math/s_csqrtl.c (__csqrtl): Likewise.
14474         * math/auto-libm-test-in: Add more tests of csqrt.
14475         * math/auto-libm-test-out: Regenerated.
14476         * sysdeps/i386/fpu/libm-test-ulps: Update.
14478         [BZ #18219]
14479         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
14480         threshold on absolute value of exponent for which scaling is used.
14481         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14482         * math/auto-libm-test-in: Add more tests of exp2.
14483         * math/auto-libm-test-out: Regenerated.
14485 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
14487         [BZ #17977]
14488         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
14489         when initializing interface list, based on the bug analysis
14490         and the patch proposed by Eric Newton.
14491         * resolv/tst-res_hconf_reorder.c: New test.
14492         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
14493         tst-res_hconf_reorder.
14494         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
14495         and $(shared-thread-library).
14496         (tst-res_hconf_reorder-ENV): New variable.
14498         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
14499         in comment.
14501 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
14503         [BZ #16353]
14504         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
14505         (__expm1): Force underflow exception for arguments with small
14506         absolute value.
14507         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
14508         (__expm1f): Force underflow exception for arguments with small
14509         absolute value.
14510         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
14511         (__expm1): Force underflow exception for arguments with small
14512         absolute value.
14513         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
14514         (__expm1f): Force underflow exception for arguments with small
14515         absolute value.
14516         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14517         Check for small arguments before calling __expm1.
14518         * math/auto-libm-test-in: Do not mark underflow exceptions as
14519         possibly missing for bug 16353.
14520         * math/auto-libm-test-out: Regenerated.
14522 2015-06-22  Andreas Schwab  <schwab@suse.de>
14524         [BZ #18513]
14525         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
14526         PTR queries.
14528 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
14530         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
14532         * string/strcoll_l.c: Remove unused struct element idxnow.
14534 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
14536         [BZ #18569]
14537         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
14538         underflow and return argument in case of subnormal argument.
14539         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14540         Likewise.
14541         * math/auto-libm-test-in: Add more tests of expm1.
14542         * math/auto-libm-test-out: Regenerated.
14544         [BZ #16361]
14545         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
14546         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
14547         tiny results.
14548         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
14549         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
14550         tiny results.
14551         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
14552         mark underflow exceptions as possibly missing for bug 16361.
14553         * math/auto-libm-test-out: Regenerated.
14555 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
14557         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
14558         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
14559         Remove variable.
14560         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14561         (test-xfail-XOPEN2K8/utmpx.h/conform).
14563         * conform/conformtest.pl ($xerrors): New variable.
14564         (note_error): New function.
14565         (compiletest): New argument $xfail.  Use not_error.
14566         (runtest): Likewise.
14567         (top level): Handle xfail- lines.  Update calls to compiletest and
14568         runtest.  Handle xfail- and optional- in headers listed with
14569         allow-header.
14570         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
14571         (O_EXEC): Likewise.
14572         (O_SEARCH): Likewise.
14573         * conform/data/stropts.h-data (ioctl): Likewise.
14574         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
14575         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
14576         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
14577         (msghdr.msg_controllen): Likewise.
14578         (cmsghdr.cmsg_len): Likewise.
14579         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
14580         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
14581         variable.
14582         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14583         (test-xfail-XPG4/stropts.h/conform): Likewise.
14584         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14585         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14586         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14587         (test-xfail-UNIX98/stropts.h/conform): Likewise.
14588         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14589         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14590         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14591         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14592         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14593         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14594         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14595         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14596         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14597         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14598         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14599         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14600         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14601         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14602         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14604 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14606         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
14607         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
14608         definitions for proper unfolding of __MATHDECL_VEC.
14610 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14612         * benchtests/bench-strcoll.c:
14613         Include string.h.
14614         (main): Remove unused variable res.
14616 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14618         * timezone/Makefile (%/UTC %/Universal):
14619         Generate test-result files for UTC and Universal.
14621 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14623         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14625 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
14627         [BZ #16350]
14628         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
14629         for arguments with small absolute value.
14630         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
14631         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
14632         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
14633         (__asinh): Force underflow exception for arguments with small
14634         absolute value.
14635         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
14636         (__asinhf): Force underflow exception for arguments with small
14637         absolute value.
14638         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
14639         (__asinhl): Force underflow exception for arguments with small
14640         absolute value.
14641         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
14642         (__asinhl): Force underflow exception for arguments with small
14643         absolute value.
14644         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
14645         (__asinhl): Force underflow exception for arguments with small
14646         absolute value.
14647         * math/auto-libm-test-in: Do not mark underflow exceptions as
14648         possibly missing for bug 16350.
14649         * math/auto-libm-test-out: Regenerated.
14651         * include/bits/ipc.h: Remove file.
14652         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
14653         variable.
14654         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14655         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14656         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14657         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14658         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14659         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14660         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14661         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14662         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14664         * math/auto-libm-test-in: Remove spurious underflow allowance for
14665         tests of cexp.
14666         * math/auto-libm-test-out: Regenerated.
14668         [BZ #18558]
14669         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
14670         unconditional definition.
14671         (MCAST_BLOCK_SOURCE): Likewise.
14672         (MCAST_UNBLOCK_SOURCE): Likewise.
14673         (MCAST_LEAVE_GROUP): Likewise.
14674         (MCAST_JOIN_SOURCE_GROUP): Likewise.
14675         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14676         (MCAST_MSFILTER): Likewise.
14677         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
14678         Remove variable.
14679         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14680         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14681         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14682         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14683         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14685 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
14687         * NEWS: Mention addition of x86_64 vector sincosf.
14688         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
14689         * math/test-float-vlen4.h: Likewise.
14690         * math/test-float-vlen8.h: Likewise.
14691         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14692         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
14693         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14694         * sysdeps/x86_64/fpu/Versions: New versions added.
14695         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14696         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14697         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14698         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
14699         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
14700         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
14701         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
14702         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
14703         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
14704         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
14705         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
14706         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
14707         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
14708         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
14709         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
14710         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
14711         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
14712         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14713         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14714         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14715         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14716         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14717         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14718         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14720         * NEWS: Mention addition of x86_64 vector sincos.
14721         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
14722         * math/math.h (__MATHDECL_VEC): New macro.
14723         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
14724         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
14725         declaration under condition.
14726         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
14727         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
14728         TEST_VEC_LOOP change.
14729         * math/test-double-vlen4.h: Likewise.
14730         * math/test-double-vlen8.h: Likewise.
14731         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
14732         * math/test-float-vlen4.h: Likewise.
14733         * math/test-float-vlen8.h: Likewise.
14734         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14735         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
14736         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14737         * sysdeps/x86_64/fpu/Versions: New versions added.
14738         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14739         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14740         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14741         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
14742         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
14743         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
14744         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
14745         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
14746         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
14747         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
14748         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
14749         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
14750         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
14751         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
14752         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
14753         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
14754         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
14755         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14756         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14757         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14758         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14759         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14760         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14761         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14763         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14764         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14765         redirections for powf.
14766         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14767         * sysdeps/x86_64/fpu/Versions: New versions added.
14768         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14769         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14770         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14771         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
14772         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
14773         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
14774         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
14775         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
14776         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
14777         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
14778         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
14779         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
14780         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
14781         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
14782         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
14783         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
14784         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
14785         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14786         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14787         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14788         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14789         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14790         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14791         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14792         * math/test-float-vlen16.h: Fixed 2 argument macro.
14793         * math/test-float-vlen4.h: Likewise.
14794         * math/test-float-vlen8.h: Likewise.
14795         * NEWS: Mention addition of x86_64 vector powf.
14797 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
14799         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14800         and redefine.
14801         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14802         and redefine.
14803         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
14804         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14805         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14807         [BZ #18553]
14808         * resource/getpriority.c (getpriority): Rename to __getpriority
14809         and define as weak alias of __getpriority.
14810         * resource/setpriority.c (setpriority): Rename to __setpriority
14811         and define as weak alias of __setpriority.
14812         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
14813         __getpriority and define as weak alias of __getpriority.
14814         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
14815         __setpriority and define as weak alias of __setpriority.
14816         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
14817         strong name.
14818         (setpriority): Use __setpriority as strong name.
14819         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
14820         __getpriority and define as weak alias of __getpriority.
14821         * include/sys/resource.h (__getpriority): Declare.  Use
14822         libc_hidden_proto.
14823         (__setpriority): Likewise.
14824         (getpriority): Don't use libc_hidden_proto.
14825         (setpriority): Likewise.
14826         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
14827         getpriority.  Call __setpriority instead of setpriority.
14828         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
14829         Remove variable.
14831         [BZ #18547]
14832         * misc/getttyent.c (getttynam): Rename to __getttynam and define
14833         as weak alias of __getttynam.  Use prototype function definition.
14834         Call __setttyent, __getttyent and __endttyent instead of
14835         setttyent, getttyent and endttyent.
14836         (getttyent): Rename to __getttyent and define as weak alias of
14837         __getttyent.  Call __setttyent instead of setttyent.  Call
14838         __fgets_unlocked instead of fgets_unlocked.
14839         (setttyent): Rename to __setttyent and define as weak alias of
14840         __setttyent.
14841         (endttyent): Rename to __endttyent and define as weak alias of
14842         __endttyent.
14843         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
14844         (__setttyent): Likewise.
14845         (__endttyent): Likewise.
14846         (getttyent): Don't use libc_hidden_proto.
14847         (setttyent): Likewise.
14848         (endttyent): Likewise.
14849         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
14850         __endttyent instead of setttyent, getttyent and endttyent.
14851         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
14852         Remove variable.
14854         [BZ #18546]
14855         * socket/recv.c (__recv): Use libc_hidden_def.
14856         * socket/socket.c (__socket): Likewise.
14857         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
14858         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
14859         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
14860         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
14861         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
14862         libc_hidden_def.
14863         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
14864         libc_hidden_weak.
14865         * include/sys/socket.h (__socket): Do not use attribute_hidden.
14866         Use libc_hidden_proto.
14867         (__recv): Likewise.
14868         * socket/Versions (libc): Export __recv and __socket at version
14869         GLIBC_PRIVATE.
14870         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
14871         instead of recv.
14872         (init_mq_netlink): Call __socket instead of socket.
14873         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
14874         Remove variable.
14876         [BZ #18545]
14877         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
14878         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
14879         hidden_weak.
14880         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
14881         define as alias of __mq_timedsend.  Use hidden_weak.
14882         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
14883         __mq_timedsend as strong name.
14884         (mq_timedreceive): Use __mq_timedreceive as strong name.
14885         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
14886         (__mq_timedreceive): Likewise.
14887         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
14888         __mq_timedreceive instead of mq_timedreceive.
14889         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
14890         instead of mq_timedsend.
14891         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
14892         Remove variable.
14894         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
14895         hidden_def and hidden_weak instead of libc_hidden_def and
14896         libc_hidden_weak.
14897         (top level): Refer to hidden_def in comment.
14898         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
14899         macro.  Use it instead of libc_hidden_def.
14900         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
14901         specify __GI_* name explicitly.
14902         (mq_timedreceive): Likewise.
14903         (mq_setattr): Likewise.
14905         [BZ #18544]
14906         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
14907         __pthread_barrier_init and define as weak alias of
14908         __pthread_barrier_init.
14909         * sysdeps/sparc/nptl/pthread_barrier_init.c
14910         (pthread_barrier_init): Likewise.
14911         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
14912         __pthread_barrier_wait and define as weak alias of
14913         __pthread_barrier_wait.
14914         * sysdeps/sparc/nptl/pthread_barrier_wait.c
14915         (pthread_barrier_wait): Likewise.
14916         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
14917         (pthread_barrier_wait): Likewise.
14918         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
14919         (pthread_barrier_wait): Likewise.
14920         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
14921         (pthread_barrier_wait): Likewise.
14922         * nptl/Versions (libpthread): Export __pthread_barrier_init and
14923         __pthread_barrier_wait at version GLIBC_PRIVATE.
14924         * include/pthread.h (__pthread_barrier_init): Declare.
14925         (__pthread_barrier_wait): Likewise.
14926         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
14927         Call __pthread_barrier_wait instead of pthread_barrier_wait.
14928         (helper_thread): Likewise.
14929         (init_mq_netlink): Call __pthread_barrier_init instead of
14930         pthread_barrier_init.
14932         [BZ #18542]
14933         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
14934         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
14935         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
14936         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
14937         vswscanf.
14938         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
14939         Remove variable.
14941         [BZ #18540]
14942         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
14943         strong alias of _IO_fflush.  Use libc_hidden_def.
14944         * libio/iofflush_u.c (fflush_unlocked): Rename to
14945         __fflush_unlocked and define as weak alias of __fflush_unlocked.
14946         Use libc_hidden_weak.
14947         * include/stdio.h (__fflush_unlocked): Declare.  Use
14948         libc_hidden_proto.
14949         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
14950         fflush_unlocked.
14951         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
14952         Remove variable.
14954         [BZ #18539]
14955         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
14956         define as weak alias of __addseverity.
14957         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
14958         Remove variable.
14959         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14960         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14961         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14963         [BZ #18536]
14964         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
14965         (__tfind): Likewise.
14966         (__tdelete): Likewise.
14967         (__twalk): Likewise.
14968         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
14969         __twalk to GLIBC_PRIVATE.
14970         * include/search.h (__tsearch): Use libc_hidden_proto.
14971         (__tfind): Likewise.
14972         (__tdelete): Likewise.
14973         (__twalk): Likewise.
14974         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
14975         Call __tdelete instead of tdelete.
14976         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
14977         tfind.  Call __tsearch instead of tsearch.
14978         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
14979         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
14980         Remove variable.
14981         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
14983         [BZ #18534]
14984         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
14985         (dprintf): Define as a weak alias of __dprintf, not a strong
14986         alias.
14987         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
14988         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
14989         dprintf.
14990         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
14991         Remove variable.
14992         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
14993         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
14995         [BZ #18533]
14996         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
14997         not a strong alias.
14998         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
14999         Remove variable.
15001         [BZ #18532]
15002         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
15003         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
15004         (in6addr_loopback): Rename to __in6addr_loopback and define as
15005         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
15006         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
15007         libc_hidden_proto.
15008         (__in6addr_any): Likewise.
15009         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
15010         in6addr_any.
15011         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
15012         variable.
15013         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
15015 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
15017         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
15018         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
15019         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15020         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15021         redirections for pow.
15022         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15023         * sysdeps/x86_64/fpu/Versions: New versions added.
15024         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15025         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15026         build of SSE, AVX2 and AVX512 IFUNC versions.
15027         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
15028         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
15029         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
15030         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
15031         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
15032         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
15033         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
15034         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
15035         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
15036         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
15037         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
15038         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
15039         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
15040         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
15041         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15042         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15043         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15044         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15045         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15046         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15047         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15048         * NEWS: Mention addition of x86_64 vector pow.
15050         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15051         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15052         redirections for expf.
15053         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15054         * sysdeps/x86_64/fpu/Versions: New versions added.
15055         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15056         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15057         build of SSE, AVX2 and AVX512 IFUNC versions.
15058         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
15059         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
15060         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
15061         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
15062         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
15063         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
15064         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
15065         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
15066         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
15067         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
15068         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
15069         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
15070         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
15071         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15072         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15073         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15074         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15075         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15076         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15077         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15078         * NEWS: Mention addition of x86_64 vector expf.
15080         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
15081         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
15082         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15083         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15084         redirections for exp.
15085         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15086         * sysdeps/x86_64/fpu/Versions: New versions added.
15087         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15088         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15089         build of SSE, AVX2 and AVX512 IFUNC versions.
15090         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
15091         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
15092         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
15093         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
15094         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
15095         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
15096         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
15097         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
15098         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
15099         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
15100         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
15101         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
15102         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
15103         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15104         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15105         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15106         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15107         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15108         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15109         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15110         * NEWS: Mention addition of x86_64 vector exp.
15112         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15113         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15114         redirections for logf.
15115         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15116         * sysdeps/x86_64/fpu/Versions: New versions added.
15117         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15118         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15119         build of SSE, AVX2 and AVX512 IFUNC versions.
15120         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
15121         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
15122         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
15123         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
15124         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
15125         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
15126         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
15127         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
15128         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
15129         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
15130         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
15131         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
15132         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
15133         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15134         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15135         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15136         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15137         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15138         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15139         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15140         * NEWS: Mention addition of x86_64 vector logf.
15142         * bits/libm-simd-decl-stubs.h: Added stubs for log.
15143         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
15144         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15145         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15146         redirections for log.
15147         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15148         * sysdeps/x86_64/fpu/Versions: New versions added.
15149         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15150         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15151         build of SSE, AVX2 and AVX512 IFUNC versions.
15152         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
15153         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
15154         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
15155         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
15156         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
15157         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
15158         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
15159         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
15160         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
15161         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
15162         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
15163         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
15164         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
15165         test.
15166         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15167         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15168         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15169         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15170         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15171         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15172         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15173         * NEWS: Mention addition of x86_64 vector log.
15175 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15177         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
15178         cfi_adjust_cfa_offset argument.
15179         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
15180         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
15182         [BZ #18034]
15183         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
15184         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
15185         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
15186         ordering using ldar.
15187         (_dl_tlsdesc_dynamic): Likewise.
15188         (_dl_tlsdesc_return_lazy): Likewise.
15189         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
15190         relaxed atomics instead of volatile and synchronize with release store.
15191         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
15192         volatile.
15193         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15195 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
15197         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15198         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
15199         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15200         * sysdeps/x86_64/fpu/Versions: New versions added.
15201         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15202         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15203         build of SSE, AVX2 and AVX512 IFUNC versions.
15204         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
15205         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
15206         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
15207         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
15208         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
15209         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
15210         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
15211         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
15212         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
15213         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
15214         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
15215         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
15216         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
15217         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15218         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15219         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15220         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15221         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15222         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15223         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15224         * NEWS: Mention addition of x86_64 vector sinf.
15226 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
15228         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
15229         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
15230         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
15231         Remove variable.
15232         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
15233         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
15235 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
15237         [BZ #18530]
15238         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
15239         strong alias of _IO_fputs.  Use libc_hidden_def.
15240         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
15241         and define as weak alias of __fputs_unlocked.  Use
15242         libc_hidden_weak.
15243         * include/stdio.h (__fputs_unlocked): Declare.  Use
15244         libc_hidden_proto.
15245         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
15246         fputs_unlocked.
15248         [BZ #18529]
15249         * resolv/netdb.h [__USE_POSIX]: Change condition to
15250         [__USE_XOPEN2K].
15251         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
15252         not expect.
15253         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
15254         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
15255         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
15256         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
15257         [XPG4 || UNIX98] (AI_ALL): Likewise.
15258         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
15259         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
15260         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
15261         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
15262         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
15263         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
15264         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
15265         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
15266         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
15267         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
15268         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
15269         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
15270         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
15271         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
15272         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
15273         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15274         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15275         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
15276         [XPG4 || UNIX98] (gai_strerror): Likewise.
15277         [XPG4 || UNIX98] (getaddrinfo): Likewise.
15278         [XPG4 || UNIX98] (getnameinfo): Likewise.
15280         [BZ #18528]
15281         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
15282         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
15283         __USE_XOPEN2K8].
15284         (getgrent): Likewise.
15285         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
15286         expect.
15287         [XPG3 || POSIX2008] (endgrent): Likewise.
15288         [XPG3] (setgrent): Likewise.
15289         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
15290         variable.
15291         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
15293         [BZ #18527]
15294         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
15295         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
15296         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
15297         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
15298         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
15299         * include/unistd.h (__getlogin_r): Declare.  Use
15300         libc_hidden_proto.
15301         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
15302         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
15303         variable.
15304         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
15305         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
15306         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
15308 2015-06-12  Martin Sebor  <msebor@redhat.com>
15310         [BZ #18512]
15311         * Makerules (check-install-supported): New target.
15312         (install): Add check-install-supported as a dependency.
15313         * manual/install.texi (Installing the C Library): Document
15314         that overriding prefix and exec_prefix is not supported.
15315         Mention DESTDIR.
15316         * INSTALL: Regenerate from the above.
15318 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
15320         [BZ #18519]
15321         * posix/Versions (libc): Export __libc_pread at version
15322         GLIBC_PRIVATE.
15323         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
15324         instead of pread.
15325         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
15326         variable.
15328         [BZ #18522]
15329         * misc/efgcvt_r.c
15330         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
15331         (cvt_symbol): Use weak_alias instead of strong_alias.
15332         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
15333         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
15334         Remove variable.
15335         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
15336         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
15338         [BZ #18520]
15339         * inet/herrno.c (h_errno): Rename to __h_errno.
15340         (__libc_h_errno): Define as alias of __h_errno not h_errno.
15341         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
15342         to __h_errno instead of h_errno.
15343         * nptl/herrno.c (h_errno): Rename to __h_errno.
15344         (__h_errno_location): Refer to __h_errno not h_errno.
15345         * resolv/Versions (h_errno): Rename to __h_errno.
15346         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
15347         Remove variable.
15348         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
15350 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
15352         * configure.ac: More strict check for AVX512 assembler support.
15353         * configure: Regenerated.
15355         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
15356         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
15357         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15358         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
15359         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15360         * sysdeps/x86_64/fpu/Versions: New versions added.
15361         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15362         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15363         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15364         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
15365         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
15366         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
15367         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
15368         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
15369         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
15370         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
15371         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
15372         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
15373         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
15374         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
15375         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
15376         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
15377         test.
15378         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15379         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15380         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15381         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15382         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15383         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15384         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15385         * NEWS: Mention addition of x86_64 vector sin.
15387 2015-06-11  Florian Weimer  <fweimer@redhat.com>
15389         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
15390         comment.
15392 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15394         [BZ #18479]
15395         * nptl/pt-interp.c: New file.
15396         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
15397         Add pt-interp.
15398         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
15399         $(common-objpfx)runtime-linker.h.
15401 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
15403         * Makeconfig (+interp): Remove unused variable.
15404         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
15405         only.  Depend on $(common-objpfx)runtime-linker.h instead of
15406         $(elf-objpfx)runtime-linker.h.
15407         ($(elf-objpfx)runtime-linker.h): Rename to
15408         $(common-objpfx)runtime-linker.h and move ...
15409         * Makerules [$(build-shared) = yes]: ... here.
15410         * elf/interp.c: Include <runtime-linker.h> instead of
15411         <elf/runtime-linker.h>.
15413 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15415         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
15416         (__gettimeofday_syscall): Remove vsyscall fallback.
15417         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
15418         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
15419         Add syscall fallback function.
15420         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
15421         if vDSO is not present.
15422         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
15423         fallback function.
15424         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
15425         present.
15426         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
15427         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15429 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
15431         [BZ #18497]
15432         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
15433         of wcscmp.
15434         (wcscmp): Define as weak alias of WCSCMP.
15435         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
15436         wcscoll.
15437         (USE_HIDDEN_DEF): Define.
15438         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
15439         __wcscoll.  Don't use libc_hidden_weak.
15440         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
15441         wcscmp.
15442         * sysdeps/i386/i686/multiarch/wcscmp-c.c
15443         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
15444         __GI_wcscmp.
15445         (weak_alias): Undefine and redefine.
15446         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
15447         __wcscmp and define as weak alias of __wcscmp.
15448         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
15449         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
15450         (__wcscoll): Likewise.
15451         (wcscmp): Don't use libc_hidden_proto.
15452         (wcscoll): Likewise.
15453         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
15454         wcscoll.
15455         * posix/regexec.c (check_node_accept_bytes): Likewise.
15456         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
15457         variable.
15458         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
15459         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
15461         [BZ #18507]
15462         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
15463         __fstatvfs and define as weak alias of __fstatvfs.  Use
15464         libc_hidden_weak.
15465         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
15466         and define as weak alias of __statvfs.  Use libc_hidden_weak.
15467         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
15468         Define as alias of __fstatvfs, not fstatvfs.
15469         (fstatvfs64): Likewise.
15470         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
15471         Define as alias of __statvfs, not statvfs.
15472         (statvfs64): Likewise.
15473         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
15474         Remove variable.
15476 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15479         (HAVE_GETCPU_VSYSCALL): Define.
15480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15481         (HAVE_GETCPU_VSYSCALL): Likewise.
15482         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
15483         * sysdeps/unix/sysv/linux/sched_getcpu.c
15484         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
15485         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
15486         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
15487         prototype.
15488         * sysdeps/unix/sysv/linux/x86_64/init-first.c
15489         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
15490         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
15491         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
15492         Define.
15493         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
15494         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15495         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
15496         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15498 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
15500         * sysdeps/x86_64/fpu/Makefile: New file.
15501         * sysdeps/x86_64/fpu/Versions: New file.
15502         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
15503         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
15504         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
15505         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
15506         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
15507         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
15508         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
15509         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
15510         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
15511         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
15512         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
15513         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
15514         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
15515         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15516         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15517         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
15518         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
15519         * sysdeps/x86_64/configure.ac: Options for libmvec build.
15520         * sysdeps/x86_64/configure: Regenerated.
15521         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
15522         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
15523         * manual/install.texi (Configuring and compiling): Document
15524         --disable-mathvec.
15525         * INSTALL: Regenerated.
15526         * NEWS: Mention addition of libmvec and x86_64 vector cos.
15528         * math/Makefile: Added rules for vector tests.
15529         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
15530         declaration under condition.
15531         * math/test-double-vlen2.h: New file.
15532         * math/test-double-vlen4.h: New file.
15533         * math/test-double-vlen8.h: New file.
15534         * math/test-vec-loop.h: Added initialization macro.
15535         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
15536         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
15537         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
15538         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
15539         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
15540         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
15541         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
15542         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
15543         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
15544         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
15545         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
15547         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15548         * sysdeps/x86_64/fpu/Versions: New versions added.
15549         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
15550         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
15551         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
15552         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
15553         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
15554         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
15555         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
15556         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
15557         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
15558         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
15559         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
15560         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
15561         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
15562         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15563         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15564         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15565         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
15566         * NEWS: Mention addition of x86_64 vector cosf.
15568         * math/Makefile: Added CFLAGS for new tests.
15569         * math/test-float-vlen16.h: New file.
15570         * math/test-float-vlen4.h: New file.
15571         * math/test-float-vlen8.h: New file.
15572         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
15573         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
15574         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15575         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
15576         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
15577         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
15578         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
15579         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
15580         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
15581         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
15582         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
15584 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
15586         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
15587         * locale/programs/ld-ctype.c: Likewise.
15589 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
15591         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
15592         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
15593         bit_ZMM16_31_state): New macro.
15594         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15595         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
15597 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
15599         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
15601 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
15603         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
15605 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
15607         [BZ #18498]
15608         * libio/memstream.c (open_memstream): Rename to __open_memstream
15609         and define as weak alias of __open_memstream.
15610         * include/stdio.h (__open_memstream): Declare.  Use
15611         libc_hidden_proto.
15612         (open_memstream): Don't use libc_hidden_proto.
15613         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
15614         open_memstream.
15615         * posix/getopt.c (_getopt_internal_r): Likewise.
15616         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
15617         variable.
15618         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
15619         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
15620         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
15622         [BZ #18496]
15623         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
15624         instead of wcrtomb.
15626         [BZ #18483]
15627         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
15628         [__USE_XOPEN2K8].  Remove redundant #endif.
15629         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
15630         Remove redundant #if.
15631         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
15632         Remove variable.
15633         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
15634         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
15636         [BZ #18495]
15637         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
15638         (__iswlower): Likewise.
15639         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
15640         (__iswlower): Likewise.
15641         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
15642         instead of towlower.
15643         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
15644         instead of iswlower.  Call __towupper instead of towupper.
15645         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
15646         instead of iswalnum.
15648 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15650         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
15651         errors to stderr.
15653 2015-06-05  Florian Weimer  <fweimer@redhat.com>
15655         [BZ #15661]
15656         [BZ #17322]
15657         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15658         Check for overflow properly.  Check for O_APPEND.  Ignore large
15659         file system block sizes.  Add comments about problems.
15660         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
15661         * manual/filesys.texi (Storage Allocation): New node.
15663 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15665         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
15666         cancellable syscalls.
15667         (SYS_ify): Add guard to no redefine it.
15668         (INLINE_SYSCALL): Likewise.
15669         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
15670         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
15671         SYSCALL_CANCEL instead.
15672         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
15673         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
15674         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
15675         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
15676         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
15677         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
15678         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
15679         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
15680         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
15681         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
15682         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
15683         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
15684         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
15685         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
15686         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
15687         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
15688         Likewise.
15689         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
15690         (__libc_pread64): Likewise.
15691         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
15692         (__libc_preadv): Likewise.
15693         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
15694         (__libc_readv64): Likewise.
15695         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
15696         (__libc_pwrite): Likewise.
15697         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
15698         (__libc_pwrite64): Likewise.
15699         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
15700         (__libc_pwritev): Likewise.
15701         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
15702         (__libc_pwritev64): Likewise.
15703         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
15704         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
15705         (sync_file_range): Likewise.
15706         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
15707         Likewise.
15708         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
15709         Likewise.
15710         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
15711         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
15712         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
15713         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
15714         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
15715         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
15716         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
15717         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
15718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
15719         Likewise.
15720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15721         (__libc_read64): Likewise.
15722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
15723         Likewise.
15724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
15725         Likewise.
15726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
15727         Likewise.
15728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
15729         Likewise.
15730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15731         (__libc_pread64): Likewise.
15732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
15733         Likewise.
15734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15735         (__libc_pwrite64): Likewise.
15736         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
15737         (sync_file_range): Likewise.
15738         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
15739         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
15740         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
15741         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
15742         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
15743         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15744         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15745         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
15746         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
15747         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15748         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15749         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
15750         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
15751         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
15752         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
15753         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
15754         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
15755         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
15756         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
15757         Likewise.
15758         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
15759         Likewise.
15760         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
15761         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
15762         Likewise.
15763         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
15764         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
15765         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
15766         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
15767         Likewise.
15768         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
15769         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
15770         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
15771         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
15772         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
15774 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
15776         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
15777         Include dl-vdso.
15778         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
15779         Use VDSO routines for gettimeofday, clock_gettime if
15780         available.
15781         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
15782         Declare VDSO symbols.
15783         * sysdeps/unix/sysv/linux/arm/sysdep.h:
15784         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
15785         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15786         * sysdeps/unix/sysv/linux/arm/Versions: Add
15787         __vdso_clock_gettime.
15789 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15791         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
15792         be an inline implementation regardless of library is built within.
15793         (open_not_cancel_2): Likewise.
15794         (__read_nocancel): Likewise.
15795         (__write_nocancel): Likewise.
15796         (openat_not_cancel): Likewise.
15797         (openat_not_cancel_3): Likewise.
15798         (openat64_not_cancel): Likewise.
15799         (openat64_not_cancel_3): Likewise.
15800         (__close_nocancel): Likewise.
15801         (pause_not_cancel): Likewise.
15802         (nanosleep_not_cancel): Likewise.
15803         (sigsuspend_not_cancel): Likewise.
15805 2015-06-04  Torvald Riegel  <triegel@redhat.com>
15807         [BZ #14958]
15808         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
15809         wake-up.
15810         (__pthread_rwlock_rdlock_slow): Likewise.
15811         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15812         Likewise.
15813         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15814         Likewise.
15815         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
15816         * nptl/tst-rwlock16.c: New file.
15817         * nptl/Makefile (tests): Add new test.
15819 2015-06-04  Torvald Riegel  <triegel@redhat.com>
15821         [BZ #18324]
15822         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
15823         missing wake-up of readers.
15824         * nptl/tst-rwlock15.c: New file.
15825         * nptl/Makefile (tests): Add new test.
15827 2015-06-03  Roland McGrath  <roland@hack.frob.com>
15829         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
15830         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
15831         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
15832         and __nacl_supply_interface_rtld.
15833         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
15834         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
15835         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
15836         Add __nacl_supply_interface_rtld.
15837         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
15839 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
15841         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
15842         isfinite.
15843         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15844         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
15846 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
15848         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
15849         __signbit* with standard C99 macros.
15850         * math/e_exp10l.c: Likewise.
15851         * math/e_exp2l.c: Likewise.
15852         * math/e_scalb.c: Likewise.
15853         * math/e_scalbf.c: Likewise.
15854         * math/e_scalbl.c: Likewise.
15855         * math/s_ldexp.c: Likewise.
15856         * math/s_ldexpf.c: Likewise.
15857         * math/s_ldexpl.c: Likewise.
15858         * math/w_atan2.c: Likewise.
15859         * math/w_atan2f.c: Likewise.
15860         * math/w_atan2l.c: Likewise.
15861         * math/w_cosh.c: Likewise.
15862         * math/w_coshf.c: Likewise.
15863         * math/w_coshl.c: Likewise.
15864         * math/w_exp10.c: Likewise.
15865         * math/w_exp10f.c: Likewise.
15866         * math/w_exp10l.c: Likewise.
15867         * math/w_exp2.c: Likewise.
15868         * math/w_exp2f.c: Likewise.
15869         * math/w_exp2l.c: Likewise.
15870         * math/w_fmod.c: Likewise.
15871         * math/w_fmodf.c: Likewise.
15872         * math/w_fmodl.c: Likewise.
15873         * math/w_hypot.c: Likewise.
15874         * math/w_hypotf.c: Likewise.
15875         * math/w_hypotl.c: Likewise.
15876         * math/w_jnl.c: Likewise.
15877         * math/w_lgamma.c: Likewise.
15878         * math/w_lgamma_r.c: Likewise.
15879         * math/w_lgammaf.c: Likewise.
15880         * math/w_lgammaf_r.c: Likewise.
15881         * math/w_lgammal.c: Likewise.
15882         * math/w_lgammal_r.c: Likewise.
15883         * math/w_pow.c: Likewise.
15884         * math/w_powf.c: Likewise.
15885         * math/w_powl.c: Likewise.
15886         * math/w_remainder.c: Likewise.
15887         * math/w_remainderf.c: Likewise.
15888         * math/w_remainderl.c: Likewise.
15889         * math/w_scalb.c: Likewise.
15890         * math/w_scalbf.c: Likewise.
15891         * math/w_scalbl.c: Likewise.
15892         * math/w_scalbln.c: Likewise.
15893         * math/w_scalblnf.c: Likewise.
15894         * math/w_scalblnl.c: Likewise.
15895         * math/w_sinh.c: Likewise.
15896         * math/w_sinhf.c: Likewise.
15897         * math/w_sinhl.c: Likewise.
15898         * math/w_tgamma.c: Likewise.
15899         * math/w_tgammaf.c: Likewise.
15900         * math/w_tgammal.c: Likewise.
15901         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15902         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
15903         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15904         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15905         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15906         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15907         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15908         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15909         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15910         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15911         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15912         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15913         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15914         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15915         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15916         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15917         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15918         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15919         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15920         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15921         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15922         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15923         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15924         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15925         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15926         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15927         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
15928         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15929         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15930         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15931         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
15932         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
15933         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
15934         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
15935         * stdio-common/printf_fp.c: Likewise.
15936         * stdio-common/printf_fphex.c: Likewise.
15937         * stdio-common/printf_size.c: Likewise.
15939 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
15941         [BZ #18470]
15942         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
15943         strnlen.
15944         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
15945         Remove variable.
15946         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
15947         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
15948         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
15949         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
15950         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
15951         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
15952         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
15953         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
15954         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
15955         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
15957         [BZ #18468]
15958         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
15959         weak alias of __wmemchr.  Use libc_hidden_weak.
15960         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
15961         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
15962         instead of wmemchr.
15964 2015-06-02  Roland McGrath  <roland@hack.frob.com>
15966         [BZ #18383]
15967         * elf/tst-tlsalign-extern.c: New file.
15968         * elf/tst-tlsalign-extern-static.c: New file.
15969         * elf/tst-tlsalign-vars.c: New file.
15970         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
15971         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
15972         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
15973         ($(objpfx)tst-tlsalign-extern-static): Likewise.
15974         (test-xfail-tst-tlsalign-extern-static): New variable.
15976 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
15978         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
15979         Use variable name _sc_err instead of err.
15980         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
15981         instead of ret.
15982         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
15983         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
15984         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
15985         (INLINE_SYSCALL): Likewise.
15987         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
15988         * include/string.h (__strnlen): Use libc_hidden_proto.
15989         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
15990         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
15991         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
15992         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
15993         (libc_hidden_def): Undefine and redefine.
15994         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
15995         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
15996         __GI_strnlen.
15997         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
15998         libc_hidden_def.
15999         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
16001         [BZ #18469]
16002         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
16003         weak alias of __towlower.  Use libc_hidden_weak.
16004         (towupper): Rename to __towupper and define as weak alias of
16005         __towupper.  Use libc_hidden_weak.
16006         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
16007         (__towupper): Likewise.
16008         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
16009         __towlower instead of towlower.
16011 2015-06-02  Roland McGrath  <roland@hack.frob.com>
16013         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
16014         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
16016 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16018         * sysdeps/aarch64/libm-test-ulps: Update.
16020 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16022         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
16023         Define.
16024         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16025         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16026         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
16027         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16028         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
16029         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
16030         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
16032 2015-06-01  Martin Sebor  <msebor@redhat.com>
16034         [BZ #18116]
16035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16036         (__setcontext): Use extended four-operand version of mtsf whenever
16037         possible.
16038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16039         (__novec_swapcontext): Likewise.
16041 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16043         * benchtests/scripts/compare_bench.py: New file.
16044         * benchtests/scripts/import_bench.py (mean): New function.
16045         (split_list): Likewise.
16046         (do_for_all_timings): Likewise.
16047         (compress_timings): Likewise.
16049         * benchtests/scripts/import_bench.py: New file.
16050         * benchtests/scripts/validate_benchout.py: Import import_bench
16051         instead of jsonschema.
16052         (validate_bench): Remove function.
16053         (main): Use import_bench.
16055 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
16057         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
16058         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
16060 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16062         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16064 2015-05-28  Roland McGrath  <roland@hack.frob.com>
16066         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
16067         set THREAD_SELF->tid to a magic value and futex-wake it.
16068         Pass its address to the thread_exit system call.
16069         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
16070         bit is clear.
16071         * sysdeps/nacl/lowlevellock.h: New file.
16072         * sysdeps/nacl/lll_timedwait_tid.c: New file.
16074         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
16075         Add TIMEOUT to current time, don't subtract it.
16077 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
16079         [BZ #2981]
16080         [BZ #18422]
16081         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
16082         ($(objpfx)tst-audit2.out): Also depend on
16083         $(objpfx)tst-auditmod9b.so.
16084         * elf/tst-audit2.c: Include <dlfcn.h>.
16085         (calloc_called): New.
16086         (calloc): Allow to be called more than once.
16087         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
16089 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
16091         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
16092         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
16094 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
16096         * stdlib/monetary.h: Fix comment.
16098 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
16100         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
16101         Avoid using variables in #defines that might cause shadowing.
16102         (INTERNAL_VSYSCALL_CALL): Likewise.
16104 2015-05-26  Roland McGrath  <roland@hack.frob.com>
16106         * sysdeps/nacl/lll_timedlock_wait.c: New file.
16108         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
16109         * nptl/lll_timedlock_wait.c: ... to this new file.
16110         * nptl/Makefile (libpthread-routines): Add it.
16111         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
16112         * nptl/lll_timedwait_tid.c: ... to this new file.
16113         * nptl/Makefile (libpthread-routines): Add it.
16114         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
16115         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
16116         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
16117         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
16118         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
16119         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
16120         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
16121         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
16122         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
16123         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
16125 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16127         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
16128         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16129         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
16130         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
16131         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16132         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16133         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16134         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16135         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16136         * sysdeps/unix/sysv/linux/tile/sysdep.h
16137         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16138         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
16139         using vDSO syscall macro.
16141 2015-05-26  Andriy Rysin  <arysin@gmail.com>
16143         [BZ #17293]
16144         * uk_UA: Fix sorting order for Ukrainian locale
16146 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
16148         * stdlib/monetary.h: Fix comment.
16150 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16152         [BZ #18234]
16153         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
16154         st_mtim and st_ctim members.
16155         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
16156         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
16157         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
16158         (struct stat64): Likewise.
16159         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
16160         (struct stat64): Likewise.
16161         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
16162         (struct stat64): Likewise.
16164 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16166         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
16167         Define and include sysdep-vdso.h.
16168         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
16169         Likewise.
16170         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
16171         Likewise.
16172         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
16173         Define with VDSO_SYMBOL and use PTR_MANGLE.
16174         (__vdso_clock_gettime): Likewise.
16175         (__vdso_clock_getres): Likewise.
16176         (_libc_vdso_platform_setup): Likewise.
16177         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16178         Likewise.
16179         (_libc_vdso_platform_setup): Likewise.
16180         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
16181         Likewise.
16182         (__vdso_clock_gettime): Likewise.
16183         (__vdso_clock_getres): Likewise.
16184         (__vdso_get_tbfreq): Likewise.
16185         (__vdso_getcpu): Likewise.
16186         (__vdso_time): Likewise.
16187         (__vdso_sigtramp_rt64): Likewise.
16188         (__vdso_signtramp32): Likewise.
16189         (__vdso_sigtramp_rt32): Likewise.
16190         (_libc_vdso_platform_setup): Likewise.
16191         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
16192         Likewise.
16193         (__vdso_clock_gettime): Likewise.
16194         (__vdso_clock_getres): Likewise.
16195         (_libc_vdso_platform_setup): Likewise.
16196         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
16197         Likewise.
16198         (__vdso_clock_gettime): Likewise.
16199         (_libc_vdso_platform_setup): Likewise.
16200         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
16201         Likewise.
16202         (__vdso_getcpu): Likewise.
16203         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
16204         Use VDSO_SYMBOL macro to define.
16205         (__vdso_clock_gettime): Likewise.
16206         (__vdso_clock_getres): Likewise.
16207         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
16208         Likewise.
16209         (__vdso_clock_gettime): Likewise.
16210         (__vdso_clock_getres): Likewise.
16211         (__vdso_get_tbfreq): Likewise.
16212         (__vdso_getcpu): Likewise.
16213         (__vdso_time): Likewise.
16214         (__vdso_sigtramp_rt64): Likewise.
16215         (__vdso_signtramp32): Likewise.
16216         (__vdso_sigtramp_rt32): Likewise.
16217         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
16218         Likewise.
16219         (__vdso_clock_gettime): Likewise.
16220         (__vdso_clock_getres): Likewise.
16221         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
16222         Likewise.
16223         (__vdso_clock_gettime): Likewise.
16224         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16225         Likewise.
16226         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
16227         macro.
16228         (INTERNAL_VSYSCALL): Likewise.
16229         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
16230         Remove macro.
16231         (INTERNAL_VSYSCALL): Likewise.
16232         (INTERNAL_VSYSCALL_NCS): Likewise.
16233         (INTERNAL_VSYSCALL_CALL): New macro.
16234         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16235         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
16236         Likewise.
16237         (INTERNAL_VSYSCALL): Likewise.
16238         (INTERNAL_VSYSCALL_NCS): Likewise.
16239         (INTERNAL_VSYSCALL_CALL): New macro.
16240         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16242         (INLINE_VSYSCALL): Remove macro.
16243         (INTERNAL_VSYSCALL): Remove macro.
16244         (INTERNAL_VSYSCALL_NCS): Remove macro.
16245         (INTERNAL_VSYSCALL_CALL): New macro.
16246         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
16247         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
16248         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16249         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
16250         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
16251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16252         (INLINE_VSYSCALL): Remove macro.
16253         (INTERNAL_VSYSCALL): Likewise.
16254         (INTERNAL_VSYSCALL_NCS): Likewise.
16255         (INTERNAL_VSYSCALL_CALL): New macro.
16256         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
16257         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
16258         PTR_DEMANGLE on vDSO pointer.
16259         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16260         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
16261         macro.
16262         (INTERNAL_SYSCALL): Likewise.
16263         (INTERNAL_VSYSCALL_NCS): Remove macro.
16264         (INTERNAL_VSYSCALL_CALL): New macro.
16265         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
16266         Remove macro.
16267         (INTERNAL_VSYSCALL): Likewise.
16268         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
16269         sysdep-vdso.h instead of libc-vdso.h.
16270         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
16271         definition.
16272         (INLINE_VSYSCALL): Likewise.
16273         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
16274         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
16275         definition.
16276         (INLINE_VSYSCALL): Likewise.
16277         (INTERNAL_VSYSCALL): Likewise.
16278         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16279         * sysdeps/unix/sysv/linux/timespec_get.c
16280         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16281         (timespec_get): Use ANSI prototype.
16282         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
16283         and definition for Linux.
16285 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
16287         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
16288         * include/libc-symbols.h: libmvec_hidden_* macro series added.
16290 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16292         [BZ #2981]
16293         [BZ #18410]
16294         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
16295         for missing DT_PLTRELSZ.
16297 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
16299         Remove obsolete aliases that broke 'locale -a'
16300         [BZ #18412]
16301         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
16302         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
16303         breaking some applications that use 'locale -a' output.
16304         Change the encoding of this file from Latin-1 to ASCII to avoid
16305         other potential problems with people grepping this file.
16307 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16309         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
16310         -fasynchronous-unwind-tables.
16311         (CFLAGS-sendto.c): Likewise.
16312         (CFLAGS-sendmsg.c): Likewise.
16313         (CFLAGS-connect.c): Likewise.
16314         (CFLAGS-recvmsg.c): Likewise.
16315         (CFLAGS-recvfrom.c): Likewise.
16316         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
16317         (SOCKETCALL): New macro: non-cancellable socketcall.
16318         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
16319         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
16320         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
16321         * sysdeps/unix/sysv/linux/accept.c: New file.
16322         * sysdeps/unix/sysv/linux/bind.c: Likewise.
16323         * sysdeps/unix/sysv/linux/connect.c: Likewise.
16324         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
16325         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
16326         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
16327         * sysdeps/unix/sysv/linux/listen.c: Likewise.
16328         * sysdeps/unix/sysv/linux/recv.c: Likewise.
16329         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
16330         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
16331         * sysdeps/unix/sysv/linux/send.c: Likewise.
16332         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
16333         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
16334         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
16335         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
16336         * sysdeps/unix/sysv/linux/socket.c: Likewise.
16337         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
16338         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
16339         prototype.
16340         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
16341         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16342         instead of __internal_xxx function.
16343         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
16344         prototype.
16345         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
16346         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16347         instead of __internal_xxx function.
16348         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
16349         prototype.
16350         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
16351         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16352         instead of __internal_xxx function.
16353         * sysdeps/unix/sysv/linux/accept.S: Remove file.
16354         * sysdeps/unix/sysv/linux/bind.S: Likewise.
16355         * sysdeps/unix/sysv/linux/connect.S: Likewise.
16356         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
16357         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
16358         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
16359         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
16360         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
16361         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
16362         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
16363         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
16364         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16365         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
16366         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
16367         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
16368         * sysdeps/unix/sysv/linux/listen.S: Likewise.
16369         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
16370         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
16371         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
16372         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
16373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
16374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
16375         * sysdeps/unix/sysv/linux/recv.S: Likewise.
16376         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
16377         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
16378         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
16379         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16380         * sysdeps/unix/sysv/linux/send.S: Likewise.
16381         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
16382         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
16383         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
16384         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
16385         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
16386         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
16387         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
16388         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
16389         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
16390         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
16391         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
16392         socketcall is implemented in GLIBC.
16394 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
16396         * soft-fp/fmadf4.c: Include <libc-internal.h>.
16397         (__fma): Ignore uninitialized warnings around packing.
16398         * soft-fp/fmasf4.c: Include <libc-internal.h>.
16399         (__fmaf): Ignore uninitialized warnings around packing.
16400         * soft-fp/fmatf4.c: Include <libc-internal.h>.
16401         (__fmal): Ignore uninitialized warnings around packing.
16403         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
16404         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16405         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
16406         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16408         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
16409         switch statement into default case.
16410         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
16412         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
16413         a conditional in forcing "inexact".
16414         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16415         Likewise.
16417 2015-05-22  Roland McGrath  <roland@hack.frob.com>
16419         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16420         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
16421         for each INTERNAL_SYSCALL use.
16423 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
16425         [BZ #438]
16426         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
16427         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
16428         variable.
16430         [BZ #18444]
16431         * string/basename.c (basename): Rename to __basename and define as
16432         weak alias of __basename.  Use libc_hidden_weak.
16433         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
16434         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
16435         __basename instead of basename.
16436         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
16437         Remove variable.
16438         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
16440 2015-05-18  Florian Weimer  <fweimer@redhat.com>
16442         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
16443         (_IO_JUMPS_FILE_plus): New.
16444         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
16445         _IO_CAST_FIELD_ACCESS.
16446         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
16447         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
16448         * libio/freopen.c (freopen): Likewise.
16449         * libio/freopen64.c (freopen64): Likewise.
16450         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
16451         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
16452         * libio/iofwide.c (_IO_fwide): Likewise.
16453         * libio/memstream.c (open_memstream): Likewise.
16454         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16455         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
16456         * libio/oldiopopen.c (_IO_old_popen): Likewise.
16458 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
16460         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
16461         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
16462         NADJ.
16463         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
16464         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
16465         NADJ.
16466         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
16467         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
16468         NADJ.
16470         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
16471         (p == 4) case.
16473         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
16474         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
16475         Remove variable.
16476         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
16477         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
16478         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
16480 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16482         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
16483         Adjust jump table label generation macros.
16485 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16487         * stdio-common/vfprintf.c (vfprintf): Move local variables
16488         args_malloced, specs, specs_malloced, and the code after
16489         do_positional to the printf_positional function.
16490         (printf_positional): New function.
16492 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16494         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
16495         function.
16496         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
16497         STEP4_TABLE, process_arg): Move macro definitions
16498         out of the vfprintf function.  (Cosmetic change only.)
16500 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
16502         * benchtests/Makefile (stdio-common-bench): Define.
16503         (benchset): Add stdio-common-bench.
16504         * sprintf-inputs: New file.
16505         * sprintf-source.c: New file.
16507 2015-05-21  Andreas Schwab  <schwab@suse.de>
16509         [BZ #13028]
16510         [BZ #17053]
16511         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
16512         of struct __res_state.
16513         * resolv/res_send.c (__libc_res_nsend): Likewise.
16514         (get_nsaddr): New function.
16515         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
16516         statp directly.
16518 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
16520         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
16521         -D_POSIX_C_SOURCE=199506L.
16523         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
16525         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
16526         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
16527         Do not mention otherwise.
16528         [POSIX] (_XOPEN_VERSION): Do not expect.
16529         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
16530         [POSIX] (_POSIX2_C_BIND): Likewise.
16531         [POSIX] (_POSIX2_VERSION): Likewise.
16532         [POSIX] (_XOPEN_XPG2): Likewise.
16533         [POSIX] (_XOPEN_XPG3): Likewise.
16534         [POSIX] (_XOPEN_XPG4): Likewise.
16535         [POSIX] (_XOPEN_UNIX): Likewise.
16536         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
16537         [POSIX] (_POSIX_BARRIERS): Likewise.
16538         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
16539         [POSIX] (_POSIX_CPUTIME): Likewise.
16540         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
16541         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
16542         [POSIX] (_POSIX_SHELL): Likewise.
16543         [POSIX] (_POSIX_SPAWN): Likewise.
16544         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
16545         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
16546         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
16547         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
16548         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
16549         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
16550         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
16551         [POSIX] (_XBS5_LP64_OFF64): Likewise.
16552         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
16553         [POSIX] (_POSIX_TIMEOUTS): Likewise.
16554         [POSIX] (_POSIX2_PBS): Likewise.
16555         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
16556         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
16557         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
16558         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
16559         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
16560         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
16561         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
16562         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
16563         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
16564         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
16565         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
16566         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
16567         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
16568         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
16569         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
16570         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
16571         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
16572         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
16573         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
16574         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
16575         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
16576         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
16577         [POSIX] (_SC_2_C_BIND): Likewise.
16578         [POSIX] (_SC_2_C_VERSION): Likewise.
16579         [POSIX] (_SC_2_PBS): Likewise.
16580         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
16581         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
16582         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
16583         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
16584         [POSIX] (_SC_2_PBS_TRACK): Likewise.
16585         [POSIX] (_SC_ATEXIT_MAX): Likewise.
16586         [POSIX] (_SC_BARRIERS): Likewise.
16587         [POSIX] (_SC_BASE): Likewise.
16588         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
16589         [POSIX] (_SC_DEVICE_IO): Likewise.
16590         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
16591         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
16592         [POSIX] (_SC_FD_MGMT): Likewise.
16593         [POSIX] (_SC_FIFO): Likewise.
16594         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
16595         [POSIX] (_SC_FILE_LOCKING): Likewise.
16596         [POSIX] (_SC_FILE_SYSTEM): Likewise.
16597         [POSIX] (_SC_IOV_MAX): Likewise.
16598         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
16599         [POSIX] (_SC_NETWORKING): Likewise.
16600         [POSIX] (_SC_PAGE_SIZE): Likewise.
16601         [POSIX] (_SC_PASS_MAX): Likewise.
16602         [POSIX] (_SC_PIPE): Likewise.
16603         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
16604         [POSIX] (_SC_REGEXP): Likewise.
16605         [POSIX] (_SC_SHELL): Likewise.
16606         [POSIX] (_SC_SIGNALS): Likewise.
16607         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
16608         [POSIX] (_SC_SPIN_LOCKS): Likewise.
16609         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
16610         [POSIX] (_SC_USER_GROUPS): Likewise.
16611         [POSIX] (_SC_USER_GROUPS_R): Likewise.
16612         [POSIX] (_SC_STREAMS): Likewise.
16613         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
16614         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
16615         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
16616         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
16617         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
16618         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
16619         [POSIX] (_PC_FILESIZEBITS): Likewise.
16620         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
16621         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
16622         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
16623         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
16624         [POSIX] (uid_t): Likewise.
16625         [POSIX] (gid_t): Likewise.
16626         [POSIX] (off_t): Likewise.
16627         [POSIX] (pid_t): Likewise.
16628         [POSIX] (cuserid): Allow.
16629         (_SC_2_CHAR_TERM): Require constant.
16630         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
16631         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
16632         variable.
16634 2015-05-20  Roland McGrath  <roland@hack.frob.com>
16636         * sysdeps/nacl/pthread-pids.h: New file.
16637         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
16638         (create_thread): Use __nacl_get_tid to initialize PD->tid.
16640         * nptl/pthread-pids.h: New file.
16641         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
16642         * nptl/nptl-init.c: Include <pthread-pids.h>.
16643         (__pthread_initialize_minimal_internal):
16644         Call __pthread_initialize_pids instead of set_tid_address syscall.
16646         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
16647         * sysdeps/posix/usleep.c: ... here.
16649 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16651         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
16652         call_pselect6 object.
16653         [$(subdir) = io]: Remove call_sync_file_range object.
16654         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
16655         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
16656         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
16657         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
16659 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
16661         * math/s_cproj.c: Add include "math_private.h".
16662         * math/s_cprojf.c: Likewise.
16663         * math/s_cprojl.c: Likewise.
16665 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
16667         [BZ #18244]
16668         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
16669         high mantissa bit when testing whether P is a NaN.
16670         * math/libm-test.inc (remainder_test_data): Add more tests.
16671         (remquo_test_data): Likewise.
16673         [BZ #18049]
16674         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
16675         below -32, return the argument, with underflow if subnormal.
16676         * math/auto-libm-test-in: Add more tests of atanh.
16677         * math/auto-libm-test-out: Regenerated.
16679 2015-05-19  Roland McGrath  <roland@hack.frob.com>
16681         [BZ #18434]
16682         * nptl/tst-sem15.c: New file.
16683         * nptl/Makefile (tests): Add it.
16684         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
16685         s/<</>>/ to fix typo in EOVERFLOW check.
16686         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
16688 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16690         * manual/strings.texi (envz_remove): Fix typo in safety
16691         annotations.
16693 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
16694             Steve Ellcey  <sellcey@imgtec.com>
16696         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
16697         in order to avoid strict alias warnings.
16698         (iruserok_af): Ditto for ra.
16700 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
16702         [BZ #17581]
16703         * malloc/hooks.c
16704         (magicbyte): Convert to a function and avoid returning 0x01.
16705         (mem2mem_check): Avoid using a length byte equal to the magic byte.
16706         (mem2chunk_check): Fix unsigned comparisons to zero.
16707         Hoist defs of sz and magic.
16709 2015-05-19  Richard Henderson  <rth@redhat.com>
16711         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
16713         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16715 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16717         [BZ #16159]
16718         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
16719         * malloc/arena.c (arena_lock): Check if arena is corrupt.
16720         (reused_arena): Find a non-corrupt arena.
16721         (heap_trim): Pass arena to unlink.
16722         * malloc/hooks.c (malloc_check_get_size): Pass arena to
16723         malloc_printerr.
16724         (top_check): Likewise.
16725         (free_check): Likewise.
16726         (realloc_check): Likewise.
16727         * malloc/malloc.c (malloc_printerr): Add arena argument.
16728         (unlink): Likewise.
16729         (munmap_chunk): Adjust.
16730         (ARENA_CORRUPTION_BIT): New macro.
16731         (arena_is_corrupt): Likewise.
16732         (set_arena_corrupt): Likewise.
16733         (sysmalloc): Use mmap if there are no usable arenas.
16734         (_int_malloc): Likewise.
16735         (__libc_malloc): Don't fail if arena_get returns NULL.
16736         (_mid_memalign): Likewise.
16737         (__libc_calloc): Likewise.
16738         (__libc_realloc): Adjust for additional argument to
16739         malloc_printerr.
16740         (_int_free): Likewise.
16741         (malloc_consolidate): Likewise.
16742         (_int_realloc): Likewise.
16743         (_int_memalign): Don't touch corrupt arenas.
16744         * malloc/tst-malloc-backtrace.c: New test case.
16746         * Makefile (summarize-tests): Fix return value on success.
16748         * manual/string.texi (Envz Functions): Add envz_remove.
16750 2015-05-18  Roland McGrath  <roland@hack.frob.com>
16752         * sysdeps/posix/opendir.c: Include <stdbool.h>.
16753         (invalid_name): New function, broken out of ...
16754         (__opendirat): ... here.  Call it.
16755         (need_isdir_precheck): New function, broken out of ...
16756         (__opendirat): ... here.  Call it.
16757         Use __fxstatat64, not __xstatat64.
16758         (opendir_oflags): New function, broken out of ...
16759         (__opendirat): ... here.  Call it.
16760         (opendir_tail): New function, broken out of ...
16761         (__opendirat): ... here.  Call it.
16762         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
16763         opendir_tail, rather than punting to __opendirat.
16764         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
16766 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16768         * .gitignore: Ignore generated *.pyc.
16770 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
16772         * include/stdio.h: Define __need_wint_t.
16773         * test-skeleton.c: Avoid `for' loop initial declaration.
16774         * nptl/tst-initializers1.c: Use test-skeleton.c.
16776 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16778         [BZ #18418]
16779         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
16781 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
16783         [BZ #16352]
16784         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
16785         (__ieee754_atanh): Force underflow exception for results with
16786         small absolute value.
16787         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
16788         (__ieee754_atanhf): Force underflow exception for results with
16789         small absolute value.
16790         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
16791         (__ieee754_atanh): Force underflow exception for results with
16792         small absolute value.
16793         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
16794         (__ieee754_atanhf): Force underflow exception for results with
16795         small absolute value.
16796         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
16797         (__ieee754_atanhl): Force underflow exception for results with
16798         small absolute value.
16799         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
16800         (__ieee754_atanhl): Force underflow exception for results with
16801         small absolute value.
16802         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
16803         (__ieee754_atanhl): Force underflow exception for results with
16804         small absolute value.
16805         * math/auto-libm-test-in: Do not allow missing underflow
16806         exceptions from atanh.
16807         * math/auto-libm-test-out: Regenerated.
16809         [BZ #18221]
16810         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
16811         2**-28 as threshold for returning x or +/- 1/x.
16812         * math/auto-libm-test-in: Add more tests of tan.
16813         * math/auto-libm-test-out: Regenerated.
16815         [BZ #18220]
16816         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16817         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
16818         * math/auto-libm-test-in: Add another test of lgamma.
16819         * math/auto-libm-test-out: Regenerated.
16821 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
16823         * stdio-common/printf_fp.c (___printf_fp): Use abs.
16824         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
16825         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
16826         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
16827         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
16828         (ADD2A): Use fabs.  (SUB2A): Use fabs.
16829         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
16830         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
16831         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
16832         (log1): Use fabs.  (my_log2): Use fabs.
16833         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
16834         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
16835         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
16836         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
16837         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
16838         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
16839         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
16840         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
16841         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
16842         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
16843         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
16845 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
16847         [BZ #18217]
16848         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
16849         as threshold for returning 1 - x.
16850         * math/auto-libm-test-in: Add more tests of erfc.
16851         * math/auto-libm-test-out: Regenerated.
16853 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
16855         [BZ #18196]
16856         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
16857         threshold for large arguments.
16858         * math/auto-libm-test-in: Add another test of atan.
16859         * math/auto-libm-test-out: Regenerated.
16861         [BZ #16339]
16862         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
16863         (__log1p): Force underflow exception for results with small
16864         absolute value.
16865         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
16866         (__log1pf): Force underflow exception for results with small
16867         absolute value.
16868         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
16869         (__log1p): Force underflow exception for results with small
16870         absolute value.
16871         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
16872         (__log1pf): Force underflow exception for results with small
16873         absolute value.
16874         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
16875         (__log1pl): Force underflow exception for results with small
16876         absolute value.
16877         * math/auto-libm-test-in: Do not allow missing underflow
16878         exceptions from log1p.
16879         * math/auto-libm-test-out: Regenerated.
16881 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
16882             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16884         [BZ #16704]
16885         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
16887 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
16889         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
16890         (libmvec): New variable.
16891         * configure.ac: Added option for mathvec build.
16892         * configure: Regenerated.
16893         * mathvec/Depend: New file.
16894         * mathvec/Makefile: New file.
16895         * shlib-versions: Added libmvec.
16896         * math/Makefile: Added rule for libm.so installation.
16898         * bits/math-vector.h: New file.
16899         * bits/libm-simd-decl-stubs.h: New header.
16900         * math/Makefile (headers): Added new header
16901         libm-simd-decl-stubs.h.
16902         * math/math.h (__MATHCALL_VEC): New macro.
16904         * math/gen-libm-have-vector-test.sh: Script generates series of macros
16905         for conditions in testing functions.
16906         * math/Makefile: Added call of libm-have-vector-test.sh.
16907         * math/libm-test.inc (HAVE_VECTOR): New macros.
16909         * math/libm-test.inc: START refactored.
16910         * math/test-double.c (TEST_MATHVEC): Add define.
16911         * math/test-float.c: Likewise.
16912         * math/test-idouble.c: Likewise.
16913         * math/test-ifloat.c: Likewise.
16914         * math/test-ildoubl.c: Likewise.
16915         * math/test-ldouble.c: Likewise.
16916         * sysdeps/generic/math-tests-arch.h
16917         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
16918         architecture check.
16920         * math/test-double.c (FUNC_TEST): New macro.
16921         * math/test-float.c: Likewise.
16922         * math/test-idouble.c: Likewise.
16923         * math/test-ifloat.c: Likewise.
16924         * math/test-ildoubl.c: Likewise.
16925         * math/test-ldouble.c: Likewise.
16926         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
16928 2015-05-13  Roland McGrath  <roland@hack.frob.com>
16930         * sysdeps/nacl/fdopendir.c: New file.
16932         * dirent/scandir-tail.c: New file.
16933         * dirent/scandir64-tail.c: New file.
16934         * dirent/Makefile (routines): Add them.
16935         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
16936         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
16937         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
16938         [!SCANDIR] (SCANDIR_TAIL): New macro.
16939         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
16940         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
16941         (SCANDIRAT): Macro removed.
16942         (SCANDIR_TAIL): New macro.
16943         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
16944         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
16945         (SCANDIRAT): Just call __opendirat and __scandir_tail.
16946         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
16947         (READDIR): Macro removed.
16948         (SCANDIR_TAIL): New macro.
16949         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
16950         (SCANDIR_TAIL): New macro.
16952         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
16953         * dirent/scandir-cancel.c: ... to this new file.
16954         * dirent/Makefile (routines): Add it.
16955         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
16956         * sysdeps/unix/sysv/linux/i386/scandir64.c
16957         (SKIP_SCANDIR_CANCEL): Macro removed.
16958         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
16960         * dirent/tst-scandir.c: New file.
16961         * dirent/tst-scandir64.c: New file.
16962         * dirent/Makefile (tests): Add them.
16964 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
16966         [BZ #18409]
16967         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
16969 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16971         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
16972         list.
16974 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
16976         * benchtests/bench-strcoll.c: New benchmark.
16977         * benchtests/Makefile: Generate locales and run benchmark.
16978         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
16979         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
16980         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
16981         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
16982         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
16983         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
16984         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
16985         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
16986         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
16987         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
16988         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
16989         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
16990         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
16991         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
16992         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
16993         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
16994         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
16995         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
16996         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
16997         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
16998         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
16999         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
17000         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
17001         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
17003 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
17005         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
17006         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17008 2015-05-12  Roland McGrath  <roland@hack.frob.com>
17010         * posix/uname-values.h: New file.
17011         * posix/uname.c: Include that instead of <config-name.h>.
17012         * sysdeps/nacl/uname-values.h: New file.
17013         * sysdeps/arm/nacl/uname-values.h: New file.
17015 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
17017         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
17018         splitting into fields.
17020 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
17022         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
17023         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
17024         * locale/localeinfo.h: Add enum collation_encoding_type.
17025         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
17026         * programs/ld-collate.c (collate_output): Add encoding type info.
17027         * string/strcoll_l.c (STRDIFF): New function.
17028         * (STRCOLL): Use STRDIFF to skip over equal prefix.
17029         * wcsmbs/wcscoll_l.c: Define STRDIFF.
17031 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
17033         [BZ #18397]
17034         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
17035         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
17036         <fpu_control.h> instead of <math/fpu_control.c>.
17037         * sysdeps/mips/mips32/fpu/Makefile: New file.
17039 2015-05-11  Andreas Schwab  <schwab@suse.de>
17041         [BZ #18007]
17042         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
17043         nss_endgrent.
17044         (_nss_compat_endgrent): Call nss_endgrent.
17045         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
17046         nss_endpwent.
17047         (_nss_compat_endpwent): Call nss_endpwent.
17048         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
17049         needent, call nss_setspent only if non-zero.
17050         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
17051         (internal_endspent): Don't call nss_endspent.
17052         (_nss_compat_endspent): Call nss_endspent.
17053         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
17054         Remove.  All uses removed.
17055         (internal_setent): Remove parameter stayopen, add parameter
17056         stream.  Use it instead of global variable.
17057         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
17058         (internal_endent, internal_getent): Add parameter stream.  Use it
17059         instead of global variable.
17060         (CONCAT(_nss_files_end,ENTNAME))
17061         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
17062         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
17063         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
17064         uses removed.
17065         (internal_setent, internal_endent): Add parameter stream.  Use it
17066         instead of global variable.
17067         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
17068         stream.
17069         (get_next_alias): Add parameter stream.
17070         (_nss_files_getaliasent_r): Pass global stream.
17071         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
17072         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
17073         (_nss_files_gethostbyname4_r): Pass local stream to
17074         internal_setent, internal_getent and internal_endent.  Remove
17075         locking.
17077 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17079         * tst-strfmon1.c (tests): Update expected currency symbol.
17081 2015-05-08  Roland McGrath  <roland@hack.frob.com>
17083         * sysdeps/nacl/gethostname.c: New file.
17085 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
17087         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
17088         and sinh.
17089         * math/auto-libm-test-out: Regenerated.
17090         * sysdeps/i386/fpu/libm-test-ulps: Update.
17091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17093 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
17095         [BZ #18125]
17096         * stdlib/tst-setcontext3.c: New file.
17097         * stdlib/tst-setcontext3.sh: New file.
17098         * stdlib/Makefile (tests): Add tst-setcontext3.
17099         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
17100         to verify test program created output file.
17101         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
17102         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
17103         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
17104         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
17106 2015-05-06  Roland McGrath  <roland@hack.frob.com>
17108         [BZ #18383]
17109         * elf/tst-tlsalign.c: New file.
17110         * elf/tst-tlsalign-static.c: New file.
17111         * elf/tst-tlsalign-lib.c: New file.
17112         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
17113         (tests-static): Add tst-tlsalign-static.
17114         (modules-names): Add tst-tlsalign-lib.
17115         (test-xfail-tst-tlsalign): New variable.
17116         (test-xfail-tst-tlsalign-static): New variable.
17118         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
17119         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
17121 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
17123         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
17124         csqrt, erfc, sin and sincos.
17125         * math/auto-libm-test-out: Regenerated.
17126         * sysdeps/i386/fpu/libm-test-ulps: Update.
17127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17129 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17131         * sysdeps/aarch64/libm-test-ulps: Update.
17133 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
17135         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
17136         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
17137         * math/auto-libm-test-out: Regenerated.
17138         * sysdeps/i386/fpu/libm-test-ulps: Update.
17139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17141 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17143         [BZ #18265]
17144         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
17145         (wcsncpy): Likewise.
17147 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17149         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17150         Assume __ASSUME_FALLOCATE is always true.
17151         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17152         (__posix_fallocate64_l64): Likweise.
17153         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
17154         (posix_fallocate): Likewise.
17155         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
17156         (__posix_fallocate64_l64): Likewise.
17157         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17158         [!__ASSUME_FALLOCATE]: Add comment.
17160 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17162         * sysdeps/unix/sysv/linux/i386/Makefile
17163         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
17164         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
17165         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
17166         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17167         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17168         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
17169         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
17171 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
17173         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
17174         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
17175         tgamma.
17176         * math/auto-libm-test-out: Regenerated.
17177         * sysdeps/i386/fpu/libm-test-ulps: Update.
17178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17180 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17182         * math/auto-libm-test-in: Add more tests of tgamma.
17183         * math/auto-libm-test-out: Regenerated.
17184         * sysdeps/i386/fpu/libm-test-ulps: Update.
17185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17187         * math/auto-libm-test-in: Add more tests of tanh.
17188         * math/auto-libm-test-out: Regenerated.
17189         * sysdeps/i386/fpu/libm-test-ulps: Update.
17190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17192         * math/auto-libm-test-in: Add more tests of tan.
17193         * math/auto-libm-test-out: Regenerated.
17194         * sysdeps/i386/fpu/libm-test-ulps: Update.
17195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17197         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
17198         * math/auto-libm-test-out: Regenerated.
17199         * sysdeps/i386/fpu/libm-test-ulps: Update.
17200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17202         * math/auto-libm-test-in: Add another test of pow.
17203         * math/auto-libm-test-out: Regenerated.
17204         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17206         * math/auto-libm-test-in: Add more tests of lgamma.
17207         * math/auto-libm-test-out: Regenerated.
17208         * sysdeps/i386/fpu/libm-test-ulps: Update.
17209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17211         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
17212         log1p.
17213         * math/auto-libm-test-out: Regenerated.
17214         * sysdeps/i386/fpu/libm-test-ulps: Update.
17215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17217 2015-05-01  Mark Wielaard  <mjw@redhat.com>
17219         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
17220         Elf64_Chdr structs and ELFCOMPRESS constants.
17222 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17224         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
17225         expm1.
17226         * math/auto-libm-test-out: Regenerated.
17227         * sysdeps/i386/fpu/libm-test-ulps: Update.
17228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17230         * math/auto-libm-test-in: Add more tests of erf and erfc.
17231         * math/auto-libm-test-out: Regenerated.
17232         * sysdeps/i386/fpu/libm-test-ulps: Update.
17233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17235 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17237         * config.h.in (HAVE_AARCH64_BE): Add.
17239 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
17241         * math/auto-libm-test-in: Add more tests of csqrt.
17242         * math/auto-libm-test-out: Regenerated.
17243         * sysdeps/i386/fpu/libm-test-ulps: Update.
17244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17246         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17247         * math/auto-libm-test-out: Regenerated.
17248         * sysdeps/i386/fpu/libm-test-ulps: Update.
17249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17251         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
17253 2015-04-29  Roland McGrath  <roland@hack.frob.com>
17255         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
17256         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
17258         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
17259         (euidaccess, eaccess): Define as weak aliases.
17261         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
17262         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
17263         but __suseconds_t is often 'long int' so some sources assume that
17264         type is being used (e.g. they use %ld to print tv_usec).
17266 2015-04-29  Florian Weimer  <fweimer@redhat.com>
17268         [BZ #18007]
17269         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
17270         (CVE-2014-8121)
17271         * nss/tst-nss-getpwent.c: New file.
17272         * nss/Makefile (tests): Add new test.
17274 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
17276         [BZ #18346]
17277         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
17278         exponents less than 48 as cases where high part of mantissa needs
17279         examining to determine whether argument is integral.
17280         * math/libm-test.inc (round_test_data): Add more tests.
17282 2015-04-28  Mark Wielaard  <mjw@redhat.com>
17284         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
17286 2015-04-27  David S. Miller  <davem@davemloft.net>
17288         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
17289         __tls_get_addr.
17290         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
17292 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
17294         [BZ#18333]
17295         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
17297 2015-04-27  Florian Weimer  <fweimer@redhat.com>
17299         [BZ#18333]
17300         * time/tzset.c (parse_tzname): Return error on memory allocation
17301         failure.
17302         * test-skeleton.c (struct temp_name_list): Change type of name
17303         member to non-const.
17304         (add_temp_file): Create a copy of the file name.
17305         (delete_temp_files): Deallocate memory.
17306         (create_temp_file): Add comment.
17308 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17310         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
17311         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
17313 2015-04-24  Roland McGrath  <roland@hack.frob.com>
17315         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
17316         * sysdeps/arm/configure: Regenerated.
17318 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17320         [BZ #17715]
17321         * time/tzfile.c (__tzfile_read): Check for large values of
17322         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
17323         * time/tzset.c (__tzstring_len): New function, based on the old
17324         __tzstring function.
17325         (__tzstring): Call __tzstring_len.
17326         (parse_tzname): New helper function extracted from
17327         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
17328         the input string.
17329         (parse_offset): New helper function extracted from
17330         __tzset_parse_tz.  Replace switch with fallthrough with
17331         initialization before sscanf.
17332         (parse_rule): Likewise.
17333         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
17334         new-style function definition.
17335         * timezone/Makefile (tests): Add tst-tzset.
17336         (tst-tzset.out): Dependencies on time zone files.
17337         (tst-tzset-ENV): Set TZDIR.
17338         (testdata/XT%): Copy crafted time zone files.
17339         * timezone/README: Mention crafted time zone files.
17340         * timezone/testdata/XT1, timezone/testdata/XT2,
17341         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
17342         files.
17343         * timezone/tst-tzset.c: New test.
17345 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17347         * Makeconfig (+gccwarn): Remove -Winline.
17349 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17351         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
17353 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17355         * NEWS: Mention sysconf() cache information support for s390.
17356         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
17358 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
17360         * math/k_casinh.c (__kernel_casinh): Use __copysign.
17361         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
17362         (__nearbyint): Likewise.
17363         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
17364         (copysignl): Likewise.
17366 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
17368         [BZ #18287]
17369         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
17370         based on padding.  (CVE-2015-1781)
17372 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17374         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
17375         libc-vdso.h.
17376         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
17377         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
17378         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
17379         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17380         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17381         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
17382         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
17383         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17384         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
17385         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
17386         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17387         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17388         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17389         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
17390         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17391         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
17392         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
17393         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
17394         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
17395         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
17396         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
17397         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
17398         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
17400 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
17402         * stdlib/setenv.c (__add_to_environ):
17403         Dump core quickly if setenv (..., NULL, ...) is called.
17404         This time, do it the right way, and pacify GCC with a pragma.
17406 2015-04-17  Roland McGrath  <roland@hack.frob.com>
17408         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
17409         IMAP->l_prev cannot be null, and #if out the code for the contrary
17410         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
17411         believe that NS (&_dl_ns[NSID]) could point outside the array.
17413         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
17414         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
17415         before using NSID as an index.
17417 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
17419         [BZ #17825]
17420         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
17421         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
17422         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17424 2015-04-17  Roland McGrath  <roland@hack.frob.com>
17426         Add preliminary port to Google Native Client on ARM.
17427         * abi-tags (.*-.*-nacl.*): New entry.
17428         * sysdeps/arm/nacl: New directory.
17429         * sysdeps/nacl: New directory.
17431 2015-04-16  David S. Miller  <davem@davemloft.net>
17433         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
17434         lowlevellock-futex.h
17436 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
17438         * sysdeps/tile/configure.ac: New file.
17439         * sysdeps/tile/configure: Regenerated.
17441 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17443         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
17444         conditionals for weak_alias and libc_hidden_weak.
17445         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
17446         libc_hidden_weak and weak_alias.
17447         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
17448         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
17449         and weak_alias for static one.
17451 2015-04-15  David S. Miller  <davem@davemloft.net>
17453         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17455 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17457         [BZ #18206]
17458         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
17459           Use signed comparision instead of substraction to avoid
17460           overflow bug.
17461         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
17462           Take the sign of ret.
17463         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
17464           Do not expect precise return values. Only the sign matters.
17465         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
17466         * wcsmbs/test-wcsncmp.c: New File.
17467         * string/test-strncmp.c: Add wcsncmp support.
17469 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17471         [BZ #6792]
17472         * math/w_log1p.c: New file.
17473         * math/w_log1pf.c: Likewise.
17474         * math/w_log1pl.c: Likewise.
17475         * math/Makefile (libm-calls): Add w_log1p.
17476         * math/s_log1pl.c (log1pl): Remove weak_alias.
17477         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
17478         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
17479         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
17480         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
17481         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
17482         [NO_LONG_DOUBLE] (log1pl): Likewise.
17483         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
17484         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
17485         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
17486         (log1p): Remove long_double_symbol.
17487         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
17488         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
17489         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
17490         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
17491         remove weak_alias for corresponding log1p function.
17492         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
17493         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
17494         * sysdeps/ia64/fpu/w_log1p.c: New file.
17495         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
17496         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
17497         * math/libm-test.inc (log1p_test_data): Add errno expectations.
17499 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
17501         [BZ #18247]
17502         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
17503         decimal exponent by 1.
17504         * stdlib/tst-strtod-round-data: Add more tests.
17505         * stdlib/tst-strtod-round.c (tests): Regenerated.
17507 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
17509         * math/auto-libm-test-in: Add more tests of clog and clog10.
17510         * math/auto-libm-test-out: Regenerated.
17511         * sysdeps/i386/fpu/libm-test-ulps: Update.
17512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17514 2015-04-09  Roland McGrath  <roland@hack.frob.com>
17516         * Makeconfig (module-cppflags): Exclude all .v.i files.
17517         (skip-module-cppflags): Variable removed.
17519         * configure.ac (libc_config_ok): Initialize before reading
17520         preconfigure scripts, not after.
17521         * configure: Regenerated.
17523         * test-skeleton.c (TIMEOUT): Move #define to top level.
17524         (main): Grok environment variable TEST_DIRECT.  If set, print
17525         test expectation details into that file and then behave as if
17526         given --direct.
17528 2015-04-09  Florian Weimer  <fweimer@redhat.com>
17530         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
17531         warning on 32-bit.
17533 2015-04-08  David S. Miller  <davem@davemloft.net>
17535         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17537 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
17539         * math/auto-libm-test-in: Add more tests of atanh.
17540         * math/auto-libm-test-out: Regenerated.
17541         * sysdeps/i386/fpu/libm-test-ulps: Update.
17542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17544         * math/auto-libm-test-in: Add more tests of atan.
17545         * math/auto-libm-test-out: Regenerated.
17546         * sysdeps/i386/fpu/libm-test-ulps: Update.
17547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17549 2015-04-08  Florian Weimer  <fweimer@redhat.com>
17551         * elf/pldd.c (main): Rewrite to use struct
17552         scratch_buffer instead of extend_alloca.
17553         * elf/pldd-xx.c (find_maps): Likewise.
17554         * grp/initgroups.c: Include <scratch_buffer.h> instead of
17555         <alloca.h>.
17556         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
17557         scratch_buffer instead of extend_alloca.
17558         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
17559         grp/compat-initgroups.c.
17560         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
17561         Rewrite to use struct scratch_buffer instead of extend_alloca.
17562         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
17563         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17565 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
17567         * math/auto-libm-test-in: Add more tests of cbrt.
17568         * math/auto-libm-test-out: Regenerated.
17569         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17571         * math/auto-libm-test-in: Add more tests of cabs.
17572         * math/auto-libm-test-out: Regenerated.
17573         * sysdeps/i386/fpu/libm-test-ulps: Update.
17574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17576         [BZ #18210]
17577         [BZ #18211]
17578         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
17579         (__ieee754_atan2): Set FE_TONEAREST mode for internal
17580         computations.
17581         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
17582         clog10.
17583         * math/auto-libm-test-out: Regenerated.
17584         * sysdeps/i386/fpu/libm-test-ulps: Update.
17585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17587         [BZ #18197]
17588         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
17589         (atan): Set FE_TONEAREST mode for internal computations.
17590         * math/auto-libm-test-in: Add more tests of atan.
17591         * math/auto-libm-test-out: Regenerated.
17593 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
17595         [BZ #17930]
17596         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
17598 2015-04-07  Florian Weimer  <fweimer@redhat.com>
17600         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
17602 2015-04-07  Florian Weimer  <fweimer@redhat.com>
17604         * include/scratch_buffer.h: New file.
17605         * malloc/scratch_buffer_grow.c: Likewise.
17606         * malloc/scratch_buffer_grow_preserve.c: Likewise.
17607         * malloc/scratch_buffer_set_array_size.c: Likewise.
17608         * malloc/tst-scratch_buffer.c: Likewise.
17609         * malloc/Makefile (routines): Add scratch_buffer_grow.
17610         (tests): Add test case.
17611         * malloc/Versions (GLIBC_PRIVATE): Export
17612         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
17613         __libc_scratch_buffer_set_array_size.
17615 2015-04-06  Richard Henderson  <rth@redhat.com>
17617         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
17618         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17620         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
17621         unsigned int before printing.
17623 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17625         [BZ #17596]
17626         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
17627         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17629 2015-04-02  Florian Weimer  <fweimer@redhat.com>
17631         * include/libc-internal.h (libc_max_align_t): Define.
17633 2015-04-02  Andreas Schwab  <schwab@suse.de>
17635         [BZ #16850]
17636         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
17638 2015-04-02  Mel Gorman  <mgorman@suse.de>
17640         [BZ #17195]
17641         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
17642         as well as the main arena.
17644 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17646         [BZ #18185]
17647         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
17648         sharing L2 cache to 2 for Silvermont/Knights Landing.
17650 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17652         [BZ #17711]
17653         * config.make.in (have-protected-data): New.
17654         * configure.ac: Check linker support for protected data symbol.
17655         * configure: Regenerated.
17656         * elf/Makefile (modules-names): Add tst-protected1moda and
17657         tst-protected1modb if $(have-protected-data) is yes.
17658         (tests): Add tst-protected1a and tst-protected1b if
17659         $(have-protected-data) is yes.
17660         ($(objpfx)tst-protected1a): New.
17661         ($(objpfx)tst-protected1b): Likewise.
17662         (tst-protected1modb.so-no-z-defs): Likewise.
17663         * elf/tst-protected1a.c: New file.
17664         * elf/tst-protected1b.c: Likewise.
17665         * elf/tst-protected1mod.h: Likewise.
17666         * elf/tst-protected1moda.c: Likewise.
17667         * elf/tst-protected1modb.c: Likewise.
17669 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17671         [BZ #17711]
17672         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
17673         indicates it is called from do_lookup_x on relocation against
17674         protected data, skip the data definion in the executable from
17675         copy reloc.
17676         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
17677         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
17678         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
17679         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
17680         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
17681         otherwise to 0.
17682         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
17683         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
17684         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
17685         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
17686         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
17687         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
17689 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
17691         * sysdeps/nptl/pthread.h: Remove duplicate definition of
17692         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
17694 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
17696         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
17697         THREAD_SETMEM_NC.
17698         * sysdeps/x86_64/nptl/tls.h: Ditto.
17700 2015-03-27  Roland McGrath  <roland@hack.frob.com>
17702         * dlfcn/tststatic.c (main): Converted to ...
17703         (do_test): ... this.
17704         (TEST_FUNCTION): New macro.
17705         Include test-skeleton.c.
17707 2015-03-26  Alan Modra  <amodra@gmail.com>
17709         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
17710         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
17711         zero for undefined weak.
17712         (elf_machine_plt_conflict): Similarly.
17714 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
17716         * math/auto-libm-test-in: Add more tests of acosh, asinh and
17717         atanh.
17718         * math/auto-libm-test-out: Regenerated.
17719         * sysdeps/i386/fpu/libm-test-ulps: Update.
17720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17722         * math/auto-libm-test-in: Add another test of asin.
17723         * math/auto-libm-test-out: Regenerated.
17724         * sysdeps/i386/fpu/libm-test-ulps: Update.
17725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17727         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
17728         Remove macro.
17729         (LLL_EBX_REG): Likewise.
17730         (LLL_ENTER_KERNEL): Likewise.
17732         * math/auto-libm-test-in: Add more tests of asin.
17733         * math/auto-libm-test-out: Regenerated.
17734         * sysdeps/i386/fpu/libm-test-ulps: Update.
17735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17737         [BZ #18138]
17738         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
17739         libc_do_syscall_args): New structure.
17740         (INTERNAL_SYSCALL_MAIN_0): New macro.
17741         (INTERNAL_SYSCALL_MAIN_1): Likewise.
17742         (INTERNAL_SYSCALL_MAIN_2): Likewise.
17743         (INTERNAL_SYSCALL_MAIN_3): Likewise.
17744         (INTERNAL_SYSCALL_MAIN_4): Likewise.
17745         (INTERNAL_SYSCALL_MAIN_5): Likewise.
17746         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
17747         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
17748         Replace conditional definitions by conditional definitions of ....
17749         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
17750         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
17751         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
17752         (libpthread-sysdep_routines): Add libc-do-syscall.
17753         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
17754         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
17755         to __NR_futex not 240.
17757 2015-03-25  Alan Modra  <amodra@gmail.com>
17759         * NEWS: Advertise TLS optimization.
17760         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
17761         (DT_PPC_NUM): Increment.
17762         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
17763         (CHECK_STATIC_TLS): Use here.
17764         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
17765         TLS descriptors.
17766         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17767         * sysdeps/powerpc/dl-tls.c: New file.
17768         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
17769         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
17770         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
17771         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
17772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
17773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
17774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
17776 2015-03-25  Alan Modra  <amodra@gmail.com>
17778         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
17779         for overlapping .opd entries" to "support...".
17780         * sysdeps/powerpc/powerpc64/configure: Regenerate
17782 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
17784         * math/auto-libm-test-in: Add more tests of acos.
17785         * math/auto-libm-test-out: Regenerated.
17786         * sysdeps/i386/fpu/libm-test-ulps: Update.
17787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17789         * math/auto-libm-test-in: Add more tests of expm1.
17790         * math/auto-libm-test-out: Regenerated.
17791         * sysdeps/i386/fpu/libm-test-ulps: Update.
17792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17794 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
17796         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17797         * math/auto-libm-test-out: Regenerated.
17798         * sysdeps/i386/fpu/libm-test-ulps: Update.
17799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17801         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17804         * math/auto-libm-test-in: Add more tests of log2.
17805         * math/auto-libm-test-out: Regenerated.
17806         * sysdeps/i386/fpu/libm-test-ulps: Update.
17807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17809 2015-03-23  Roland McGrath  <roland@hack.frob.com>
17811         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
17812         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
17813         _IO_IS_APPENDING bit in READ_WRITE instead.
17815 2015-03-23  Florian Weimer  <fweimer@redhat.com>
17817         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
17818         (__determine_cpumask_size): Replace extend_alloca with a
17819         variable-length array.  Do not treat res == 0 as an error.
17821 2015-03-23  Florian Weimer  <fweimer@redhat.com>
17823         [BZ #18100]
17824         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
17825         and integer overflow.
17826         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
17827         (main): Add integer overflow tests.
17828         * manual/pattern.texi (Calling Wordexp): Document additional use
17829         for WRDE_SYNTAX.
17831 2015-03-23  Alan Modra  <amodra@gmail.com>
17833         * config.h.in: Remove HAVE_ASM_PPC_REL16.
17834         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
17835         and false branch of conditional.
17836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17837         Likewise.
17839 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
17841         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
17842         libc-modules.h
17843         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
17844         unused declaration of _hurd_intr_rpc_msg_in_trap.
17845         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
17846         defined instead of whether it is non-zero.
17847         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
17848         input constraint instead of both input and output constraint.  Use ecx
17849         clobber instead of %ecx.
17850         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
17851         mutex_unlock): Use a statement expression instead of an expression list.
17852         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
17853         type to vm_size_t instead of vm_address_t.
17854         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
17855         defined instead of whether it is non-zero.
17856         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
17857         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
17858         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
17859         comparisons with mapaddr.
17860         * nscd/nscd-client.h: Include <time.h>.
17861         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
17862         9th parameter to __vm_region instead of int.
17863         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
17864         * scripts/check-local-headers.sh (exclude): Add device/,
17865         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
17866         cthreads.h.
17868 2015-03-19  Roland McGrath  <roland@hack.frob.com>
17870         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
17871         to account for alignment padding.
17872         * sysdeps/arm/memmove.S: Likewise.
17874 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
17876         * sysdeps/unix/sysv/linux/generic/README: New file.
17878 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
17880         [BZ #18138]
17881         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
17882         (futex_abstimed_wait)
17883         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
17884         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
17885         of lll_futex_timed_wait.
17887 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
17889         [BZ #17542]
17890         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
17892 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
17894         [BZ #17090]
17895         [BZ #17620]
17896         [BZ #17621]
17897         [BZ #17628]
17898         * NEWS: Update.
17899         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
17900         entries with Static TLS too.  Skip entries past the end of the
17901         allocated DTV, from Alan Modra.
17902         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
17903         Static TLS DTV entry set up from...
17904         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
17905         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
17906         * nptl/allocatestack.c (init_one_static_tls): ... and here...
17907         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
17908         for Static TLS.
17909         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
17910         that the slot we find is associated with the given map before
17911         using its generation count.
17912         * nptl_db/db_info.c: Include ldsodefs.h.
17913         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
17914         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
17915         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
17916         (link_map::l_tls_offset): New struct field.
17917         (dtv_t::counter): Likewise.
17918         (rtld_global): New struct.
17919         (_rtld_global): New rtld variable.
17920         (dl_tls_dtv_slotinfo_list): New rtld global field.
17921         (dtv_slotinfo_list): New struct.
17922         (dtv_slotinfo): Likewise.
17923         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
17924         (td_lookup): Rename to...
17925         (td_mod_lookup): ... this.  Use new mod parameter instead of
17926         LIBPTHREAD_SO.
17927         * nptl_db/td_thr_tlsbase.c: Include link.h.
17928         (dtv_slotinfo_list, dtv_slotinfo): New functions.
17929         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
17930         addresses even if the DTV is out of date or missing them.
17931         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
17932         index zero-length arrays.
17933         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
17934         (td_lookup): Make it a macro implemented in terms of...
17935         (td_mod_lookup): ... this declaration.
17936         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
17937         (DB_MAIN_VARIABLE): Likewise.
17939 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17941         [BZ #18134]
17942         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17944 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
17946         * stdlib/setenv.c (__add_to_environ): Revert previous change.
17948 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
17950         [BZ #18128]
17951         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
17952         (atomic_add, atomic_increment_and_test)
17953         (atomic_decrement_and_test): Fix 64-bit arithmetic.
17955 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
17957         * stdlib/setenv.c (__add_to_environ):
17958         Dump core quickly if setenv (..., NULL, ...) is called.
17960 2015-03-13  Roland McGrath  <roland@hack.frob.com>
17962         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
17963         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
17964         all the necessary asm magic in one place.
17965         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
17966         using those.
17968 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
17970         [BZ #14906]
17971         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
17972         traced file mtime. Use consistent log message.
17973         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
17974         (register_traced_file): Call install_watches. Always set mtime.
17975         (invalidate_cache): Iterate over all trace files. Call install_watches.
17976         (inotify_check_files): Don't inline. Handle watching parent
17977         directories and configuration file movement in and out.
17978         (handle_inotify_events): New function.
17979         (main_loop_poll): Call handle_inotify_events.
17980         (main_loop_epoll): Likewise.
17981         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
17982         (struct traced_file): Use array of inotify fds. Add parent directory,
17983         and basename.
17984         (struct database_dyn): Remove unused file_mtime.
17985         (init_traced_file): New inline function.
17986         (define_traced_file): New macro.
17987         * nss/nss_db/db-init.c: Use define_traced_file.
17988         (_nss_db_init): Use init_traced_file.
17989         * nss/nss_files/files-init.c: Use define_traced_file.
17990         (_nss_files_init): Use init_traced_file.
17992 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
17994         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
17995         [_LIBC]: Do not include <stdlib.h>.
17996         [!_LIBC] (abort): Remove declaration.
17997         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
17998         _FP_STATIC_ASSERT instead of conditionally calling abort.
17999         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
18000         (_FP_EXTEND_CNAN): Likewise.
18001         (FP_TRUNC): Likewise.
18002         (__FP_CLZ): Likewise.
18003         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
18005 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
18007         * manual/string.texi (XPG basename): Fix prototype.
18009 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18011         [BZ #18080]
18012         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
18013         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
18014         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
18015         (__setcontext): Likewise.
18016         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
18017         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
18018         Call rt_sigprocmask syscall one time to set new signal mask
18019         and retrieve the current signal mask instead of two calls.
18020         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
18021         (__swapcontext): Likewise.
18022         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
18023         * stdlib/tst-setcontext2.c: New file.
18025 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18027         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18029 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
18031         [BZ #18093]
18032         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
18033         the wrong size.
18035 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18037         [BZ #18043]
18038         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
18040 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18042         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
18043         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
18044         Remove define.
18045         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
18046         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
18047         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
18048         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
18049         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
18050         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
18051         define.
18052         * nptl_db/td_symbol_list.c (td_lookup): Remove
18053         HAVE_ASM_GLOBAL_DOT_NAME code.
18054         * sysdeps/powerpc/powerpc64/configure.ac: Remove
18055         HAVE_ASM_GLOBAL_DOT_NAME check.
18056         * sysdeps/powerpc/powerpc64/configure: Regenerate.
18057         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
18058         (DOT_LABEL): Remove define.
18059         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
18060         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
18061         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
18062         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
18063         (__TLS_GET_ADDR): Likewise.
18064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
18065         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
18067 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
18069         [BZ #18111]
18070         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
18071         (_FPU_SETCW): Initialize cw from fpsr before storing.
18072         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
18073         (fesetexceptflag): Rewrite using fpu_control.h.
18074         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
18076 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
18078         [BZ #18110]
18079         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
18080         asms.
18081         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18083 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
18085         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
18086         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
18087         abort.
18088         (_FP_FMA): Likewise.
18089         (_FP_DIV): Likewise.
18091 2015-03-10  Roland McGrath  <roland@hack.frob.com>
18093         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
18094         with 0 in that case.
18095         * Makefile (summarize-tests): New canned sequence, factored out of
18096         commands for targets tests and xtests.  Display summary lines that
18097         don't start with PASS: or XFAIL: rather than ones that do start with
18098         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
18099         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
18100         do start with ERROR: or FAIL:.
18101         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
18102         (except for [$(build-shared) = yes]).
18103         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
18104         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
18105         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
18106         * nptl/Makefile: Revert 2015-03-04 changes.
18107         [$(CXX) empty] (tests-unsupported): New variable.
18108         * debug/Makefile: Likewise.
18110         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
18111         gnulib file.  Replace __attribute with __attribute__ throughout.
18113 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
18115         * sysdeps/hppa/fpu/libm-test-ulps: Update.
18117 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18119         [BZ #18104]
18120         * math/auto-libm-test-in: Add another test of pow.
18121         * math/auto-libm-test-out: Regenerated.
18123 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18125         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
18126         $(config-cflags-nofma).
18128 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18130         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
18131         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
18132         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
18133         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
18134         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
18135         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
18136         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
18137         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
18138         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
18139         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
18140         Add comment on closing #endif.
18142 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18144         * posix/wordexp.c (CHAR_IN_SET): New macro.
18145         (parse_param): Use it.
18147 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18149         * sysdeps/powerpc/fpu/libm-test-ulps: update.
18151 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18153         [BZ #18043]
18154         * posix/wordexp.c (parse_param): Fix buffer overflow.
18155         * posix/wordexp-test.c (test_case): Add test case.
18157 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18159         [BZ #18042]
18160         * posix/wordexp.c (parse_backtick): Fix off-by-one.
18161         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
18163 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18165         [BZ #18043]
18166         * posix/wordexp-test.c (test_case): Add test for BZ #18043
18167         (do_bz18043): Delete.
18168         (at_page_end): New.
18169         (testit): Refactor to have words at the edge of unreadable page.
18171 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18173         [BZ #16734]
18174         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
18175         Cleanup read-only streams as well.
18176         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
18178 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18180         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
18181         <bits/libc-lockP.h>
18183 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
18185         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
18186         on [__KERNEL__].
18187         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
18188         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
18189         * soft-fp/op-common.h (_FP_DECL): Likewise.
18191 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18193         * elf/ifuncdep2.c (global): Replace
18194         __attribute__((visibility("protected"))) with
18195         asm (".protected global").
18196         * elf/ifuncmod1.c (global): Likewise.
18197         * elf/ifuncmod5.c (global): Likewise.
18199 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
18201         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
18202         <asm/sfp-machine.h> instead of <sfp-machine.h>.
18204 2015-03-06  Roland McGrath  <roland@hack.frob.com>
18206         * manual/install.texi (Configuring and compiling):
18207         Document test-wrapper-env-only.
18208         * INSTALL: Regenerated.
18210 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18212         [BZ #18043]
18213         * posix/wordexp.c (parse_param): Fix buffer overflow.
18214         * posix/wordexp-test.c (do_bz18043): Add test case.
18216 2015-03-06  Vincent Bernat  <vincent@bernat.im>
18218         * time/tst-strptime2.c (do_test): Ensure failing tests are
18219         reported correctly.
18220         * time/tst-strptime3.c (do_test): Likewise.
18222 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
18224         Fix aio_error thread-safety.
18225         * sysdeps/pthread/aio_error.c: New file
18226         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
18227         synchronization.
18229 2015-03-06  Florian Weimer  <fweimer@redhat.com>
18231         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
18232         (group_number, vfprintf): Use it.
18233         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
18234         (JUMP, REF): Use it.
18235         (WORK_BUFFER_SIZE): New enum constant.
18236         (process_arg, vfprintf): Use it.
18238 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
18240         * manual/errno.texi (Error Messages): Complete example function
18241         by adding missing #define.
18242         (program_invocation_name): Add statement indicating GNU
18243         extension and reference which header file declares the variable.
18244         (program_invocation_short_name): Likewise.
18246 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
18248         * manual/errno.texi (Error Messages): Delete strerror ISO C89
18249         compatibility note.
18251 2015-03-05  Roland McGrath  <roland@hack.frob.com>
18253         * Makeconfig (test-wrapper-env-only): New variable.
18254         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
18255         then use that with $(test-wrapper-env-only) rather than using
18256         $(test-wrapper-env) $(run-program-env) $($*-ENV).
18258 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
18260         [BZ #18082]
18261         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
18262         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
18263         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
18264         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
18265         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
18266         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
18267         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
18268         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
18269         Likewise.
18270         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
18271         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
18272         Likewise.
18273         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
18274         Likewise.
18275         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
18276         Likewise.
18277         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
18278         Likewise.
18279         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
18280         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
18281         Likewise.
18282         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
18283         Likewise.
18284         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
18285         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
18287 2015-03-04  Roland McGrath  <roland@hack.frob.com>
18289         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
18290         (ETH_ALEN): New macro.
18291         (struct ether_addr): Use it for length of ether_addr_octet.
18293         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
18294         (setdb): Don't call __nss_configure_lookup for "rpc".
18295         (do_test): Don't call test_rpc.
18296         (output_rpcent, test_rpc): Functions moved ...
18297         * sunrpc/test-rpcent.c: ... to this new file.
18298         * sunrpc/Makefile (tests): Add it.
18300         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
18301         __xpg_sigpause.
18302         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
18303         * nptl/tst-signal6.c: Likewise.
18304         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
18305         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
18307         * configure.ac (libc_cv_cxx_link_ok): New check.
18308         Reset CXX to empty if it fails to link.
18309         * configure: Regenerated.
18310         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
18311         bug-atexit3-lib only if $(CXX) is nonempty.
18312         * nptl/Makefile (tests): Likewise for tst-cancel24.
18313         (tests, tests-static): Likewise for tst-cancel24-static.
18314         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
18315         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
18316         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
18317         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
18319 2015-03-04  Andreas Schwab  <schwab@suse.de>
18321         [BZ #17631]
18322         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
18323         for non-GCC compilers.
18324         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18325         Likewise.
18327 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18329         [BZ #17776]
18330         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
18331         integer before bitwise and assembly operations.
18332         (feclearexcept): Likewise.
18333         * math/test-fenvinline.c: New file.
18334         * math/Makefile: Add test-fenvinline test.
18336 2015-03-03  Alan Modra  <amodra@gmail.com>
18338         [BZ #16512]
18339         * scripts/localplt.awk: Strip off symbol version.
18340         * NEWS: Mention bug fix.
18342 2015-03-02  Roland McGrath  <roland@hack.frob.com>
18344         * sysdeps/pthread/timer_routines.c
18345         (timer_free_list, thread_free_list, thread_active_list): Make static.
18347 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
18349         [BZ #17779]
18350         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18351         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18352         Undefine.
18353         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18354         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18355         Likewise.
18356         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18357         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18358         Likewise.
18360 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
18362         [BZ #18036]
18363         * posix/fnmatch_loop.c (END): Detect invalid pattern.
18364         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
18366 2015-03-02  Andreas Schwab  <schwab@suse.de>
18368         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
18369         variable name.
18371 2015-03-02  Florian Weimer  <fweimer@redhat.com>
18373         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
18374         Return error status.
18376 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
18378         [BZ #15969]
18379         * locale/findlocale.c (_nl_find_locale): Introduce const
18380         version of loc_name and drop unsafe type casts.
18382 2015-02-27  Roland McGrath  <roland@hack.frob.com>
18384         * dlfcn/tststatic2.c (main): Converted to ...
18385         (do_test): ... this.
18386         (TEST_FUNCTION): New macro.
18387         Include test-skeleton.c.
18389 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
18391         [BZ #17711]
18392         * elf/Makefile (tests): Add vismain only if PIE is enabled.
18393         (tests-pie): Add vismain.
18394         (CFLAGS-vismain.c): New.
18395         * elf/vismain.c: Add comments for PIE requirement.
18397 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
18399         [BZ #18046]
18400         [BZ #18047]
18401         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
18402         0x1p-56L as threshold for just returning the argument.
18403         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
18404         0x1p-32L as threshold for just returning the argument.
18405         * math/auto-libm-test-in: Add more tests of atanh.
18406         * math/auto-libm-test-out: Regenerated.
18407         * sysdeps/i386/fpu/libm-test-ulps: Update.
18408         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
18410 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
18412         * string/bcopy.c (bcopy): Call memmove for performance.
18414 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
18416         * string/bzero.c (__bzero): Call memset for performance.
18418 2015-02-27  John David Anglin  <dave.anglin@bell.net>
18420         [BZ #18068]
18421         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
18422         to 00100000.
18424 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
18426         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
18428 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
18430         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
18431         (__kernel_standard): Use CSTR macro when setting exc.name.
18432         * sysdeps/ieee754/Makefile [$(subdir) = math]
18433         (CFLAGS-k_standard.c): Remove variable.
18435         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
18436         setting p and q from "else if" to "else".
18437         (qzero): Likewise.
18438         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
18439         (qone): Likewise.
18440         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
18441         (qzerof): Likewise.
18442         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
18443         (qonef): Likewise.
18444         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
18445         (qzero): Likewise.
18446         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
18447         (qone): Likewise.
18449         [BZ #18038]
18450         [BZ #18039]
18451         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
18452         return pi/2 for arguments below 0x1p-113L.
18453         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
18454         return pi/2 for arguments below 0x1p-106L.
18455         * math/auto-libm-test-in: Add more tests of acos.
18456         * math/auto-libm-test-out: Regenerated.
18458         [BZ #16351]
18459         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
18460         (MO): New macro.
18461         (__ieee754_asin): Force underflow exception for results with small
18462         absolute value.
18463         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
18464         (MO): New macro.
18465         (__ieee754_asinf): Force underflow exception for results with
18466         small absolute value.
18467         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
18468         (__ieee754_asin): Force underflow exception for results with small
18469         absolute value.
18470         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
18471         (__ieee754_asinf): Force underflow exception for results with
18472         small absolute value.
18473         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
18474         (__ieee754_asinl): Force underflow exception for results with
18475         small absolute value.
18476         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
18477         (__ieee754_asinl): Force underflow exception for results with
18478         small absolute value.
18479         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
18480         (__ieee754_asinl): Force underflow exception for results with
18481         small absolute value.
18482         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
18483         Include <math.h>.
18484         * math/auto-libm-test-in: Do not mark underflow exceptions as
18485         possibly missing for bug 16351.
18486         * math/auto-libm-test-out: Regenerated.
18488         [BZ #18030]
18489         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
18490         of power of 2 down when low part has opposite sign.
18491         * math/libm-test.inc (logb_test_data): Add more tests.
18493 2015-02-26  Andreas Schwab  <schwab@suse.de>
18495         [BZ #18032]
18496         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
18497         over collating symbol inside a bracket expression.  Minor cleanup.
18498         * posix/tst-fnmatch3.c (do_test): Add test case.
18500 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
18502         [BZ #18029]
18503         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
18504         Adjust exponent of power of 2 down when low part has opposite
18505         sign.
18506         * math/libm-test.inc (ilogb_test_data): Add more tests.
18508 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
18510         [BZ #15969]
18511         * locale/findlocale.c (_nl_find_locale): Fix constness error in
18512         the previous change.
18514         [BZ #15969]
18515         * locale/findlocale.c (_nl_find_locale): Retry archive search
18516         after alias expansion.
18518 2015-02-25  Roland McGrath  <roland@hack.frob.com>
18520         * iconv/tst-iconv3.c (main): Converted to ...
18521         (do_test): ... this.
18522         (TEST_FUNCTION): New macro.
18523         Include test-skeleton.c.
18525         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
18526         (convert): Make function static.
18527         (test_unalign): Likewise.  Add const to argument pointee types.
18528         (main): Replace with static function do_test.
18529         Print "Succeeded." only if RET is zero.
18530         (TEST_FUNCTION): New macro.
18531         Include test-skeleton.c.
18533         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
18534         returns a null pointer.
18536 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18538         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
18539         to __memcpy_ppc only for static builds.
18541 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
18543         [BZ #18020]
18544         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
18545         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
18546         * math/auto-libm-test-in: Add more tests of asinh.
18547         * math/auto-libm-test-out: Regenerated.
18548         * sysdeps/i386/fpu/libm-test-ulps: Update.
18549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18551 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
18553         [BZ #15850]
18554         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
18555         and ip6_mtuinfo definitions here.
18556         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
18557         in this define too.  Update comment.
18559 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
18561         * elf/sprof.c (load_shobj): Tweak error message to match others.
18563 2015-02-24  Kevin Easton  <kevin@guarana.org>
18565         [BZ #16145] (partial fix)
18566         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
18567         to reduce lock contention.
18569 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
18571         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
18572         (struct timex): Update time comment.
18573         (ADJ_SETOFFSET): Define.
18575 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
18577         [BZ #18019]
18578         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18579         2**56 not 2**28 as threshold for log (2x) formula.
18580         * math/auto-libm-test-in: Add more tests of acosh.
18581         * math/auto-libm-test-out: Regenerated.
18582         * sysdeps/i386/fpu/libm-test-ulps: Update.
18583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18585 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
18587         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
18588         parenthesis around the buf assignment.
18589         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
18591 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
18593         [BZ #16783]
18594         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
18595         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
18596         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
18597         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18598         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18599         * math/libm-test.inc (scalb_test_data): Add more tests.
18601 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18603         [BZ #17916]
18604         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
18605         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
18607 2015-02-24  Eric Rannaud  <e@nanocritical.com>
18609         [BZ #17523]
18610         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
18611         * io/bits/fcntl2.h (open): Use it.
18612         (openat): Likewise.
18613         * io/open.c (__libc_open): Likewise.
18614         * io/open64.c (__libc_open64): Likewise.
18615         * io/open64_2.c (__open64_2): Likewise.
18616         * io/open_2.c (__open_2): Likewise.
18617         * io/openat.c (__openat): Likewise.
18618         * io/openat64.c (__openat64): Likewise.
18619         * io/openat64_2.c (__openat64_2): Likewise.
18620         * io/openat_2.c (__openat_2): Likewise.
18621         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
18622         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
18623         * sysdeps/posix/open64.c (__libc_open64): Likewise.
18624         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18625         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
18626         (__open_nocancel): Likewise.
18627         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
18628         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
18629         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
18631 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18633         [BZ #14841]
18634         * resolv/gethnamaddr.c (getanswer): Skip logging if
18635         RES_USE_DNSSEC is set.
18636         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18638 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
18640         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
18642 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
18644         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
18645         201304L, for Unicode 7.
18647 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
18649         [BZ #17836]
18650         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
18651         shared library.  Add gmon-start.os otherwise.
18652         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
18653         $(objpfx)gmon-start.os if builing shared library.
18654         ($(objpfx)g$(static-start-installed-name)): Likewise.
18656 2015-02-23  Andreas Schwab  <schwab@suse.de>
18658         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
18660 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
18662         [BZ #17269]
18663         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
18664         (enlarge_userbuf): Likewise.
18666 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
18668         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
18669         * math/atest-exp.c (TIMEOUT): Adjust to 200.
18670         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
18671         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
18673 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
18675         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
18676         expression inside statement expression.
18678 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18680         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
18681         <sysdeps/nptl/lowlevellock.h> and remove macros and
18682         functions that are now defined there.
18683         (SYS_futex): Remove.
18684         (lll_compare_and_swap): Remove.
18685         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
18687 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
18689         [BZ #17999]
18690         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
18691         instead of scandirat.
18692         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
18693         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
18694         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
18695         __scandirat.
18696         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
18697         (__scandirat): Declare.  Use libc_hidden_proto.
18698         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
18699         Remove variable.
18700         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
18702 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
18704         [BZ #15319]
18705         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
18706         (MO): New macro.
18707         (__ieee754_atan2): For results with small absolute value, force
18708         underflow exception and remove excess range and precision from
18709         return value.
18710         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
18711         (MO): New macro.
18712         (__ieee754_atan2f): For results with small absolute value, force
18713         underflow exception and remove excess range and precision from
18714         return value.
18715         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
18716         (MO): New macro.
18717         (__atan): For results with small absolute value, force underflow
18718         exception and remove excess range and precision from return value.
18719         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
18720         (MO): New macro.
18721         (__atanf): For results with small absolute value, force underflow
18722         exception and remove excess range and precision from return value.
18723         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
18724         <math.h>.
18725         (__ieee754_atan2): Force underflow exception for results with
18726         small absolute value.
18727         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
18728         <math_private.h>.
18729         (atan): Force underflow exception for results with small absolute
18730         value.
18731         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
18732         (__atanf): Force underflow exception for results with small
18733         absolute value.
18734         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
18735         <math.h>.
18736         (__atanl): Force underflow exception for results with small
18737         absolute value.
18738         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
18739         (__atanl): Force underflow exception for results with small
18740         absolute value.
18741         * sysdeps/x86/fpu/bits/mathinline.h
18742         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
18743         (__ieee754_atan2): Only define inline for long double.
18744         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
18745         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
18746         * math/auto-libm-test-in: Do not mark underflow exceptions as
18747         possibly missing for bug 15319.  Add more tests of atan2.
18748         * math/auto-libm-test-out: Regenerated.
18749         * math/libm-test.inc (casin_test_data): Do not mark underflow
18750         exceptions as possibly missing for bug 15319.
18751         (casinh_test_data): Likewise.
18752         * sysdeps/i386/fpu/libm-test-ulps: Update.
18754 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
18756         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
18757         * sysdeps/mips/bits/endian.h: Fix comments.
18759 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
18761         [BZ #17996]
18762         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
18763         (hdestroy_r): Likewise.
18764         (hsearch_r): Likewise.
18765         (__hcreate_r): Declare and use libc_hidden_proto.
18766         (__hdestroy_r): Likewise.
18767         (__hsearch_r): Likewise.
18768         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
18769         (hcreate): Call __hcreate_r instead of hcreate_r.
18770         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
18771         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
18772         as weak alias of __hcreate_r.
18773         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
18774         __hdestroy_r.
18775         (hsearch_r): Rename to __hsearch_r and define as weak alias of
18776         __hsearch_r.
18777         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
18778         Remove variable.
18779         (test-xfail-XPG4/search.h/linknamespace): Likewise.
18780         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
18781         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
18782         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
18784 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18786         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
18787         arena_lock into a single arena_get.
18789 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
18791         * dl-reloc.c: Inlucde libc-internal.h.
18792         (_dl_try_allocate_static_tls): Call ALIGN_UP.
18793         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
18794         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
18795         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
18796         (grow_heap): Likewise.
18797         * malloc/malloc.c: Include libc-internal.h.
18798         (do_check_malloc): Call powerof2.
18799         (sysmalloc): Use pagesize. Call ALIGN_UP.
18800         (systrim): Use pagesize.
18801         (mremap_chunk): Use pagesize. Call ALIGN_UP.
18802         (__libc_valloc): Use pagesize.
18803         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
18805 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
18807         [BZ #17991]
18808         * include/sys/resource.h (__getrlimit64): Declare.  Use
18809         libc_hidden_proto.
18810         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
18811         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
18812         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
18813         getrlimit64.
18814         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
18815         __getrlimit64.
18816         [!getrlimit64] (getrlimit64): Define as weak alias of
18817         __getrlimit64.  Use libc_hidden_weak.
18818         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
18819         using __getrlimit64 not __new_getrlimit64.
18820         (__GI_getrlimit64): Likewise.
18821         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
18822         Likewise.
18823         (__GI_getrlimit64): Likewise.
18824         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
18825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
18826         (getrlimit): Add __getrlimit64 alias.
18827         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
18828         Likewise.
18829         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
18830         Remove variable.
18831         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
18832         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
18834 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
18836         * libio/fileops.c: Add missing sys/mman.h
18837         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
18839 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
18841         * manual/math.texi (Errors in Math Functions): Clarify goals
18842         regarding inexact and underflow exceptions.
18844 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
18846         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
18847         * sysdeps/mips/memset.S: Ditto.
18849 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
18851         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
18853 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18855         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
18856         (__v1longjmp): Remove versioned symbol.
18857         (__v1siglongjmp): Remove alias and versioned symbol.
18858         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
18859         (__v2siglongjmp): Likewise.
18861 2015-02-16  Torvald Riegel  <triegel@redhat.com>
18863         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
18865 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
18867         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
18869 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
18871         [BZ #17987]
18872         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
18873         zero result does not depend on the sign resulting from
18874         subtraction.
18875         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18876         Likewise.
18877         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18878         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18879         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18880         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18881         * math/libm-test.inc (remquo_test_data): Add more tests.
18883 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
18885         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
18886         Problem reported by J William Piggott.
18888 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
18890         [BZ #17978]
18891         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
18892         products 4 * y and 2 * y where those would overflow.
18893         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18894         Likewise.
18895         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18896         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18897         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18898         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18899         * math/libm-test.inc (remquo_test_data): Add more tests.
18901         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
18903         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
18904         [defined _COMPILING_NEWLIB].
18905         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
18906         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
18908         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
18909         [!defined __mips_isa_rev || __mips_isa_rev < 6].
18911 2015-02-16  Torvald Riegel  <triegel@redhat.com>
18913         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
18914         acquired.
18916 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
18918         [BZ #17792]
18919         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
18920         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
18921         HOST_STACK_END_ADDR): Likewise.
18923 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
18925         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
18926         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
18927         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
18929 2015-02-13  Roland McGrath  <roland@hack.frob.com>
18931         * sysdeps/generic/c++-types.data: New file.
18932         * sysdeps/generic/ld.abilist: New file.
18933         * sysdeps/generic/libBrokenLocale.abilist: New file.
18934         * sysdeps/generic/libanl.abilist: New file.
18935         * sysdeps/generic/libc.abilist: New file.
18936         * sysdeps/generic/libcrypt.abilist: New file.
18937         * sysdeps/generic/libdl.abilist: New file.
18938         * sysdeps/generic/libm.abilist: New file.
18939         * sysdeps/generic/libpthread.abilist: New file.
18940         * sysdeps/generic/libresolv.abilist: New file.
18941         * sysdeps/generic/librt.abilist: New file.
18943 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
18945         [BZ #17569]
18946         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18947         Compute absolute value of x as modified by fmod, not original
18948         value of x.
18949         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
18950         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
18951         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
18952         RUN_TEST_ffI_f1_mod8.
18953         (remquo_test_data): Add more tests.
18955 2015-02-13  Roland McGrath  <roland@hack.frob.com>
18957         * sysdeps/init_array/pt-crti.S: New file.
18959 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
18961         [BZ #17967]
18962         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
18963         __builtin_fmaf instead of relying on contraction of a * b + c.
18965 2015-02-12  J William Piggott  <elseifthen@gmx.com>
18967         [BZ #17969]
18968         * manual/time.texi: correct the zoneinfo path in the TZ Variable
18969         node.
18971 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
18973         [BZ #17964]
18974         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
18975         __builtin_fma instead of relying on contraction of a * b + c.
18977 2015-02-12  Roland McGrath  <roland@hack.frob.com>
18979         * Makeconfig (ASFLAGS): Add -Werror=undef.
18980         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
18981         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
18982         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
18984         * Makeconfig (after-link): New variable.
18985         (+link-pie, +link-pie-tests): Use it.
18986         (+link-static, +link-static-tests): Likewise.
18987         (+link, +link-tests): Likewise.
18988         * Makerules (build-module, build-module-asneeded): Likewise.
18989         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
18990         Likewise.
18991         * elf/Makefile ($(objpfx)ld.so): Likewise.
18993 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
18995         [BZ #17965]
18996         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
18997         both struct timeval and struct timespec.
18999 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
19001         [BZ #16560]
19002         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19003         and redefine.
19004         (__ieee754_exp2l): Do not multiply small fractional parts by
19005         M_LN2l.
19006         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
19007         small argument.
19008         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19009         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19010         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
19011         * math/auto-libm-test-in: Add more tests of exp2.
19012         * math/auto-libm-test-out: Regenerated.
19014 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19016         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
19017         unaligned path.
19019 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19021         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
19022         little endian.
19024 2015-02-12  Andreas Schwab  <schwab@suse.de>
19026         [BZ #15790]
19027         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
19028         Filter out elision flags from value returned in kind.
19029         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
19030         * nptl/tst-pthread-mutexattr.c: New file.
19032 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19034         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
19035         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
19036         into gnu-gnu, and update comment to refer to abi-tags.
19038 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
19040         [BZ #15467]
19041         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
19042         (__sincos): Set errno to EDOM for infinite argument.
19043         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
19044         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
19045         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
19046         (__sincosl): Set errno to EDOM for infinite argument.
19047         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
19048         (__sincosl): Set errno to EDOM for infinite argument.
19049         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
19050         (__sincosl): Set errno to EDOM for infinite argument.
19051         * math/libm-test.inc (sincos_test_data): Test errno setting.
19053 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
19055         * string/strxfrm_l.c: Remove #define STRCMP.
19056         * string/strcoll_l.c: Remove #define STRLEN.
19057         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
19058         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
19060 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
19062         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
19063         * sysdeps/mips/mips32/sfp-machine.h: ... here.
19064         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
19065         * sysdeps/mips/mips64/Makefile: ... here.
19066         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
19067         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
19068         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
19069         * sysdeps/mips/mips64/sfp-machine.h: ... here.
19070         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
19071         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
19072         * sysdeps/mips/mips64/n64/Implies: Likewise.
19074 2015-02-10  Roland McGrath  <roland@hack.frob.com>
19076         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
19077         <sys/time.h>, <string.h>, and <errno.h>.
19078         (dest_offset, dest_address, value, zero): Remove unused variables.
19079         (ldouble): Remove typedef.
19080         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
19081         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
19082         1).  Fix code style.
19083         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
19084         (check): Function removed.
19085         (CHECK): New macro.
19086         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
19087         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
19088         Don't call set_sigaction_FP and remove_sigaction_FP here.
19089         (ldouble_test): Just use 'long double' as macro argument, no need for
19090         the 'ldouble' typedef.
19091         (do_test): Set up SIGFPE handler at start, using plain signal rather
19092         than sigaction.  Fix code style.
19094 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
19096         [BZ #17949]
19097         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
19098         jump label.
19100 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19102         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
19103         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19105         * sysdeps/powerpc/configure.ac: Remove file.
19106         * sysdeps/powerpc/configure: Likewise.
19108         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19109         [sysdep_routines]: Remove wordcopy-power6 object.
19110         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
19111         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
19112         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
19113         (__memmove_ppc32): Likewise.
19114         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
19115         file.
19116         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
19117         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
19118         Remove preprocessor.
19120         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19121         [sysdep_routines]: Remove wide chars objects.
19122         [wcsmbs]: New rule for wide char objects.
19124         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19125         Remove wordcopy-power6 obejct.
19126         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
19127         Use local call for wordcopy and memcpy symbols.
19128         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
19129         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
19130         implementation for loader.
19131         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
19133         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19134         Remove wordcopy-power7 object.
19135         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
19136         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
19137         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
19138         (_wordcopy_fwd_dest_aligned): Likewise.
19139         (_wordcopy_bwd_aligned): Likewise.
19140         (_wordcopy_bwd_dest_aligned): Likewise.
19142         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
19143         Rewrite to call __memmove_ppc instead of include default
19144         implementation.
19146         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19147         Remove wide chars objects.
19148         [wcsmbs]: New rule for wide char objects.
19150 2015-02-09  Andreas Schwab  <schwab@suse.de>
19152         [BZ #17912]
19153         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19154         in terms of __O_DIRECTORY.
19156 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19158         * time/getdate.c: Include <stdbool.h>.
19159         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
19160         call PTR_MANGLE.
19161         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
19162         PTR_DEMANGLE.
19164 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
19166         Add ersatz _Static_assert on older C hosts
19167         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
19168         pre-C11 C platform that is not known to support _Static_assert.
19170 2015-02-07  Richard Braun  <rbraun@sceen.net>
19172         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
19173         sigstate.
19174         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
19176 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19178         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
19179         priority against unexistent AIO_PRIO_DELTA_MAX.
19180         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
19181         instead of int.
19182         * misc/fchflags.c (fchflags): Likewise.
19183         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
19184         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
19185         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
19186         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
19187         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
19188         Declare macros.
19189         [__USE_MISC] (chflags, fchflags): Declare functions.
19190         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
19191         EINVAL when nfds is greater than FD_SETSIZE.
19192         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
19193         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
19194         45.
19195         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
19196         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
19197         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
19198         MACH_RCV_TIMED_OUT.
19199         * hurd/hurd/signal.h (_hurd_self_sigstate,
19200         _hurd_critical_section_lock, _hurd_critical_section_unlock):
19201         Explicit casts from void *.
19202         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
19203         * abi-tags: Rename gnu-gnu os into gnu.
19205         [BZ #4719]
19206         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
19207         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
19208         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
19209         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
19210         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
19211         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
19213         [BZ #17944]
19214         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
19215         duplicates ADDR->sun_path with sockaddr LEN limitation.
19216         * sysdeps/mach/hurd/connect.c: Include <string.h>
19217         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
19218         * sysdeps/mach/hurd/sendmsg.c: Likewise.
19219         * sysdeps/mach/hurd/sendto.c: Likewise.
19220         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
19221         implementing it by hand.
19223 2015-02-06  Roland McGrath  <roland@hack.frob.com>
19225         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
19226         Use sfi_breg on ldr.
19227         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
19228         Likewise.
19230         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
19231         it's defined.
19232         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
19233         Test SIGSETXID only if it's defined.
19235         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
19237         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
19238         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
19240         * nptl/tst-align2.c: Moved ...
19241         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
19242         * nptl/Makefile (tests): Remove tst-align2.
19243         * sysdeps/unix/sysv/linux/Makefile
19244         [$(subdir) = nptl] (tests): Add tst-align-clone.
19245         * nptl/tst-getpid1.c: Moved ...
19246         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
19247         * nptl/tst-getpid2.c: Moved ...
19248         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
19249         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
19250         * sysdeps/unix/sysv/linux/Makefile
19251         [$(subdir) = nptl] (tests): ... here.
19252         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
19253         * sysdeps/unix/sysv/linux/Makefile
19254         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
19256         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
19257         Drop trailing \n from perror argument.  Use return rather than exit.
19259         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
19260         on [SA_SIGINFO].
19261         * nptl/tst-cancel21.c (do_test): Likewise.
19262         * debug/tst-backtrace6.c: Include <signal.h> first thing.
19263         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
19264         [!SA_SIGINFO]: Make it a stub test.
19266         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
19267         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
19269         * posix/tst-getlogin.c: Move to ...
19270         * login/tst-getlogin.c: ... here.
19271         * posix/Makefile (tests): Move tst-getlogin to ...
19272         * login/Makefile (tests): ... here.
19274         * libio/tst-atime.c (do_test): Move local variables SV and E
19275         inside [ST_NOATIME] conditional.
19277         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
19279         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
19281         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
19282         (wait_code): New function replaces macro.
19283         Call nanosleep rather than syscall.
19285         * nptl/pt-system.c: Rewritten.  Put everything under
19286         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19287         Use IFUNC to redirect when possible.
19289         * nptl/pt-longjmp.c: Rewritten.  Put everything under
19290         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19291         Use IFUNC to redirect when possible.
19293         * nptl/pt-fork.c: Rewritten.  Put everything under
19294         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19295         Use IFUNC to redirect when possible.
19296         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
19298         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
19299         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
19300         unconditionally nowadays.  This included the only reference to
19301         __vdso_clock_gettime that appears outside libc proper.
19302         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
19303         Remove version set (containing only __vdso_clock_gettime).
19304         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
19305         Add attribute_hidden.
19306         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
19307         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
19308         libc_hidden_data_def.
19309         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19310         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19312         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
19313         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
19314         setrpcent, and getrpcport to ...
19315         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
19316         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
19317         getrpcbynumber_r, and getrpcent_r to ...
19318         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
19319         * inet/getrpcbyname.c: Moved ...
19320         * sunrpc/getrpcbyname.c: ... here.
19321         * inet/getrpcbyname_r.c: Moved ...
19322         * sunrpc/getrpcbyname_r.c: ... here.
19323         * inet/getrpcbynumber.c: Moved ...
19324         * sunrpc/getrpcbynumber.c: ... here.
19325         * inet/getrpcbynumber_r.c: Moved ...
19326         * sunrpc/getrpcbynumber_r.c: ... here.
19327         * inet/getrpcent.c: Moved ...
19328         * sunrpc/getrpcent.c: ... here.
19329         * inet/getrpcent_r.c: Moved ...
19330         * sunrpc/getrpcent_r.c: ... here.
19331         * inet/Makefile (routines): Move those to ...
19332         * sunrpc/Makefile (routines): ... here.
19333         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
19334         the $(subdirs) list.
19335         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
19336         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
19337         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
19338         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
19340         * elf/Makefile (routines): Include $(all-dl-routines), not just
19341         $(dl-routines).
19342         (rtld-routines): Likewise.  Use = rather than :=.
19343         * sysdeps/aarch64/Makefile [$(subdir) = elf]
19344         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
19345         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
19346         * sysdeps/arm/Makefile: Likewise.
19347         * sysdeps/i386/Makefile: Likewise.
19348         * sysdeps/x86_64/Makefile: Likewise.
19349         * sysdeps/hppa/Makefile [$(subdir) = elf]
19350         (sysdep_routines, sysdep-rtld-routines): Don't add
19351         $(sysdep-dl-routines) to these.
19352         * sysdeps/ia64/Makefile: Likewise.
19353         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
19354         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
19355         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
19356         Don't add dl-static to these; sysdep-dl-routines alone is enough.
19357         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
19358         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
19359         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
19360         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
19361         * sysdeps/powerpc/Makefile [$(subdir) = elf]
19362         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
19363         these; sysdep-dl-routines alone is enough.
19365 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
19367         [BZ #17932]
19368         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
19369         where multiplication results in zero and third argument is finite
19370         and nonzero.
19371         * math/auto-libm-test-in: Add more tests of fma.
19372         * math/auto-libm-test-out: Regenerated.
19374         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
19375         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
19376         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
19377         (_FP_CMP_EQ): Likewise.
19378         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
19380         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
19381         extra argument CHECK_NAN.  Redefine as wrapper around
19382         _FP_EXTEND_CNAN.
19384 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
19386         * version.h (RELEASE): Set to "stable".
19387         (VERSION): Set to "2.21"
19388         * include/features.h (__GLIBC_MINOR__): Set to 21.
19390         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
19392 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19393             Paul Eggert  <eggert@cs.ucla.edu>
19395         [BZ #16618]
19396         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
19397         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
19398         size in bytes. Store needed elements in wpmax. Use needed size
19399         in bytes for extend_alloca.
19401 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
19403         * manual/install.texi: Latest tested versions are GCC 4.9.2,
19404         binutls 2.25, and texinfo 5.2.
19405         * INSTALL: Regenerate.
19406         * sysdeps/nios2/configure: Regenerate.
19407         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
19408         * manual/contrib.texi: Update.
19409         * po/be.po: Update.
19410         * po/bg.po: Update.
19411         * po/ca.po: Update.
19412         * po/cs.po: Update.
19413         * po/da.po: Update.
19414         * po/de.po: Update.
19415         * po/el.po: Update.
19416         * po/eo.po: Update.
19417         * po/es.po: Update.
19418         * po/fi.po: Update.
19419         * po/fr.po: Update.
19420         * po/gl.po: Update.
19421         * po/hr.po: Update.
19422         * po/hu.po: Update.
19423         * po/ia.po: Update.
19424         * po/id.po: Update.
19425         * po/it.po: Update.
19426         * po/ja.po: Update.
19427         * po/ko.po: Update.
19428         * po/lt.po: Update.
19429         * po/nb.po: Update.
19430         * po/nl.po: Update.
19431         * po/pl.po: Update.
19432         * po/pt_BR.po: Update.
19433         * po/ru.po: Update.
19434         * po/rw.po: Update.
19435         * po/sk.po: Update.
19436         * po/sl.po: Update.
19437         * po/sv.po: Update.
19438         * po/tr.po: Update.
19439         * po/uk.po: Update.
19440         * po/vi.po: Update.
19441         * po/zh_CN.po: Update.
19442         * po/zh_TW.po: Update.
19444         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
19445         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
19446         * sysdeps/hppa/dl-irel.h: Remove #warning.
19447         * sysdeps/hppa/entry.h: Provide prototype for
19448         __canonicalize_funcptr_for_compare and cast argument.
19449         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
19450         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
19451         * sysdeps/hppa/sotruss-lib.c: New file.
19452         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
19453         (atomic_compare_and_exchange_val_acq): Use __typeof__.
19454         (atomic_compare_and_exchange_bool_acq): Likewise.
19455         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
19456         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
19458         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
19459         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
19460         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
19462 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
19464         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
19465         called function in non-PIC case.
19467 2015-01-31  David S. Miller  <davem@davemloft.net>
19469         * sysdeps/sparc/sparc32/bits/atomic.h
19470         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
19471         unlock not after it.
19472         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
19473         volatile register usage warnings from the compiler.
19475         * sysdeps/sparc/nptl/sem_init.c: Delete.
19476         * sysdeps/sparc/nptl/sem_post.c: Delete.
19477         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
19478         * sysdeps/sparc/nptl/sem_wait.c: Delete.
19479         * sysdeps/sparc/sparc32/sem_init.c: New file.
19480         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
19481         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
19482         padding explicitly initialized.
19483         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
19484         padding for in-semaphore spinlock.
19485         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
19486         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
19487         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
19488         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
19489         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
19490         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
19491         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
19492         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
19493         version.
19494         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
19495         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
19497 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
19499         [BZ #17801]
19500         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19501         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
19502         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
19503         New.
19504         (index_AVX_Fast_Unaligned_Load): Likewise.
19505         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
19506         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
19507         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
19508         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
19509         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
19510         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
19511         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
19512         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
19513         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
19515 2015-01-29  Andreas Schwab  <schwab@suse.de>
19517         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
19519 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
19521         [BZ #17892]
19522         * nscd/nscd_stat.c (send_stats): Initialize DATA.
19524 2015-01-28  Martin Sebor  <msebor@redhat.com>
19526         * math/README.libm-test: Clarify. Add "How to read the test output."
19528 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
19530         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
19531         Define to 0.
19533 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
19535         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
19536         (__HAVE_64B_ATOMICS): Define to 0.
19538 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19540         [BZ #17885]
19541         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
19542         value to set as new flag.
19544         [BZ #16576]
19545         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
19546         and use _ARCH_PPCSQ instead.
19547         (__ieee754_sqrt): Likewise.
19548         (__ieee754_sqrtf): Likewise.
19549         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
19550         _ARCH_PPCSQ is defined.
19551         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
19552         fsqrt instruction.
19553         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
19554         _ARCH_PPCSQ is defined.
19555         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
19556         fsqrts instruction.
19557         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
19559 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19561         * iconv/loop.c: Suppress array out of bound warning caused by GCC
19562         bug (GCC BZ #64739).
19564 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
19566         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
19567         Mark _retval as used.
19568         (lll_futex_wake_unlock): Likewise.
19569         (lll_futex_timed_wait_requeue_pi): Likewise.
19571         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
19572         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
19573         register variables.
19575         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
19576         libm_hidden_def.
19578         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
19579         (__bswap_64): Mark as __always_inline.
19581 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
19583         [BZ #15378]
19584         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
19585         when none of the search directories exist.
19587 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19589         [BZ #17869]
19590         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
19591         power8 in .machine directive.
19593         [BZ #17868]
19594         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
19595         set dependency from opd value.
19597 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
19599         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19600         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
19601         architecture.
19603 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
19605         [BZ #17870]
19606         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
19607         with uint64_t.
19608         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
19609         (uint64_t) 1.
19610         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
19611         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
19612         Replace 1UL with (uint64_t) 1.
19613         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
19614         int with uint64_t.
19616 2015-01-23  Roland McGrath  <roland@hack.frob.com>
19618         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
19619         (if_freenameindex): Likewise.
19621         * resource/getrlimit64.c: Add missing libc_hidden_def.
19623 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
19625         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
19626         __label__.
19627         (_FP_FMA): Likewise.
19628         (_FP_TO_INT_ROUND): Likewise.
19629         (_FP_FROM_INT): Likewise.
19631 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19633         [BZ #16418]
19634         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
19635         Make code racy and cancel safe.
19637 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
19639         * sysdeps/arm/unwind-resume.h: Fix copyright year.
19640         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
19641         attribution.
19643         * pwd/tst-getpw.c: Rewrite.
19645         [BZ #17702]
19646         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
19647         (modules-names): Add moddummy1 and moddummy2.
19648         ($(objpfx)tst-rec-dlopen): Define.
19649         * dlfcn/moddummy1.c: New file.
19650         * dlfcn/moddummy2.c: New file.
19651         * dlfcn/tst-rec-dlopen.c: New file.
19652         * elf/dl-cache.c (_dl_load_cache_lookup):
19653         Return char*. Copy result with alloca/strcpy/strdup.
19654         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
19655         returns char*. Free cached. If not saving realname
19656         free cached.
19657         * elf/dl-open.c (dl_open_worker): Do not assert that
19658         _r_debug->r_state is RT_CONSISTENT.
19659         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
19660         returns char*.
19662 2015-01-21  Torvald Riegel  <triegel@redhat.com>
19663             Carlos O'Donell  <carlos@redhat.com>
19665         [BZ #12674]
19666         * nptl/sem_waitcommon.c: New file.
19667         * nptl/sem_wait.c: Include sem_waitcommon.c.
19668         (__sem_wait_cleanup, do_futex_wait): Remove.
19669         (__new_sem_wait): Adapt.
19670         (__new_sem_trywait): New function.
19671         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
19672         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
19673         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
19674         (sem_timedwait): Adapt.
19675         * nptl/sem_post.c (__new_sem_post): Adapt.
19676         (futex_wake): New function.
19677         (__old_sem_post): Add release MO fence.
19678         * nptl/sem_open.c (sem_open): Adapt.
19679         * nptl/sem_init.c (__new_sem_init): Adapt.
19680         (futex_private_if_supported): New function.
19681         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
19682         (__old_sem_getvalue): Add using previous code.
19683         * sysdeps/nptl/internaltypes.h: Adapt.
19684         * nptl/tst-sem13.c (do_test): Adapt.
19685         * nptl/tst-sem11.c (main): Adapt.
19686         * nptl/sem_trywait.c: Remove.
19687         * nptl/DESIGN-sem.txt: Remove.
19688         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
19689         (gen-as-const-headers): Remove structsem.sym.
19690         * nptl/structsem.sym: Remove.
19691         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
19692         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
19693         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
19694         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
19695         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
19696         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
19697         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
19698         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
19699         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
19700         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
19701         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
19702         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
19703         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
19704         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
19705         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
19706         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
19707         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
19708         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
19709         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
19710         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
19711         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
19712         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
19714 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
19716         * INSTALL: Regenerated.
19718         * po/libc.pot: Regenerated.
19720 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
19721             Sandra Loosemore  <sandra@codesourcery.com>
19722             Andrew Jenner  <andrew@codesourcery.com>
19723             Joseph Myers  <joseph@codesourcery.com>
19724             Nathan Sidwell  <nathan@codesourcery.com>
19726         * NEWS: Mention new Nios II port.
19727         * sysdeps/nios2/Implies: New file.
19728         * sysdeps/nios2/Makefile: New file.
19729         * sysdeps/nios2/Subdirs: New file.
19730         * sysdeps/nios2/Versions: New file.
19731         * sysdeps/nios2/__longjmp.S: New file.
19732         * sysdeps/nios2/abort-instr.h: New file.
19733         * sysdeps/nios2/backtrace.c: New file.
19734         * sysdeps/nios2/bits/endian.h: New file.
19735         * sysdeps/nios2/bits/fenv.h: New file.
19736         * sysdeps/nios2/bits/link.h: New file.
19737         * sysdeps/nios2/bits/setjmp.h: New file.
19738         * sysdeps/nios2/bsd-_setjmp.S: New file.
19739         * sysdeps/nios2/bsd-setjmp.S: New file.
19740         * sysdeps/nios2/configure: New generated file.
19741         * sysdeps/nios2/configure.ac: New file.
19742         * sysdeps/nios2/crti.S: New file.
19743         * sysdeps/nios2/crtn.S: New file.
19744         * sysdeps/nios2/dl-init.c: New file.
19745         * sysdeps/nios2/dl-machine.h: New file.
19746         * sysdeps/nios2/dl-sysdep.h: New file.
19747         * sysdeps/nios2/dl-tls.h: New file.
19748         * sysdeps/nios2/dl-trampoline.S: New file.
19749         * sysdeps/nios2/gccframe.h: New file.
19750         * sysdeps/nios2/gmp-mparam.h: New file.
19751         * sysdeps/nios2/jmpbuf-offsets.h: New file.
19752         * sysdeps/nios2/jmpbuf-unwind.h: New file.
19753         * sysdeps/nios2/ldsodefs.h: New file.
19754         * sysdeps/nios2/libc-tls.c: New file.
19755         * sysdeps/nios2/libm-test-ulps: New file.
19756         * sysdeps/nios2/machine-gmon.h: New file.
19757         * sysdeps/nios2/math-tests.h: New file.
19758         * sysdeps/nios2/math_private.h: New file.
19759         * sysdeps/nios2/memusage.h: New file.
19760         * sysdeps/nios2/nptl/Makefile: New file.
19761         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
19762         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
19763         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
19764         * sysdeps/nios2/nptl/pthreaddef.h: New file.
19765         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
19766         * sysdeps/nios2/nptl/tls.h: New file.
19767         * sysdeps/nios2/preconfigure: New file.
19768         * sysdeps/nios2/s_fma.c: New file.
19769         * sysdeps/nios2/s_fmaf.c: New file.
19770         * sysdeps/nios2/setjmp.S: New file.
19771         * sysdeps/nios2/sfp-machine.h: New file.
19772         * sysdeps/nios2/sotruss-lib.c: New file.
19773         * sysdeps/nios2/stackguard-macros.h: New file.
19774         * sysdeps/nios2/stackinfo.h: New file.
19775         * sysdeps/nios2/start.S: New file.
19776         * sysdeps/nios2/sysdep.h: New file.
19777         * sysdeps/nios2/tls-macros.h: New file.
19778         * sysdeps/nios2/tst-audit.h: New file.
19779         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
19780         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
19781         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
19782         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
19783         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
19784         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
19785         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
19786         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
19787         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
19788         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
19789         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
19790         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
19791         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
19792         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
19793         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
19794         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
19795         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
19796         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
19797         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
19798         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
19799         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
19800         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
19801         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
19802         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
19803         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
19804         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
19805         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
19806         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
19807         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
19808         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
19809         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
19810         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
19811         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
19812         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
19813         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
19814         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
19815         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
19816         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
19817         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
19818         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
19819         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
19820         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
19821         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
19822         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
19824 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19826         [BZ #17844]
19827         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
19828         (getutent): Use weak_alias in non SHARED case
19829         and default_symbol_version in SHARED case.
19830         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
19831         (getutent_r, pututline): Likewise.
19832         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
19833         (getutid): Likewise.
19834         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
19835         (getutid_r): Likewise.
19836         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
19837         (getutline): Likewise.
19838         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
19839         (getutline_r): Likewise.
19840         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
19841         (updwtmp): Likewise.
19843 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19845         [BZ #17848]
19846         * sysdeps/s390/s390-32/memcmp.S
19847         (memcmp_g5): Rename to __memcmp_g5.
19848         * sysdeps/s390/s390-32/memcpy.S
19849         (memcpy_g5): Rename to __memcpy_g5.
19850         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19851         (memcpy_mvcle) Rename to __memcpy_mvcle.
19852         * sysdeps/s390/s390-32/memset.S
19853         (memset_g5): Rename to __memset_g5.
19854         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19855         (IFUNC_RESOLVE): Prefix ifunc-resolve function
19856         and use prefixed functions.
19857         * sysdeps/s390/s390-32/multiarch/memcmp.S
19858         (memcmp_z196): Rename to __memcmp_z196.
19859         (memcmp_z10): Rename to __memcmp_z10.
19860         (memcmp): Set alias to __memcmp_g5.
19861         (bcmp): Set alias to __memcmp_g5.
19862         * sysdeps/s390/s390-32/multiarch/memcpy.S
19863         (memcpy_z196): Rename to __memcpy_z196.
19864         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19865         (memcpy_z10): Rename to __memcpy_z10.
19866         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19867         (memcpy): Set alias to __memcpy_g5.
19868         * sysdeps/s390/s390-32/multiarch/memset.S
19869         (memset_z196): Rename to __memset_z196.
19870         Jump to __memset_mvcle instead of memset_mvcle.
19871         (memset_z10): Rename to __memset_z10.
19872         Jump to __memset_mvcle instead of memset_mvcle.
19873         (memset_mvcle) Rename to __memset_mvcle.
19874         (memset): Set alias to __memset_g5.
19875         * sysdeps/s390/s390-64/memcmp.S
19876         (memcmp_z900): Rename to __memcmp_z900.
19877         * sysdeps/s390/s390-64/memcpy.S
19878         (memcpy_z900): Rename to __memcpy_z900.
19879         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19880         (memcpy_mvcle) Rename to __memcpy_mvcle.
19881         * sysdeps/s390/s390-64/memset.S
19882         (memset_z900): Rename to __memset_z900.
19883         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
19884         (IFUNC_RESOLVE): Prefix ifunc-resolve function
19885         and use prefixed functions.
19886         * sysdeps/s390/s390-64/multiarch/memcmp.S
19887         (memcmp_z196): Rename to __memcmp_z196.
19888         (memcmp_z10): Rename to __memcmp_z10.
19889         (memcmp): Set alias to __memcmp_z900.
19890         (bcmp): Set alias to __memcmp_z900.
19891         * sysdeps/s390/s390-64/multiarch/memcpy.S
19892         (memcpy_z196): Rename to __memcpy_z196.
19893         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19894         (memcpy_z10): Rename to __memcpy_z10.
19895         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19896         (memcpy): Set alias to __memcpy_z900.
19897         * sysdeps/s390/s390-64/multiarch/memset.S
19898         (memset_z196): Rename to __memset_z196.
19899         Jump to __memset_mvcle instead of memset_mvcle.
19900         (memset_z10): Rename to __memset_z10.
19901         Jump to __memset_mvcle instead of memset_mvcle.
19902         (memset_mvcle) Rename to __memset_mvcle.
19903         (memset): Set alias to __memset_z900.
19905 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
19907         [BZ #17748]
19908         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
19909         __fesetenv instead of fesetenv.
19911 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19913         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
19914         macro.
19916 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19918         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
19919         regression on LE.
19921         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
19922         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
19923         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19924         strncmp-power8 object.
19925         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19926         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
19927         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
19928         * NEWS: Update.
19930 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19931             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19933         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
19934         trailing byte check.
19936 2015-01-13  David S. Miller  <davem@davemloft.net>
19938         * include/signal.h (__sigreturn): Guard with __USE_MISC.
19940 2015-01-13  Roland McGrath  <roland@hack.frob.com>
19942         * login/logout.c (logout): Use memset rather than bzero.
19943         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
19944         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
19945         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
19946         (_gethtbyaddr): Likewise.
19947         * locale/programs/simple-hash.c (bcopy): Macro removed.
19949 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19951         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19952         Add strcmp-power8 object.
19953         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19954         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
19955         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
19956         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
19957         __strcmp_power8 implementation.
19958         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
19959         * NEWS: Update.
19961         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19962         Add strncpy-power8 and stpncpy-power8 objects.
19963         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19964         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
19965         implementations.
19966         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
19967         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
19968         __stpncpy_power8 implementation.
19969         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
19970         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
19971         __strncpy_power8 implementation.
19972         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
19973         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
19974         * NEWS: Update.
19976         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
19977         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
19978         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
19980         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19981         strncat-power8 object.
19982         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
19983         __strcat_power8 implementation.
19984         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19985         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
19986         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
19987         optimized strcat for power8.
19989         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19990         strcpy-power8 and stpcpy-power8 objects.
19991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19992         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
19993         implementations.
19994         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
19995         multiarch stpcpy implementation for POWER8.
19996         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
19997         multiarch strcpy implementation for POWER8.
19998         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
19999         __strcpy_power8 function.
20000         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
20001         stpcpy for POWER8.
20002         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
20003         strcpy for POWER8.
20004         * NEWS: Update.
20006 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
20008         [BZ #16009]
20009         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
20010         weights and rules. Use do_xfrm_cached if data fits in cache,
20011         do_xfrm otherwise.  Moved former main loop to...
20012         * (do_xfrm_cached): New function.
20013         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
20014         find_idx, find_position and stack_push.
20015         * (find_idx): New function.
20016         * (find_position): Likewise.
20017         * localedata/sort-test.sh: Added test run for do_xfrm.
20018         * localedata/xfrm-test.c (main): Added command line option
20019         -nocache to run the test with strings that are too large for
20020         the STRXFRM cache.
20022 2015-01-13  Torvald Riegel  <triegel@redhat.com>
20024         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
20025         variable to lll_futex_wake call, not the value itself.
20027 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
20029         [BZ #17803]
20030         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
20031         twom64.  Adjust value to 0x1p-64L.
20032         (__scalblnl): Only return standard underflowing result for K <=
20033         -64 not K <= -63; adjust exponent for underflowing result by 64
20034         not 63.
20035         * math/libm-test.inc (scalbn_test_data): Add more tests.
20036         (scalbln_test_data): Likewise.
20038         [BZ #17834]
20039         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
20040         0x1p63L.
20041         (__scalblnl): Get new exponent of adjusted subnormal value from ES
20042         not HX.
20043         * math/libm-test.inc (scalbn_test_data): Add more tests.
20044         (scalbln_test_data): Likewise.
20046 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20047             Stefani Seibold  <stefani@seibold.net>
20049         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
20050         (sysdep_routines): Add dl-vdso here, ...
20051         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
20052         (sysdep_routines): ... not here.
20053         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
20054         fallback when vDSO is not presented.
20055         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20056         Define with libc_hidden_proto/libc_hidden_data_def definitions.
20057         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
20058         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
20059         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
20060         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
20061         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
20062         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
20063         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
20064         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
20065         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
20066         fallback configurable symbol when vDSO is not available.
20067         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
20068         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
20069         be able to redefine fallback symbol when vDSO is not available.
20070         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
20071         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
20073 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20075         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
20076         (TLS_INIT_TP): Add tm_capable initialization.
20077         (TLS_DEFINE_INIT_TP): Likewise.
20078         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
20079         TCB.
20080         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
20081         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
20082         calculation.
20083         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
20084         transactoion is lock elision is built and TCB tm_capable is set.
20085         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
20086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20087         (INTERNAL_SYSCALL_NCS): Likewise.
20088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20089         (INTERNAL_SYSCALL_NCS): Likewise.
20090         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
20092         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
20093         for powerpc.
20094         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20095         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
20096         and remove it for 32 bits case.
20097         [pthread_rwlock_t] (__rwelision): New field for lock elision.
20098         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
20099         initialization.
20100         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
20101         Disable lock elision with rdlocks if elision is not available.
20103         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
20104         (sysdep_routines): Add lock elision objects.
20105         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20106         [pthread_mutex_t] (__spins): Rework to add lock elision field.
20107         [pthread_mutex_t] (__elision): Add field.
20108         [__PTHREAD_SPINS]: Adjust to init lock elision field.
20109         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
20110         elision definitions for powerpc.
20111         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
20112         implementation of lock elision for powerpc.
20113         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
20114         implementation of timed lock elision for powerpc.
20115         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
20116         implementation of trylock with lock elision for powerpc.
20117         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
20118         implementaion of unlock for lock elision for powerpc.
20119         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
20120         automatic enable lock elision for mutexes.
20121         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
20122         transaction execution definitions for powerpc.
20123         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
20124         definitions.
20125         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
20126         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
20127         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
20128         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
20129         * NEWS: Update.
20131 2015-01-09  Roland McGrath  <roland@hack.frob.com>
20133         * sysdeps/posix/shm-directory.c: Use <> rather than ""
20134         for #include of <shm-directory.h>.
20136 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
20138         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
20139         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
20141 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
20143         [BZ #17791]
20144         * NEWS: Mention bug fix.
20145         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
20146         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
20147         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
20149 2015-01-09  Torvald Riegel <triegel@redhat.com>
20151         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
20153 2015-01-09  Torvald Riegel <triegel@redhat.com>
20155         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
20157 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20159         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
20160         pointer and cast to uintptr_t.
20162 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20164         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
20165         removed.
20166         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
20168 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20170         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
20171         of 0.
20173 2015-01-08  Roland McGrath  <roland@hack.frob.com>
20175         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
20176         <nptl/pthreadP.h> instead.
20177         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
20179         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
20180         already defined.
20181         [__SIGRTMIN] (init): Function removed.
20182         [__SIGRTMIN] (initialized): Variable removed.
20183         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
20184         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
20185         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
20186         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
20187         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
20188         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
20189         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
20190         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
20191         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
20192         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
20193         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
20194         * sysdeps/nptl/allocrtsig.c: New file.
20195         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
20196         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
20197         * sysdeps/generic/testrtsig.h: File removed.
20199         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
20200         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
20202         * nptl/nptl-init.c (pthread_functions): Conditionalize
20203         .ptr__nptl_setxid initialization on [SIGSETXID].
20205         * sysdeps/nptl/sys/procfs.h: New file.
20206         * nptl_db/Makefile (headers): Add it.
20207         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
20209         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
20210         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
20211         * nptl/pthread_attr_setaffinity.c: Include it.
20212         * nptl/pthread_setattr_default_np.c: Likewise.
20213         * nptl/check-cpuset.h: New file.
20215 2015-01-08  Richard Henderson  <rth@redhat.com>
20217         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
20218         (CFLAGS-tst-execstack-prog.c): Likewise.
20219         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
20221 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
20222             Sandra Loosemore  <sandra@codesourcery.com>
20223             Andrew Jenner  <andrew@codesourcery.com>
20224             Joseph Myers  <joseph@codesourcery.com>
20225             Nathan Sidwell  <nathan@codesourcery.com>
20227         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
20228         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
20229         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
20230         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
20231         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
20232         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
20233         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
20234         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
20235         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
20236         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
20237         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
20238         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
20239         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
20240         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
20241         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
20242         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
20243         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
20245 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20247         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
20248         timespec struct member in syscall macro.
20249         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
20250         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
20251         first timeval struct member in syscall macro.
20252         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
20254 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
20256         [BZ #17748]
20257         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
20258         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
20259         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
20260         __feupdateenv and define as weak alias of __feupdateenv.  Use
20261         libm_hidden_weak.
20262         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
20263         libm_hidden_def.
20264         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
20265         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
20266         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
20267         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
20268         libm_hidden_def.
20269         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
20270         __feupdateenv and define as weak alias of __feupdateenv.  Use
20271         libm_hidden_weak.
20272         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
20273         libm_hidden_def.
20274         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
20275         __feupdateenv and define as weak alias of __feupdateenv.  Use
20276         libm_hidden_weak.
20277         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
20278         libm_hidden_def.
20279         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20280         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
20281         (__feupdateenv): Likewise.
20282         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
20283         __feupdateenv and define as weak alias of __feupdateenv.  Use
20284         libm_hidden_weak.
20285         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20286         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
20287         libm_hidden_def.
20288         * sysdeps/tile/math_private.h (__feupdateenv): New inline
20289         function.
20290         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
20291         libm_hidden_def.
20292         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
20293         __feupdateenv instead of feupdateenv.
20294         (default_libc_feupdateenv_test): Likewise.
20295         (libc_feresetround_ctx): Likewise.
20297 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20299         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
20300         prototype.
20302 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
20304         * posix/regcomp.c (parse_bracket_exp): Initialize type to
20305         COLL_SYM in a couple of places to avoid uninitialized variable
20306         wanings on tilegx gcc 4.8.2.
20308 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
20310         * sysdeps/aarch64/strcpy.S: New file.
20311         * sysdeps/aarch64/stpcpy.S: New file.
20312         * NEWS: Updated.
20314 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
20316         * sysdeps/aarch64/strrchr.S: New file.
20317         * NEWS: Updated.
20319 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
20321         [BZ #17658]
20322         * stdlib/setenv.c: Fix memory leak when setting large,
20323         duplicate string.
20325 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
20327         [BZ #17273]
20328         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
20329         and tabs from buffer before parsing fstab entry.
20330         * misc/tst-mntent.c (main): Add test for mount entry with
20331         trailing spaces and tabs.
20333 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
20335         [BZ #17748]
20336         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
20337         * math/fesetround.c (fesetround): Rename to __fesetround and
20338         define as weak alias of __fesetround.  Use libm_hidden_weak.
20339         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
20340         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
20341         * sysdeps/arm/fesetround.c (fesetround): Likewise.
20342         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
20343         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
20344         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
20345         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
20346         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
20347         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
20348         __fesetround_inline.
20349         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
20350         __fesetround_inline instead of __fesetround.
20351         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
20352         __fesetround and define as weak alias of __fesetround.  Use
20353         libm_hidden_weak.  Call __fesetround_inline instead of
20354         __fesetround.
20355         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
20356         __fesetround and define as weak alias of __fesetround.  Use
20357         libm_hidden_weak.
20358         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
20359         Likewise.
20360         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
20361         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20362         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
20363         * sysdeps/tile/math_private.h (__fesetround): New inline function.
20364         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
20365         __fesetround and define as weak alias of __fesetround.  Use
20366         libm_hidden_weak.
20367         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
20368         __fesetround instead of fesetround.
20369         (default_libc_feholdexcept_setround): Likewise.
20370         (libc_feholdsetround_ctx): Likewise.
20371         (libc_feholdsetround_noex_ctx): Likewise.
20373         [BZ #17748]
20374         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
20375         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
20376         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
20377         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
20378         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20379         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
20380         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20381         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20382         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20383         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20384         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20385         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20386         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20387         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20388         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
20389         libm_hidden_def.
20390         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
20391         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
20392         Likewise.
20393         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20394         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20395         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20396         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20397         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
20398         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
20399         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
20400         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
20401         __fesetenv instead of fesetenv.
20402         (libc_feresetround_noex_ctx): Likewise.
20403         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
20404         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
20405         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
20406         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
20407         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
20408         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
20409         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20410         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
20411         (__feupdateenv): Likewise.
20412         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20413         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20414         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20415         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
20417 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
20419         [BZ #17806]
20420         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
20421         addresses have been freed.
20423 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
20425         * resolv/res_init.c (__res_vinit): Improve comments about nserv
20426         and nservall.
20428 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
20430         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
20431         Clean up check_pf allocation pattern. addresses
20433 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20435         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
20436         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
20437         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
20438         * nptl/pthread_exit.c (__pthread_exit): Likewise.
20439         * nptl/pthread_join.c (pthread_join): Likewise.
20440         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20441         * sysdeps/posix/waitid.c (__waitid): Likewise.
20442         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20443         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20444         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20445         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20446         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20447         Likewise.
20448         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20449         (__libc_pread64): Likewise.
20450         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20451         (__libc_pwrite): Likewise.
20452         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20453         (__libc_pwrite64): Likewsie.
20454         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20455         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20456         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20457         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20458         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20459         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20460         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
20461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20462         Likewise.
20463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20464         (__libc_pread64): Likewise.
20465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
20466         Likewise.
20467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20468         (__libc_pwrite64): Likewise.
20469         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20470         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20471         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
20472         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
20473         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20474         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20475         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
20476         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20477         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20478         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20479         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
20480         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20481         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20482         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
20483         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20484         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20485         Likewise.
20487 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
20489         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
20490         (CFLAGS-test-double.c): Likewise.
20491         (CFLAGS-test-ldouble.c): Likewise.
20492         (CPPFLAGS-test-ifloat.c): Likewise.
20493         (CPPFLAGS-test-idouble.c): Likewise.
20494         (CPPFLAGS-test-ildoubl.c): Likewise.
20495         (CFLAGS-test-test-fenv.c): Remove variable.
20496         (CFLAGS-test-misc.c): Likewise.
20498 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
20500         [BZ #17797]
20501         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
20502         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
20503         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
20504         CLOCKS_PER_SEC == 1000000.
20505         * time/clocktest.c (main): Replace %ld with %jd and cast to
20506         intmax_t.
20508 2015-01-05  Roland McGrath  <roland@hack.frob.com>
20510         * sysdeps/generic/unwind-resume.h: New file.
20511         * sysdeps/gnu/unwind-resume.c: Include it.
20512         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
20513         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
20514         argument list.
20515         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
20516         global rather than static.
20517         (_Unwind_Resume): Update user.
20518         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
20519         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
20520         rather than static.  Add __attribute__ ((cold)).
20521         (_Unwind_Resume, __gcc_personality_v0): Update callers.
20522         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
20523         * sysdeps/arm/arm-unwind-resume.S: New file.
20524         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
20525         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
20526         * sysdeps/arm/Makefile [$(subdir) = csu]
20527         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
20528         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20529         Add rt-arm-unwind-resume.
20530         [$(subdir) = nptl]
20531         (libpthread-sysdep_routines, libpthread-shared-only-routines):
20532         Add pt-arm-unwind-resume.
20533         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
20534         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
20536 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20538         [BZ #17748]
20539         * include/fenv.h (__feholdexcept): Declare.  Use
20540         libm_hidden_proto.
20541         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
20542         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
20543         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20544         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
20545         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
20546         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
20547         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
20548         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20549         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
20550         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
20551         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20552         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
20553         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
20554         (feholdexcept): Likewise.
20555         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20556         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20557         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20558         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20559         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
20560         __feholdexcept instead of feholdexcept.
20561         (default_libc_feholdexcept_setround): Likewise.
20563 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20565         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
20566         to avoid using stl/str to align destination.
20568 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20570         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
20572 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20574         [BZ #17796]
20575         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
20576         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
20577         Define as weak alias not strong alias.
20579 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20581         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
20582         bltzal with addiupc.
20583         (RTLD_START): Ditto.
20585 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
20587         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
20588         for __vdso_* functions in declarations.
20589         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
20590         definitions.
20591         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
20592         INTERNAL_VSYSCALL): Use struct return types to check for error.
20594         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
20595         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
20596         function with cast from llround().
20597         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
20598         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
20599         Define.
20601 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20603         [BZ #17793]
20604         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
20605         Define as weak alias not strong alias.
20607         [BZ #17635]
20608         * ctype/ctype-c99.c: New file.  isblank implementation moved from
20609         ...
20610         * ctype/ctype-extn.c: ... here.
20611         (__isblank_l): Move to ...
20612         * ctype/ctype-c99_l.c: ... here.  New file.
20613         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
20614         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
20615         Remove variable.
20616         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
20617         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
20618         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
20619         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
20620         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
20622         [BZ #17777]
20623         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
20624         (posix_fadvise64): Define as weak alias not strong alias.
20625         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20626         (posix_fallocate64): Likewise.
20627         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
20628         Remove variable.
20629         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
20630         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
20631         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
20632         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
20633         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
20635 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
20637         [BZ #16191]
20638         * NEWS: Mention bug fix.
20639         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
20640         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
20641         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
20642         (HOST_STACK_END_ADDR): Likewise.
20644 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
20646         [BZ #17748]
20647         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
20648         * math/fegetround.c (fegetround): Rename to __fegetround and
20649         define as weak alias of __fegetround.  Use libm_hidden_weak.
20650         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
20651         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
20652         * sysdeps/arm/fegetround.c (fegetround): Likewise.
20653         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
20654         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20655         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
20656         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
20657         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
20658         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20659         Undefine after rather than before function definition; use
20660         parentheses around function name in definition.
20661         (__fegetround): Also undefine macro after function definition.
20662         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
20663         __fegetround and define as weak alias of __fegetround.  Use
20664         libm_hidden_weak.  Do not undefine as macro.
20665         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20666         Likewise.
20667         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
20668         __fegetround and define as weak alias of __fegetround.  Use
20669         libm_hidden_weak.
20670         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20671         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20672         * sysdeps/tile/math_private.h (__fegetround): New inline function.
20673         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
20674         __fegetround and define as weak alias of __fegetround.  Use
20675         libm_hidden_weak.
20676         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
20677         __fegetround instead of fegetround.
20679         [BZ #17782]
20680         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
20681         Condition macro definition on [__USE_MISC].
20683         [BZ #17781]
20684         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
20685         (struct sigaction): Change type of sa_flags field to int.
20687         [BZ #17780]
20688         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
20689         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
20690         __glibc_reserved0.
20692         * nptl/version.c (banner): Use single year in copyright notice.
20694         * NEWS: Update copyright dates.
20695         * catgets/gencat.c (print_version): Likewise.
20696         * csu/version.c (banner): Likewise.
20697         * debug/catchsegv.sh: Likewise.
20698         * debug/pcprofiledump.c (print_version): Likewise.
20699         * debug/xtrace.sh (do_version): Likewise.
20700         * elf/ldconfig.c (print_version): Likewise.
20701         * elf/ldd.bash.in: Likewise.
20702         * elf/pldd.c (print_version): Likewise.
20703         * elf/sotruss.sh: Likewise.
20704         * elf/sprof.c (print_version): Likewise.
20705         * iconv/iconv_prog.c (print_version): Likewise.
20706         * iconv/iconvconfig.c (print_version): Likewise.
20707         * locale/programs/locale.c (print_version): Likewise.
20708         * locale/programs/localedef.c (print_version): Likewise.
20709         * login/programs/pt_chown.c (print_version): Likewise.
20710         * malloc/memusage.sh (do_version): Likewise.
20711         * malloc/memusagestat.c (print_version): Likewise.
20712         * malloc/mtrace.pl: Likewise.
20713         * manual/libc.texinfo: Likewise.
20714         * nptl/version.c (banner): Likewise.
20715         * nscd/nscd.c (print_version): Likewise.
20716         * nss/getent.c (print_version): Likewise.
20717         * nss/makedb.c (print_version): Likewise.
20718         * posix/getconf.c (main): Likewise.
20719         * scripts/test-installation.pl: Likewise.
20720         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20722 2015-01-02  Will Newton  <will.newton@linaro.org>
20724         * sysdeps/arm/armv7/configure: Removed.
20725         * sysdeps/arm/armv7/configure.ac: Likewise.
20727 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
20729         * All files with FSF copyright notices: Update copyright dates
20730         using scripts/update-copyrights.
20731         * intl/plural.c: Regenerated.
20732         * locale/programs/charmap-kw.h: Likewise.
20733         * locale/programs/locfile-kw.h: Likewise.
20735 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20737         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
20739 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
20741         [BZ #17748]
20742         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
20743         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
20744         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20745         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20746         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20747         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
20748         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20749         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
20750         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20751         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20752         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20753         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20754         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20755         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20756         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
20757         libm_hidden_def.
20758         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
20759         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
20760         Likewise.
20761         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20762         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20763         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20764         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20765         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
20766         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20767         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20768         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
20769         __fegetenv instead of fegetenv.
20770         (libc_feholdsetround_noex_ctx): Likewise.
20772 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
20774         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
20775         (Elf_MIPS_ABIFlags_v0): New structure.
20776         (EF_MIPS_FP64): Define.
20777         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
20778         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
20779         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
20780         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
20781         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
20782         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
20783         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
20784         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
20785         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
20786         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
20787         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
20788         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
20789         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
20790         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
20791         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
20792         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
20793         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
20794         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
20795         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
20796         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
20797         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
20798         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
20799         field.
20800         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
20801         EF_MIPS_FP64.
20802         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
20803         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
20804         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
20805         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
20806         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
20807         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
20808         * sysdeps/mips/tst-abi-interlink.c: Likewise.
20809         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
20810         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
20811         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
20812         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
20813         record the current FP ABI extension.
20814         (mips-mode-switch): Define to show if kernel headers support mode
20815         switching.
20816         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20817         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
20818         supported SYSV ABI version to 3.
20819         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
20820         feature.
20822 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20823             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20825         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
20826         path.
20827         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
20829 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
20831         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
20832         __fegetround and redefine to call __fegetround.  Remove condition
20833         on [!__NO_MATH_INLINES].
20834         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
20835         function.
20836         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
20837         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20838         Remove macro.
20839         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
20840         instead of <fenv_libc.h>.
20841         (__llrintl): Call fegetround instead of __fegetround.
20842         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
20843         instead of <fenv_libc.h>.
20844         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20845         (__lrintl): Call fegetround instead of __fegetround.
20846         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
20847         instead of <fenv_libc.h>.
20848         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20849         (__rintl): Call fegetround instead of __fegetround.
20851 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20853         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
20854         arrays.
20856 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
20858         [BZ #17775]
20859         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
20860         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
20861         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
20863 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20865         * sysdeps/i386/tls-macros.h: Include <features.h>.
20866         (TLS_LE): Use non-PIC version for GCC >= 5.0.
20867         (TLS_IE): Likewise.
20868         (TLS_LD): Likewise.
20869         (TLS_GD): Likewise.
20870         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
20871         define for GCC >= 5.0.
20873 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
20875         * math/test-fenv.c (test_single_exception, set_single_exc,
20876         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
20877         feexcp_mask_test, feenable_test, fe_single_test): Add
20878         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
20879         case where they are not used.
20880         * math/libm-test.inc: Likewise.
20881         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
20882         unused in the absence of FP rounding/exception support.
20883         * stdio-common/tst-printf-round.c: Likewise.
20884         * stdlib/tst-strtod-round.c: Likewise.
20885         * stdlib/tst-strtod-underflow.c: Likewise.
20887 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
20889         [BZ #17723]
20890         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
20891         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
20892         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20893         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20894         libm_hidden_weak.
20895         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
20896         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
20897         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
20898         libm_hidden_def.
20899         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20900         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20901         libm_hidden_weak.
20902         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
20903         Likewise.
20904         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
20905         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20906         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20907         libm_hidden_weak.
20908         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
20909         libm_hidden_def.
20910         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20911         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
20912         (__feraiseexcept): Likewise.
20913         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20914         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20915         libm_hidden_weak.
20916         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
20917         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
20918         libm_hidden_def.
20919         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
20920         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
20921         Use libm_hidden_def.
20922         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
20923         libm_hidden_def.
20924         (feraiseexcept): Define as weak not strong alias.  Use
20925         libm_hidden_weak.
20926         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
20927         New inline function.  Factored out of ...
20928         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
20929         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
20930         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
20931         feraiseexcept.
20932         * math/w_acos.c (__acos): Likewise.
20933         * math/w_asin.c (__asin): Likewise.
20934         * math/w_ilogb.c (__ilogb): Likewise.
20935         * math/w_j0.c (y0): Likewise.
20936         * math/w_j1.c (y1): Likewise.
20937         * math/w_jn.c (yn): Likewise.
20938         * math/w_log.c (__log): Likewise.
20939         * math/w_log10.c (__log10): Likewise.
20940         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
20941         * sysdeps/aarch64/fpu/math_private.h
20942         (libc_feupdateenv_test_aarch64): Likewise.
20943         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
20944         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
20945         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
20946         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
20947         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
20948         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
20949         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
20950         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20951         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20952         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20954 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
20956         [BZ #17732]
20957         * io/test-utime.c (main): Replace %ld with %jd and cast to
20958         intmax_t.
20959         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
20960         * nptl/tst-mutex5.c: Include <stdint.h>.
20961         (do_test): Replace %ld with %jd and cast to intmax_t.
20962         * posix/tst-regex.c (run_test): Likewise.
20963         (run_test_backwards): Likewise.
20964         * rt/tst-clock.c: Include <stdint.h>.
20965         (clock_test): Replace %ld with %jd and cast to intmax_t.
20966         * rt/tst-cpuclock1.c: Include <stdint.h>.
20967         (do_test): Replace %lu with %ju and cast to uintmax_t.
20968         * rt/tst-cpuclock2.c: Include <stdint.h>.
20969         (do_test): Replace %lu with %ju and cast to uintmax_t.
20970         * rt/tst-mqueue1.c: Include <stdint.h>.
20971         (check_attrs): Replace %ld with %jd and cast to intmax_t.
20972         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
20973         intmax_t.
20974         * rt/tst-mqueue4.c (do_test): Likewise.
20975         * rt/tst-timer4.c: Include <stdint.h>.
20976         (check_ts): Replace %ld with %jd and cast to intmax_t.
20977         (do_test): Likewise.
20978         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
20979         and cast to intmax_t.
20980         * sysdeps/pthread/tst-timer.c (main): Likewise.
20981         * time/clocktest.c (main): Likewise.
20982         * time/tst-posixtz.c (do_test): Likewise.
20983         * timezone/tst-timezone.c (main): Likewise.
20985 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20986             H.J. Lu  <hongjiu.lu@intel.com>
20988         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
20989         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
20990         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
20991         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
20992         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
20993         version if bit_Fast_Unaligned_Load is set.
20994         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20995         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20996         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20997         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20998         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20999         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21000         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21001         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
21002         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
21003         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
21004         to 4.
21005         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
21006         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
21007         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
21008         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
21010 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
21012         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
21013         instead of #if to avoid a Wundef warning.
21014         * stdlib/tst-limits.c (do_test): Likewise.
21016         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
21017         parallel other exception macros.
21018         (fegetenv): Convert from macro to extern inline so that it applies
21019         retroactively to inline functions already seen by the compiler.
21020         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
21022         * posix/Makefile (before-compile): Use $(objpfx) for
21023         posix-conf-vars-def.h.
21025 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21027         * posix/getconf.c (main): Use size_t for type of I.
21028         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
21029         NSPEC.
21031         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
21032         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
21033         * posix/posix-envs.def: Likewise.
21034         * sysdeps/posix/sysconf.c: Likewise.
21035         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
21036         (specs): Remove array.
21037         * scripts/gen-posix-conf-vars.awk: Support generation of specs
21038         array.
21040         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
21041         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
21042         (__sysconf): Use CONF_IS_* macros.
21044         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
21045         ($(objpfx)posix-conf-vars-def.h): New target.
21046         * posix/posix-conf-vars.list: New file.
21047         * posix/posix-conf-vars.h: New file.
21048         * posix/confstr.c: Include posix-conf-vars.h.
21049         (confstr): Use CONF_IS_* macros.
21050         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
21051         CONF_IS_* macros.
21052         * scripts/gen-posix-conf-vars.awk: New file.
21054 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
21056         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
21057         fegetround): Add no-op macros to avoid linknamespace issues.
21059         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
21060         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
21062         * sysdeps/unix/sysv/linux/tile/sysdep.h
21063         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
21064         assembly-specific section to avoid a redefinition warning.
21066         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
21067         long before casting to pointer to avoid a cast warning.
21069 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
21071         * sysdeps/tile/tilegx/Implies: New file.
21073 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
21075         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
21077 2014-12-23  Florian Weimer  <fweimer@redhat.com>
21079         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
21081 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21083         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
21084         not define.
21085         * sysdeps/unix/sysv/linux/utimes.c: Do not include
21086         <kernel-features.h>.
21087         (__utimes) [__NR_utimes]: Make code unconditional.
21088         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
21089         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21090         (__ASSUME_UTIMES): Do not undefine.
21091         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21092         (__ASSUME_UTIMES): Likewise.
21093         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21094         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
21095         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
21096         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
21098 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21100         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
21102 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
21104         [BZ #17747]
21105         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
21106         alias to weak alias for j0l, y0l.
21107         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
21108         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
21110         [BZ #17746]
21111         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
21112         conversion.
21114 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21116         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
21117         to zero if not already defined.
21119 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21121         [BZ #17724]
21122         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
21123         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
21124         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
21125         (char *) casts added.
21126         * sysdeps/ieee754/k_standardf.c: New file.
21127         * sysdeps/ieee754/k_standardl.c: Likewise.
21128         * math/Makefile (libm-support): Remove k_standard.
21129         (libm-calls): Add k_standard.
21131 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21133         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21134         Optimize to avoid an unnecessary FPCR read.
21136 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21138         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
21139         Optimize to reduce FPCR/FPSR accesses.
21141 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21143         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
21144         Call libc_fetestexcept_aarch64.
21146 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21148         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
21149         Call libc_fesetround_aarch64.
21151 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21153         [BZ #17733]
21154         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
21155         (__bind): Do not define as weak alias.
21156         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
21157         define.
21158         (__getsockname): Do not define as weak alias.
21160 2014-12-22  Will Newton  <will.newton@linaro.org>
21162         * manual/install.texi: Document that we require bison 2.7
21163         or above.
21164         * INSTALL: Regenerate.
21165         * configure.ac: Use AC_CHECK_PROG_VER instead of
21166         AC_PATH_PROG when checking for bison and check for
21167         version 2.7 or above.
21168         * configure: Regenerate.
21170 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
21172         [BZ #17745]
21173         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
21174         * sysdeps/tile/ffsll.c (ffsll): To here.
21176         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
21178 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21180         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
21181         if not defined.
21182         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
21183         definition.
21184         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21185         hidden ___tls_get_addr.
21186         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21187         hidden __tls_get_addr.
21188         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
21189         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
21190         Likewise.
21192 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
21194         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
21195         _dl_init call.
21197 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21199         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
21200         from "call _dl_init@PLT".
21201         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
21203 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
21205         * manual/search.texi: (Array Sort Function): Clarify stable sorting
21206         guarantees.
21208 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
21210         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
21212 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21214         [BZ #17744]
21215         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
21216         strnlen.
21218 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21220         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
21221         of multu on MIPSr6.
21222         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
21223         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
21224         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
21225         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
21226         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
21228 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21230         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
21231         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
21232         (PTR_SUBU): Use subu for mips32r6/mips64r6.
21233         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
21234         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
21235         mips32r6/mips64r6.
21236         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
21238 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
21240         * string/strncat.c (STRNCAT): Simplify implementation.
21242 2014-12-19  David S. Miller  <davem@davemloft.net>
21244         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
21245         access the quad as both a long double and as a series of 4 words.
21247         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
21248         link_map->l_info array access.
21250 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21252         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
21254         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
21255         * math/atest-exp2.c (TIMEOUT): Likewise.
21256         * math/atest-sincos.c (TIMEOUT): Likewise.
21258 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21260         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
21261         -Wno-error with -fno-builtin-lround.
21263 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21265         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
21266         Contains futex constants and functions moved over from ...
21267         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
21268         <lowlevellock-futex.h>.
21269         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
21270         (lll_timedwait_tid): Add comments and parentheses around macro
21271         arguments.
21273 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21275         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
21276         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
21277         (__lll_private_flag): Remove.
21278         (lll_futex_wait): Likewise.
21279         (lll_futex_timed_wait): Likewise.
21280         (lll_futex_wake): Likewise.
21281         (lll_futex_requeue): Likewise.
21282         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
21283         (__lll_timedwait_tid): Spell out argument names.
21284         (lll_timedwait_tid): Add comments and parentheses around macro
21285         arguments.
21286         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
21287         LLL_SHARED and LLL_PRIVATE usable from assembly code.
21289 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21291         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
21292         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
21293         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21294         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
21295         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
21296         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
21297         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
21298         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
21299         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
21300         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
21301         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
21302         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
21303         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
21304         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
21305         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
21306         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
21307         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
21308         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
21309         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
21311 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21313         * sysdeps/x86_64/x32/Makefile: New file.
21315 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21317         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
21318         1L with (mp_limb_t) 1.
21320 2014-12-17  Roland McGrath  <roland@hack.frob.com>
21322         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
21323         * nptl/libc_pthread_init.c: ... here.
21324         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
21325         * nptl/register-atfork.c: ... here.
21327         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
21328         Use pthread_sigmask rather than INTERNAL_SYSCALL.
21329         Use assert_perror to check its return value.
21330         (__gai_create_helper_thread): Likewise.
21332         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
21334         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
21336 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
21338         [BZ #17725]
21339         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
21340         __profil_counter.
21341         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
21342         Likewise.
21343         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
21344         Likewise.
21345         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
21346         Likewise.
21347         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
21348         (profil_counter): Likewise.
21349         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
21350         (profil_counter): Likewise.
21351         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
21352         Likewise.
21353         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
21354         Likewise.
21355         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
21356         (profil_counter): Likewise.
21357         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
21358         Likewise.
21359         [!__profil_counter] (profil_counter): Define as weak alias of
21360         __profil_counter.
21361         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
21362         (profil_counter): Rename to __profil_counter.
21363         [!__profil_counter] (profil_counter): Define as weak alias of
21364         __profil_counter.
21365         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
21366         (profil_counter): Rename to __profil_counter.
21367         [!__profil_counter] (profil_counter): Define as weak alias of
21368         __profil_counter.
21369         * sysdeps/posix/profil.c: Update comment referring to
21370         profil_counter.
21371         (__profil): Use __profil_counter instead of profil_counter.
21372         * sysdeps/posix/sprofil.c (profil_counter): Rename to
21373         __profil_counter.  Use __profil_counter_ushort and
21374         __profil_counter_uint in definitions.
21375         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
21376         instead of profil_counter_uint and profil_counter_ushort.
21378         [BZ #17722]
21379         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
21380         define as weak alias of __inet_makeaddr.
21381         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
21382         as weak alias of __inet_addr.
21383         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
21384         as weak alias of __inet_pton.  Use libc_hidden_weak.
21385         * include/arpa/inet.h (__inet_pton): Declare.  Use
21386         libc_hidden_proto.
21387         (inet_makeaddr): Don't use libc_hidden_proto.
21388         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
21389         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
21390         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
21391         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
21392         Remove variable.
21393         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
21394         (test-xfail-POSIX/time.h/linknamespace): Likewise.
21396 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
21398         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
21400 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21402         * stdio-common/bug-vfprintf-nargs.c (do_test):
21403         Cast value to intptr_t to avoid format warning
21404         for usage with PRIdPTR printing macro.
21406 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21408         * libio/tst-widetext.c (do_test):
21409         Use format type %td instead of %Zd for ptrdiff_t
21410         in order to avoid format warning.
21412 2014-12-17  Andreas Schwab  <schwab@suse.de>
21414         * nscd/mem.c (gc): Add size_t cast to match printf format.
21416 2014-12-16  Roland McGrath  <roland@hack.frob.com>
21418         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
21419         (init): Apply PTR_MANGLE to pointers before storing them.
21420         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
21421         before using them.
21423 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
21425         [BZ #17719]
21426         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
21427         define as weak alias of __memrchr.
21428         (__memrchr): Do not define as strong alias of memrchr.
21429         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
21430         Remove variable.
21431         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
21432         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
21433         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
21435         [BZ #17717]
21436         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
21437         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
21438         (if_indextoname): Rename to __if_indextoname and define as weak
21439         alias of __if_indextoname.  Use libc_hidden_weak.
21440         (if_freenameindex): Rename to __if_freenameindex and define as
21441         weak alias of __if_freenameindex.
21442         (if_nameindex): Rename to __if_nameindex and define as weak alias
21443         of __if_nameindex.
21444         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
21445         __if_nametoindex and define as weak alias of __if_nametoindex.
21446         Use libc_hidden_weak.
21447         (if_freenameindex): Rename to __if_freenameindex and define as
21448         weak alias of __if_freenameindex.
21449         (if_nameindex): Rename to __if_nameindex and define as weak alias
21450         of __if_nameindex.
21451         (if_indextoname): Rename to __if_indextoname and define as weak
21452         alias of __if_indextoname.  Use libc_hidden_weak.
21453         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
21454         __if_nametoindex and define as weak alias of __if_nametoindex.
21455         Use libc_hidden_weak.
21456         (if_freenameindex): Rename to __if_freenameindex and define as
21457         weak alias of __if_freenameindex.  Use libc_hidden_weak.
21458         (if_nameindex_netlink): Use __if_freenameindex instead of
21459         if_freenameindex.
21460         (if_nameindex): Rename to __if_nameindex and define as weak alias
21461         of __if_nameindex.  Use libc_hidden_weak.
21462         (if_indextoname): Rename to __if_indextoname and define as weak
21463         alias of __if_indextoname.  Use libc_hidden_weak.
21464         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
21465         libc_hidden_proto.
21466         [!_ISOMAC] (__if_freenameindex): Likewise.
21467         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
21468         if_nametoindex.
21469         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
21470         variable.
21471         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
21472         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
21473         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
21474         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
21475         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
21476         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
21477         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
21479         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
21480         Remove variable.
21481         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
21482         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
21484 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21486         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
21487         subscript above bounds'
21489         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
21490         bounds.
21492 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
21494         * libio/tst-fopenloc.c: Use test-skeleton.c.
21496         * stdlib/tst-bsearch.c: Use test-skeleton.c.
21497         (entry): Rename to ITEM.
21498         (do_test, comp): Adjust.
21500         * stdio-common/tst-fseek.c: Use test-skeleton.c.
21502 2014-12-16  Torvald Riegel  <triegel@redhat.com>
21504         * string/tester.c: Include <libc-internal.h>.
21505         (test_memset): Ignore -Wmemset-transposed-args.
21507 2014-12-16  Torvald Riegel  <triegel@redhat.com>
21509         * misc/tst-mntent2.c (do_test): Fix warning.
21511 2014-12-16  Torvald Riegel  <triegel@redhat.com>
21513         * elf/tst-unique4lib.cc(a): Mark as used.
21515 2014-12-16  Florian Weimer  <fweimer@redhat.com>
21517         [BZ #17630]
21518         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
21519         names.
21521 2014-12-16  Allan McRae  <allan@archlinux.org>
21523         * stdio-common/Makefile (tests): Re-add bug26.
21525 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
21527         [BZ #17657]
21528         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
21529         static array.
21531 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
21533         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
21534         (__lll_lock_wait): Likewise.
21535         (__lll_timedlock_wait): Likewise.
21536         (__lll_timedwait_tid): Likewise.
21537         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
21538         (__lll_robust_timedlock_wait): Likewise.
21539         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
21540         (lll_cond_trylock): Likewise.
21541         (__lll_lock): Likewise.
21542         (__lll_robust_lock): Likewise.
21543         (__lll_cond_lock): Likewise.
21544         (lll_robust_cond_lock): Likewise.
21545         (__lll_timedlock): Likewise.
21546         (__lll_robust_timedlock): Likewise.
21547         (__lll_unlock): Likewise.
21548         (__lll_robust_unlock): Likewise.
21549         (lll_wait_tid): Likewise.
21550         (lll_timedwait_tid): Likewise.
21552 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21554         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
21556 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21558         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
21560 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
21562         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
21563         * stdio-common/tst-sprintf.c: Likewise.
21565 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21567         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
21569 2014-12-15  Jeff Law  <law@redhat.com>
21571         [BZ #16617]
21572         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
21573         on the heap.  (CVE-2012-3406)
21574         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
21575         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
21576         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
21578 2014-12-15  Will Newton  <will.newton@linaro.org>
21580         * manual/install.texi: Bump required version of texinfo
21581         to 4.7 from 4.5.
21582         * INSTALL: Regenerated.
21583         * configure.ac: Check for makeinfo version 4.7 and above.
21584         * configure: Regenerated.
21586 2014-12-12  Roland McGrath  <roland@hack.frob.com>
21588         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
21589         PREFIX, string constant to insert between directory and name.
21590         * sysdeps/posix/shm_open.c: Update caller.
21591         * sysdeps/posix/shm_unlink.c: Likewise.
21592         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
21593         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
21594         (SEM_SHM_PREFIX): New macro.
21595         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
21596         [$(have-thread-library) = no].
21597         * nptl/Makefile (libpthread-routines): Add shm-directory.
21598         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
21599         * sysdeps/nptl/shm-directory.h: New file.
21600         * sysdeps/posix/shm-directory.c
21601         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
21602         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
21603         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
21604         INTERNAL_SYSCALL.
21605         (__where_is_shmfs): Function removed.
21606         (mountpoint, defaultmount, defaultdir, __namedsem_once):
21607         Variables removed.
21608         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
21609         Use SHM_GET_NAME.
21610         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
21612         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
21613         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
21614         unconditional for use inside libpthread.
21615         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
21617 2014-12-12  Roland McGrath  <roland@hack.frob.com>
21619         * nptl/pthread_getaffinity.c: New file.
21620         * nptl/pthread_setaffinity.c: New file.
21621         * nptl/pthread_getname.c: New file.
21622         * nptl/pthread_setname.c: New file.
21624         * nptl/pthread_create.c (START_THREAD_DEFN)
21625         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
21627 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21628             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21630         * resolv/res_send.c (send_vc): Disable warning resplen may
21631         be used uninitialized.
21633 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21635         * nptl/tst-mutex6.c
21636         (ATTR_NULL): New define checks ATTR against NULL.
21637         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
21638         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
21640 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
21642         [BZ #17581]
21643         * malloc/hooks.c
21644         (mem2mem_check): Revert my previous change.
21645         (malloc_check_get_size): Revert my previous change.
21646         (mem2chunk_check): Revert my previous change.
21648 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21650         * sysdeps/posix/shm-directory.c: New file.
21651         * sysdeps/posix/shm-directory.h: New file.
21652         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
21653         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
21654         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
21655         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
21656         Transmute EPERM to EACCES.
21657         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
21658         from ...
21659         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
21660         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
21662 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21664         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
21665         pointer and cast to uintptr_t.
21666         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
21667         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
21668         Add cast to avoid warning.
21669         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
21671 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
21673         * nptl/semaphore.h: Move to ...
21674         * sysdeps/pthread/semaphore.h: ... here.
21675         * Makefile (installed-headers): Change nptl/semaphore.h to
21676         sysdeps/pthread/semaphore.h.
21678 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21680         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
21681         generated error format strings.
21683         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
21684         -Wformat-extra-args warnings for scanf formats.
21685         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
21686         test of zero-length format (duh).
21687         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
21688         corner-case scanf format test.
21689         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
21690         generated fprintf format string.
21691         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
21692         corner-case sprintf format tests.
21693         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
21694         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
21695         -Wformat-extra-args warnings throughout.
21696         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
21697         (CFLAGS-scanf4.c): Likewise.
21698         (CFLAGS-scanf7.c): Likewise.
21699         (CFLAGS-tst-sprintf.c): Likewise.
21700         (CFLAGS-tst-printf.c): Likewise.
21701         (CFLAGS-tst-printfsz.c): Likewise.
21703 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
21705         * include/cpio.h: New file.
21706         * include/fmtmsg.h: Likewise.
21708         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
21709         corresponding format argument to size_t.
21710         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
21711         arguments.
21712         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
21713         corresponding format argument to size_t.
21714         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
21715         arguments.
21716         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
21717         corresponding format argument to size_t.
21718         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
21719         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
21720         (CFLAGS-tst-mbswcs2.c): Likewise.
21721         (CFLAGS-tst-mbswcs3.c): Likewise.
21722         (CFLAGS-tst-mbswcs4.c): Likewise.
21723         (CFLAGS-tst-mbswcs5.c): Likewise.
21724         (CFLAGS-tst-trans.c): Likewise.
21726 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21728         * posix/regexbug1.c (main): Use "%s" format with regerror results,
21729         rather than assuming they won't contain any '%'s.
21731 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
21733         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
21734         inhibit_loop_to_libcall to avoid recursive calls.
21735         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
21736         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
21738 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
21740         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
21741         prototype.
21743 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21745         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
21746         integer value instead of boolean.
21748 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21750         * malloc/malloc.c: Fix powerof2 check.
21752 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21754         * locale/programs/locfile.h (maybe_swap_uint32):
21755         Remove inline and add unused attribute.
21757 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21759         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21760         Truncating assembler expression to a .long expression.
21762 2014-12-11  Andreas Schwab  <schwab@suse.de>
21764         * elf/rtld.c (struct map_args): Constify str member.
21765         (do_preload): Constify fname argument.
21767 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21769         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
21770         constants definition.
21772 2014-12-11  Andreas Schwab  <schwab@suse.de>
21774         [BZ #16657]
21775         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
21776         FORCE_ELISION instead of DO_ELISION.
21777         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
21778         Remove.
21779         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
21780         Likewise.
21782         * iconvdata/gconv-modules: Remove duplicate entry.
21784 2014-12-11  Will Newton  <will.newton@linaro.org>
21786         Merge gettext 0.19.3 into intl/.
21788         This involves a number of cosmetic changes to comments
21789         and ANSI function definitions and prototypes throughout
21790         all the files. The gettext copyright header is used but
21791         with the date ranges taken from the glibc copy.
21793         * NEWS: Add gettext merge to 2.21.
21794         * intl/bindtextdom.c: Switch to gettext copyright.
21795         Use ANSI definitions and prototypes.
21796         Use gl_* locking primitives rather than __libc_* ones.
21797         Use __builtin_expect rather than __glibc_likely/unlikely.
21798         * intl/dcgettext.c: Switch to gettext copyright.
21799         Use ANSI definitions and prototypes.
21800         * intl/dcigettext.c: Switch to gettext copyright.
21801         Use ANSI definitions and prototypes.
21802         (INTDIV0_RAISES_SIGFPE): New define.
21803         Use gl_* locking primitives rather than __libc_* ones.
21804         Include eval-plural.h instead of plural-eval.c.
21805         Use __builtin_expect rather than __glibc_likely/unlikely.
21806         * intl/dcngettext.c: Switch to gettext copyright.
21807         Use ANSI definitions and prototypes.
21808         * intl/dgettext.c: Likewise.
21809         * intl/dngettext.c: Likewise.
21810         * intl/plural-eval.c: Renamed to...
21811         * intl/eval-plural.h: ...this.
21812         * intl/explodename.c: Switch to gettext copyright.
21813         Use ANSI definitions and prototypes.
21814         (_nl_explode_name): Use strchr instead of __rawmemchr.
21815         * intl/finddomain.c: Switch to gettext copyright.
21816         Use ANSI definitions and prototypes.
21817         Use gl_* locking primitives rather than __libc_* ones.
21818         (_nl_find_domain): Use malloc rather than alloca for
21819         allocation of temporary locale name.
21820         * intl/gettext.c: Switch to gettext copyright.
21821         Use ANSI definitions and prototypes.
21822         * intl/gettextP.h: Switch to gettext copyright.
21823         Use ANSI definitions and prototypes.
21824         Use gl_* locking primitives rather than __libc_* ones.
21825         * intl/gmo.h: Switch to gettext copyright.
21826         (struct sysdep_string): Move struct segment_pair outside of
21827         struct definition.
21828         * intl/hash-string.c: Use ANSI definitions and prototypes.
21829         * intl/hash-string.h: Switch to gettext copyright.
21830         Use ANSI definitions and prototypes.
21831         * intl/l10nflist.c: Switch to gettext copyright.
21832         Use ANSI definitions and prototypes.
21833         (_nl_normalize_codeset): Avoid integer overflow.
21834         * intl/loadinfo.h: Switch to gettext copyright.
21835         Use ANSI definitions and prototypes.
21836         (LIBINTL_DLL_EXPORTED): New define.
21837         (PATH_SEPARATOR): New define.
21838         * intl/loadmsgcat.c: Switch to gettext copyright.
21839         * intl/localealias.c: Switch to gettext copyright.
21840         Use ANSI definitions and prototypes.
21841         (_nl_expand_alias): Use PATH_SEPARATOR.
21842         * intl/ngettext.c: Switch to gettext copyright.
21843         Use ANSI definitions and prototypes.
21844         * intl/plural-exp.c: Likewise.
21845         * intl/plural-exp.h: Switch to gettext copyright.
21846         Use ANSI definitions and prototypes.
21847         (struct expression): Move definition of enum operator outside
21848         of struct definition.
21849         * intl/plural.c: Regenerate.
21850         * intl/plural.y: Switch to gettext copyright.
21851         Use ANSI definitions and prototypes.
21852         Port to bison 3.0.
21853         * intl/textdomain.c: Switch to gettext copyright.
21854         Use ANSI definitions and prototypes.
21855         Use gl_* locking primitives rather than __libc_* ones.
21857 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
21859         * debug/warning-nop.c: Add used atrribute.
21861 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21863         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
21865         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
21866         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
21867         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
21869 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21870             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21872         [BZ #17634]
21873         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
21874         Undefine after defining function.  Define as weak alias of
21875         __wcschr.  Use libc_hidden_weak.
21876         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
21877         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
21878         (libc_hidden_def): Also define __GI___wcschr alias.
21879         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
21880         __wcschr and define as weak alias of __wcschr.
21881         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
21882         __wcschr.
21883         [!WCSCHR] (DEFAULT_WCSCHR): Define.
21884         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
21885         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
21886         libc_hidden_weak.  Do not use libc_hidden_def.
21887         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
21888         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
21889         __GI___wcschr alias.
21890         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
21891         [IS_IN (libc)] (wcschr): Define as macro expanding to
21892         __redirect_wcschr.
21893         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
21894         [IS_IN (libc)] (__wcschr_power6): Likewise.
21895         [IS_IN (libc)] (__wcschr_power7): Likewise.
21896         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
21897         instead of wcschr.
21898         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
21899         __libc_wcschr.
21900         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
21901         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
21902         __wcschr and define as weak alias of __wcschr.  Use
21903         libc_hidden_builtin_def.
21904         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
21905         as weak alias of __wcschr.  Use libc_hidden_weak.
21906         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
21907         wcschr.
21908         * time/era.c (_nl_init_era_entries): Likewise.
21909         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
21910         variable.
21911         (test-xfail-XPG3/time.h/linknamespace): Likewise.
21912         (test-xfail-XPG4/time.h/linknamespace): Likewise.
21914 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21916         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
21917         format for long int variable.
21919 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
21921         [BZ #10672]
21922         * manual/search.texi: (Array Sort Function): Remove claim how to make
21923         qsort stable.
21925 2014-12-10  Andreas Schwab  <schwab@suse.de>
21927         [BZ #12847]
21928         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
21929         user-controlled locks.
21931 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
21933         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
21934         register.
21936 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21938         * configure.ac (--disable-werror): New configure option.
21939         (enable_werror): New AC_SUBST.
21940         * configure: Regenerated.
21941         * config.make.in (enable-werror): New variable.
21942         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
21943         -Wno-error=undef.
21944         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
21945         * manual/install.texi (Configuring and compiling): Document
21946         --disable-werror.
21947         * INSTALL: Regenerated.
21948         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
21949         (CFLAGS-tst-chk2.c): Likewise.
21950         (CFLAGS-tst-chk3.c): Likewise.
21951         (CFLAGS-tst-chk4.cc): Likewise.
21952         (CFLAGS-tst-chk5.cc): Likewise.
21953         (CFLAGS-tst-chk6.cc): Likewise.
21954         (CFLAGS-tst-lfschk1.c): Likewise.
21955         (CFLAGS-tst-lfschk2.c): Likewise.
21956         (CFLAGS-tst-lfschk3.c): Likewise.
21957         (CFLAGS-tst-lfschk4.cc): Likewise.
21958         (CFLAGS-tst-lfschk5.cc): Likewise.
21959         (CFLAGS-tst-lfschk6.cc): Likewise.
21961         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
21962         (main): Disable -Wdeprecated-declarations around calls to
21963         register_printf_function.
21965         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
21966         (do_test): Disable -Wdiv-by-zero around some calls to
21967         fwrite_unlocked and fread_unlocked.
21969         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
21970         (DIAG_POP_NEEDS_COMMENT): Likewise.
21971         (_DIAG_STR1): Likewise.
21972         (_DIAG_STR): Likewise.
21973         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
21974         * stdio-common/bug21.c: Include <libc-internal.h>.
21975         (do_test): Disable -Wformat around call to sscanf.
21976         * stdio-common/scanf14.c: Include <libc-internal.h>.
21977         (main): Disable -Wformat around some calls to scanf functions.
21979 2014-12-09  Torvald Riegel  <triegel@redhat.com>
21981         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
21983 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21985         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
21986         stack variable alignment.
21988 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
21990         [BZ #17682]
21991         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
21992         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
21993         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
21994         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
21995         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
21996         __getrlimit instead of getrlimit.
21997         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
21998         __gettimeofday instead of gettimeofday.
21999         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22000         Likewise.
22001         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
22002         Likewise.
22003         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22004         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
22005         Remove variable.
22006         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
22007         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
22009 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22011         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
22012         for wide-character tests.
22014 2014-12-04  Roland McGrath  <roland@hack.frob.com>
22016         * io/openat64.c: #include <libc-internal.h>
22017         (__openat64): Prototypify.  Use ignore_value on MODE.
22018         * io/openat.c: Likewise.
22019         * misc/reboot.c: #include <libc-internal.h>
22020         (reboot): Prototypify.  Use ignore_value on HOWTO.
22021         * misc/ptrace.c: #include <libc-internal.h>
22022         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
22024 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
22026         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
22027         XPG4, UNIX98 and XOPEN2K.
22028         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
22029         Remove variable.
22030         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
22032 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22034         * libio/fileops.c: Use ISO C style for function definitions.
22035         * libio/iofopen.c: Likewise.
22036         * libio/wfileops.c: Likewise.
22038         [BZ #17653]
22039         * libio/fileops.c (_IO_new_file_underflow): Unset cached
22040         offset on EOF.
22041         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
22042         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
22043         (fgets_func): Function pointer to fgets and fgetws.
22044         (do_ftell_test): Add test to verify ftell value after read
22045         EOF.
22046         (do_test): Set fgets_func.
22048         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
22049         O_TRUNC flag for w and w+ modes.
22050         (do_rewind_test): Likewise.
22051         (do_ftell_test): Likewise.
22052         (do_write_test): Likewise.
22054         [BZ #17647]
22055         * libio/fileops.c (do_ftell): Seek only when there are
22056         unflushed writes.
22057         * libio/wfileops.c (do_ftell_wide): Likewise.
22058         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
22059         test case.
22060         (do_one_test): Call it.
22062 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
22064         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
22065         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
22066         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
22067         Remove variable.
22068         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
22069         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
22070         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
22072 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22074         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
22075         Remove variable.
22076         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
22078         [BZ #17668]
22079         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
22080         as weak alias of __getifaddrs.  Use libc_hidden_weak.
22081         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22082         __freeifaddrs.  Use libc_hidden_weak.
22083         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
22084         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
22085         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22086         __freeifaddrs.  Use libc_hidden_weak.
22087         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
22088         __getifaddrs and define as weak alias of __getifaddrs.  Use
22089         libc_hidden_weak.
22090         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22091         __freeifaddrs.  Use libc_hidden_weak.
22092         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
22093         Remove variable.
22094         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
22095         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
22097 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
22099         [BZ #17601]
22100         * sysdeps/mips/start.S (__start): Use indirect jump to call
22101         __libc_start_main.
22103 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22105         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
22107         * nptl/tst-mutex1.c: Include <stdbool.h>.
22108         [!ATTR] (ATTR_NULL): New macro.
22109         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
22110         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
22111         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
22113         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
22114         to char *.
22116         [BZ #17665]
22117         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
22118         Change conditional to [__USE_MISC].
22120         [BZ #17664]
22121         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
22122         fgets_unlocked.
22123         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
22124         __fgets_unlocked.
22125         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
22126         fgets_unlocked.
22127         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
22128         Remove variable.
22129         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
22130         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
22131         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
22132         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
22133         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
22134         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
22135         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
22136         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
22137         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
22139         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
22141 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22143         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22144         Remove strpbrk objects.
22145         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22146         (__libc_ifunc_impl_list): Remove strpbrk implementation.
22147         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
22148         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
22149         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
22150         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
22152         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22153         Remove strcspn objects.
22154         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22155         (__libc_ifunc_impl_list): Remove strcspn implementation.
22156         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
22157         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
22158         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
22159         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
22161         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22162         Remove strspn objetcs.
22163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22164         (__libc_ifunc_impl_list): Remove strspn implementation.
22165         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
22166         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
22167         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
22168         * sysdeps/powerpc/powerpc64/strspn.S: New file.
22170 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
22172         [BZ #17581]
22173         * malloc/hooks.c
22174         (mem2mem_check): Add a terminator to the chain of checking blocks.
22175         (malloc_check_get_size): Use it here.
22176         (mem2chunk_check): Ditto.
22178 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22180         * sysdeps/powerpc/powerpc64/strtok.S: New file.
22181         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
22183 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
22185         * bits/ioctl-types.h: Indent preprocessor directives correctly.
22187         * nptl/nptl-init.c: Include libc-internal.h.
22188         (__pthread_initialize_minimal_internal): Use ROUND_UP.
22190         * elf/ldconfig.c (search_dir): Expand comment.
22192 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
22194         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
22195         variable.
22196         (linknamespace-symlist-stdlibs-tests): Likewise.
22197         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
22198         instead of $(objpfx)symlist-stdlibs.
22199         (linknamespace-libs-isoc): New variable.
22200         (linknamespace-libs): Use $(linknamespace-libs-isoc).
22201         (linknamespace-libs-ISO): New variable.
22202         (linknamespace-libs-ISO99): Likewise.
22203         (linknamespace-libs-ISO11): Likewise.
22204         (linknamespace-libs-XPG3): Likewise.
22205         (linknamespace-libs-XPG4): Likewise.
22206         (linknamespace-libs-POSIX): Likewise.
22207         (linknamespace-libs-UNIX98): Likewise.
22208         (linknamespace-libs-XOPEN2K): Likewise.
22209         (linknamespace-libs-POSIX2008): Likewise.
22210         (linknamespace-libs-XOPEN2K8): Likewise.
22211         ($(objpfx)symlist-stdlibs): Replace by
22212         $(linknamespace-symlist-stdlibs-tests).  Use
22213         $(linknamespace-libs-$*) as set of libraries.
22214         ($(linknamespace-header-tests)): Update dependencies.  Use
22215         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
22216         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
22217         * conform/linknamespace.pl: Remove comment about considering
22218         definitions of symbols from irrelevant libraries.
22220 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
22222         [BZ #13862]
22223         * elf/dl-tls.c: Include <atomic.h>.
22224         (oom): Remove #ifdef SHARED/#endif.
22225         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
22226         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
22227         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
22228         big enough.
22229         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
22230         * nptl/Makefile (tests): Add tst-stack4.
22231         (modules-names): Add tst-stack4mod.
22232         ($(objpfx)tst-stack4): New.
22233         (tst-stack4mod.sos): Likewise.
22234         ($(objpfx)tst-stack4.out): Likewise.
22235         ($(tst-stack4mod.sos)): Likewise.
22236         (clean): Likewise.
22237         * nptl/tst-stack4.c: New file.
22238         * nptl/tst-stack4mod.c: Likewise.
22240 2014-11-27  J. Brown  <jb999@gmx.de>
22242         * sysdeps/x86/bits/string.h: Add recent CPUs.
22244 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22246         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
22247         sigblock.
22249         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
22250         feof.
22252         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
22253         variable.
22255 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
22257         * nscd/connections.c: Include libc-internal.h because of macro
22258         usage ignore_value.
22260 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22262         * string/bits/string3.h (__warn_memset_zero_len): Don't
22263         declare for gcc newer than 5.0.
22264         (memset): Don't test for zero-length __LEN for gcc newer than
22265         5.0.
22267 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22269         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
22270         size_t for %zu format.
22272         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
22273         difference, not %ju.
22275 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
22277         * include/libc-internal.h (ignore_value): New macro.
22278         * nscd/connections.c (restart): Wrap calls to setuid and setgid
22279         with ignore_value.
22281         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
22282         definition.
22284         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
22285         pthread_cleanup_push to void *.
22287         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
22288         Undefine.
22290         [BZ #16619]
22291         [BZ #16740]
22292         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
22293         instead of 1L << 52.
22295         * libio/bug-rewind.c (do_test): Check fwscanf return values.
22296         * libio/bug-rewind2.c (do_test): Likewise.
22298         * debug/test-stpcpy_chk-ifunc.c: Remove file.
22299         * debug/test-strcpy_chk-ifunc.c: Likewise.
22300         * wcsmbs/test-wcschr-ifunc.c: Likewise.
22301         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22302         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22303         * wcsmbs/test-wcslen-ifunc.c: Likewise.
22304         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22305         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22306         * Rules [$(multi-arch) = no] (tests): Do not filter out
22307         $(tests-ifunc).
22308         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
22309         * debug/Makefile (tests-ifunc): Remove variable.
22310         (tests): Do not add $(tests-ifunc).
22311         * wcsmbs/Makefile (tests-ifunc): Remove variable.
22312         (tests): Do not add $(tests-ifunc).
22313         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
22314         [TEST_IFUNC]: Remove conditionals.
22315         * string/test-string.h (TEST_IFUNC): Remove macro.
22316         [TEST_IFUNC]: Remove conditionals.
22318         * string/test-strchr.c [!WIDE] (L): New macro.
22319         [WIDE] (L): Likewise.
22320         (check1): Use CHAR instead of char.  Use L on string and character
22321         constants.
22323 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
22325         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
22326         tests.
22327         * sysdeps/powerpc/bits/atomic.h
22328         (__arch_atomic_exchange_and_add_32_acq): Add definition.
22329         (__arch_atomic_exchange_and_add_32_rel): Likewise.
22330         (atomic_exchange_and_add_acq): Likewise.
22331         (atomic_exchange_and_add_rel): Likewise.
22332         * sysdeps/powerpc/powerpc32/bits/atomic.h
22333         (__arch_atomic_exchange_and_add_64_acq): Add definition.
22334         (__arch_atomic_exchange_and_add_64_rel): Likewise.
22335         * sysdeps/powerpc/powerpc64/bits/atomic.h
22336         (__arch_atomic_exchange_and_add_64_acq): Add definition.
22337         (__arch_atomic_exchange_and_add_64_rel): Likewise.
22339 2014-11-26  Torvald Riegel  <triegel@redhat.com>
22341         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
22342         Change synchronization of __sched_fifo_min_prio and
22343         __sched_fifo_max_prio.
22344         * nptl/pthread_mutexattr_getprioceiling.c
22345         (pthread_mutexattr_getprioceiling): Likewise.
22346         * nptl/pthread_mutexattr_setprioceiling.c
22347         (pthread_mutexattr_setprioceiling): Likewise.
22348         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22349         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
22350         Likewise.
22352 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
22354         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
22355         void.
22357 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
22359         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
22360         third argument const.
22362 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
22364         fnmatch: work around GCC compiler warning bug with uninit var
22365         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
22366         This works around a bug with x86-64 GCC 4.9.2 and earlier
22367         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
22368         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
22369         used uninitialized in this function [-Wmaybe-uninitialized]".
22371 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
22373         * posix/bug-regex31.c (main): Return RES not 0.
22375 2014-11-25  Anton Blanchard <anton@samba.org>
22377         * sysdeps/powerpc/bits/atomic.h
22378         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
22380 2014-11-24  Sterling Augustine  <saugustine@google.com>
22382         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
22384 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
22386         [BZ #17608]
22387         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
22389 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
22391         [BZ #17633]
22392         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
22393         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
22394         variable.
22395         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
22396         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
22398 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
22400         * string/strncpy.c (strncpy): Improve performance by using memset.
22402 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
22404         * string/strcpy.c (strcpy):
22405         Improve performance by using strlen and memcpy.
22407 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
22409         * string/strcoll_l.c (get_next_seq): __always_inline.
22410         * string/strcoll_l.c (do_compare): __always_inline.
22412 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22414         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
22415         defined.
22416         * include/mqueue.h: Likewise.
22417         * include/stdlib.h: Likewise.
22419         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
22420         (get_null_defines): Adjust.
22421         * sunrpc/Makefile: Adjust comment.
22422         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
22423         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
22424         (CFLAGS-interp.c): Likewise.
22425         (CFLAGS-ldconfig.c): Likewise.
22426         (CPPFLAGS-.os): Likewise.
22427         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22428         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
22429         * extra-modules.mk (extra-modules.mk): Likewise.
22430         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
22431         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
22432         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
22433         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
22434         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
22435         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
22436         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
22437         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
22438         * iconvdata/Makefile (CPPFLAGS): Likewise.
22439         (cpp-srcs-left): Add libof for all iconvdata routines.
22440         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
22441         * include/assert.h: Likewise.
22442         * include/ctype.h: Likewise.
22443         * include/errno.h: Likewise.
22444         * include/libc-symbols.h: Likewise.
22445         * include/math.h: Likewise.
22446         * include/netdb.h: Likewise.
22447         * include/resolv.h: Likewise.
22448         * include/stdio.h: Likewise.
22449         * include/stdlib.h: Likewise.
22450         * include/string.h: Likewise.
22451         * include/sys/stat.h: Likewise.
22452         * include/wctype.h: Likewise.
22453         * intl/l10nflist.c: Likewise.
22454         * libidn/idn-stub.c: Likewise.
22455         * libio/libioP.h: Likewise.
22456         * nptl/libc_multiple_threads.c: Likewise.
22457         * nptl/pthreadP.h: Likewise.
22458         * posix/regex_internal.h: Likewise.
22459         * resolv/res_hconf.c: Likewise.
22460         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
22461         * sysdeps/arm/memmove.S: Likewise.
22462         * sysdeps/arm/sysdep.h: Likewise.
22463         * sysdeps/generic/_itoa.h: Likewise.
22464         * sysdeps/generic/symbol-hacks.h: Likewise.
22465         * sysdeps/gnu/errlist.awk: Likewise.
22466         * sysdeps/gnu/errlist.c: Likewise.
22467         * sysdeps/i386/i586/memcpy.S: Likewise.
22468         * sysdeps/i386/i586/memset.S: Likewise.
22469         * sysdeps/i386/i686/memcpy.S: Likewise.
22470         * sysdeps/i386/i686/memmove.S: Likewise.
22471         * sysdeps/i386/i686/mempcpy.S: Likewise.
22472         * sysdeps/i386/i686/memset.S: Likewise.
22473         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22474         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22475         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
22476         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
22477         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22478         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22479         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
22480         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22481         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22482         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22483         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22484         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22485         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22486         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22487         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22488         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22489         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
22490         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
22491         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
22492         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22493         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22494         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22495         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22496         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22497         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22498         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22499         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
22500         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22501         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
22502         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22503         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22504         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22505         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22506         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22507         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22508         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22509         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22510         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22511         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22512         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22513         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22514         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22515         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22516         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22517         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22518         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22519         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
22520         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
22521         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22522         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22523         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22524         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
22525         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
22526         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22527         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22528         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
22529         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22530         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
22531         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
22532         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22533         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22534         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22535         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
22536         * sysdeps/nptl/bits/libc-lock.h: Likewise.
22537         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
22538         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
22539         * sysdeps/posix/closedir.c: Likewise.
22540         * sysdeps/posix/opendir.c: Likewise.
22541         * sysdeps/posix/readdir.c: Likewise.
22542         * sysdeps/posix/rewinddir.c: Likewise.
22543         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
22544         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
22545         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22546         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22547         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22548         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
22549         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
22550         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
22551         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
22552         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
22553         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
22554         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
22555         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
22556         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
22557         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
22558         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
22559         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
22560         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
22561         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
22562         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
22563         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
22564         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
22565         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
22566         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
22567         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
22568         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
22569         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
22570         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
22571         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
22572         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
22573         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
22574         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
22575         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
22576         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
22577         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
22578         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
22579         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22580         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22581         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
22582         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
22583         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
22584         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
22585         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
22586         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22587         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
22588         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
22589         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
22590         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
22591         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
22592         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
22593         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
22594         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
22595         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22596         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
22597         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
22598         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
22599         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
22600         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
22601         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
22602         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
22603         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22604         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
22605         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22606         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
22607         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
22608         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22609         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
22610         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
22611         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
22612         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
22613         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22614         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
22615         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
22616         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
22617         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
22618         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
22619         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
22620         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
22621         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
22622         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
22623         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
22624         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22625         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
22626         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
22627         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22628         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
22629         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
22630         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
22631         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
22632         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22633         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
22634         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
22635         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
22636         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22637         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22638         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
22639         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22640         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22641         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
22642         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
22643         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22644         * sysdeps/unix/alpha/sysdep.S: Likewise.
22645         * sysdeps/unix/alpha/sysdep.h: Likewise.
22646         * sysdeps/unix/make-syscalls.sh: Likewise.
22647         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22648         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22649         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22650         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
22651         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22652         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
22653         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
22654         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22655         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22656         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
22657         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22658         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22659         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22660         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
22661         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22662         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22663         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22664         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
22665         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
22666         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22667         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
22668         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22669         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22670         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22671         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22672         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22673         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
22675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
22676         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
22677         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22678         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22679         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22680         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22681         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
22682         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22683         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22684         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22685         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
22686         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
22687         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22688         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22689         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22690         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22691         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22692         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22693         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22694         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22695         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22696         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22697         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22698         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22699         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22700         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22701         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
22702         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22703         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22704         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22705         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
22706         * sysdeps/x86_64/memcpy.S: Likewise.
22707         * sysdeps/x86_64/memmove.c: Likewise.
22708         * sysdeps/x86_64/memset.S: Likewise.
22709         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
22710         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22711         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22712         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
22713         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
22714         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22715         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22716         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22717         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22718         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22719         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22720         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22721         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
22722         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22723         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22724         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
22725         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22726         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22727         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22728         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22729         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
22730         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22731         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22732         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22733         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22734         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22735         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22736         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
22737         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22738         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22739         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
22740         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22741         * sysdeps/x86_64/strcmp.S: Likewise.
22743         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
22745         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
22746         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
22747         * elf/rtld-Rules: Likewise.
22748         * elf/setup-vdso.h: Likewise.
22749         * include/assert.h: Likewise.
22750         * include/bits/stdlib-float.h: Likewise.
22751         * include/errno.h: Likewise.
22752         * include/sys/stat.h: Likewise.
22753         * include/unistd.h: Likewise.
22754         * sysdeps/aarch64/setjmp.S: Likewise.
22755         * sysdeps/alpha/setjmp.S: Likewise.
22756         * sysdeps/arm/__longjmp.S: Likewise.
22757         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
22758         * sysdeps/arm/setjmp.S: Likewise.
22759         * sysdeps/arm/sysdep.h: Likewise.
22760         * sysdeps/generic/_itoa.h: Likewise.
22761         * sysdeps/generic/dl-sysdep.h: Likewise.
22762         * sysdeps/generic/ldsodefs.h: Likewise.
22763         * sysdeps/i386/dl-tls.h: Likewise.
22764         * sysdeps/i386/setjmp.S: Likewise.
22765         * sysdeps/m68k/setjmp.c: Likewise.
22766         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
22767         * sysdeps/mach/hurd/opendir.c: Likewise.
22768         * sysdeps/posix/getcwd.c: Likewise.
22769         * sysdeps/posix/opendir.c: Likewise.
22770         * sysdeps/posix/profil.c: Likewise.
22771         * sysdeps/powerpc/dl-procinfo.h: Likewise.
22772         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22773         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22774         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22775         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22776         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
22777         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22778         * sysdeps/s390/dl-tls.h: Likewise.
22779         * sysdeps/s390/s390-32/setjmp.S: Likewise.
22780         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22781         * sysdeps/sh/sh3/setjmp.S: Likewise.
22782         * sysdeps/sh/sh4/setjmp.S: Likewise.
22783         * sysdeps/unix/alpha/sysdep.h: Likewise.
22784         * sysdeps/unix/arm/sysdep.S: Likewise.
22785         * sysdeps/unix/i386/sysdep.S: Likewise.
22786         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22787         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
22788         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22789         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22790         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22791         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
22792         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22793         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22794         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
22795         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
22796         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
22797         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22798         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22801         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22802         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22803         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22804         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22805         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22806         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22807         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22808         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22809         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22810         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22811         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22812         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22813         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22814         * sysdeps/x86_64/setjmp.S: Likewise.
22816         * include/math.h: Use IS_IN instead of IS_IN_libm.
22817         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
22818         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22819         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22820         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
22821         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22822         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22823         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22824         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22825         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22826         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22827         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
22828         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
22829         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
22830         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
22831         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
22832         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
22833         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
22834         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
22835         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
22836         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
22837         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
22838         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
22839         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
22840         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
22841         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
22842         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
22843         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
22844         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
22845         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
22846         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
22847         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
22848         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22849         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22851         Likewise.
22852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
22853         Likewise.
22854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
22855         Likewise.
22856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
22857         Likewise.
22858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
22859         Likewise.
22860         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22861         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
22862         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22863         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22864         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22865         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
22867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
22868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
22869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
22870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
22871         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
22872         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
22873         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22874         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22875         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22876         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22877         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22878         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22879         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22880         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
22881         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
22882         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
22883         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
22884         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
22885         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22886         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
22888         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
22889         * nptl/pthreadP.h: Likewise.
22890         * nptl_db/structs.def: Likewise.
22891         * sysdeps/arm/sysdep.h: Likewise.
22892         * sysdeps/nptl/bits/libc-lock.h: Likewise.
22893         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
22894         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
22895         * sysdeps/unix/alpha/sysdep.h: Likewise.
22896         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22897         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22898         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22899         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22900         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22901         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22902         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22903         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22904         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22905         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22906         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22907         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22908         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22909         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
22911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
22912         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22913         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22914         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22915         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22916         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22917         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22918         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22919         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22920         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
22921         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22923         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
22924         * nptl/pthreadP.h: Likewise.
22925         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22926         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22927         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22928         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22929         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22930         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22931         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22932         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22933         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22934         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22935         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22936         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
22938         Likewise.
22939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
22940         Likewise.
22941         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22942         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22943         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22944         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22945         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22946         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22947         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22948         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22950         * dlfcn/dladdr.c: Use IS_IN.
22951         * dlfcn/dladdr1.c: Likewise.
22952         * dlfcn/dlclose.c: Likewise.
22953         * dlfcn/dlerror.c: Likewise.
22954         * dlfcn/dlinfo.c: Likewise.
22955         * dlfcn/dlmopen.c: Likewise.
22956         * dlfcn/dlopen.c: Likewise.
22957         * dlfcn/dlsym.c: Likewise.
22958         * dlfcn/dlvsym.c: Likewise.
22960         * include/ifaddrs.h: Use IS_IN.
22961         * inet/check_pf.c: Likewise.
22962         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22963         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
22965         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
22966         IS_IN_ldconfig.
22967         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
22968         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
22970         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
22971         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
22972         IS_IN (libc).
22974         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
22976         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
22977         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22978         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
22979         * include/libc-symbols.h (IS_IN_LIB): New macro.
22980         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
22981         * include/netdb.h: Likewise.
22982         * include/stap-probe.h: Remove all uses of IN_LIB.
22984         * Makeconfig (module-cppflags-real): Define MODULE_NAME
22985         instead of IN_MODULE.
22986         * include/libc-symbols.h (IN_MODULE): Define using
22987         MODULE_NAME.
22988         (PASTE_NAME, PASTE_NAME1): New macros.
22989         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
22990         of IN_LIB.
22991         (STAP_PROBE_ASM): Likewise.
22993 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22995         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
22996         __mach_init in dlopened libc.
22998 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
23000         * sysdeps/arm/preconfigure.ac: Delete EABI check.
23001         * sysdeps/arm/preconfigure: Regenerate.
23003 2014-11-21  Roland McGrath  <roland@hack.frob.com>
23005         * nptl/pthread_create.c (__pthread_create_2_1): Set
23006         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
23007         when copying values from IATTR into PD.
23009 2014-11-21  Will Newton  <will.newton@linaro.org>
23010             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
23012         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
23013         Refactor inline-asm.  Also add comment.
23015         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
23016         ElfW macro instead of hardcoded Elf64 types.
23017         (la_aarch64_gnu_pltenter): Likewise.
23018         * sysdeps/aarch64/dl-machine.h
23019         (elf_machine_runtime_setup): Use ElfW(Addr).
23021         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
23022         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
23023         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
23024         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
23025         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
23026         (R_AARCH64_TLS_DTPMOD64): Rename to ..
23027         (R_AARCH64_TLS_DTPMOD): This.
23028         (R_AARCH64_TLS_DTPREL64): Rename to ...
23029         (R_AARCH64_TLS_DTPREL): This.
23030         (R_AARCH64_TLS_TPREL64): Rename to ...
23031         (R_AARCH64_TLS_TPREL): This.
23032         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
23033         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
23034         R_AARCH64_TLS_TPREL64.
23035         (elf_machine_rela): Likewise.
23037 2014-11-21  Torvald Riegel  <triegel@redhat.com>
23039         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
23040         by setting it to 0.  64b atomics are not supported currently.
23042 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23044         [BZ #16469]
23045         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
23046         search domain names.
23048 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23050         [BZ #16469]
23051         * NEWS: Update.
23052         * resolv/res_query.c (__libc_res_nquerydomain): Retain
23053         trailing dot.
23054         * posix/tst-getaddrinfo5.c: New.
23055         * posix/Makefile (tests): Add it.
23057 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23059         [BZ #14498]
23060         * NEWS: Fixed.
23061         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
23062         after parsing line but before break_if_match.
23063         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
23064         if there is a protocol mismatch.
23066 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
23068         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
23069         because the potential race is on the user-supplied stream.
23071 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23073         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
23074         string literal if not passed a buffer.
23075         * manual/job.texi (ctermid): Update reasoning, note deviation
23076         from posix, suggest mtasurace when not passed a buffer, for
23077         future non-preliminary safety notes.
23079 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23081         * manual/users.texi (cuserid): Fix MT-Safety note for the case
23082         of not passing it a buffer.
23083         Reported by Peng Haitao.
23085 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23087         * manual/Makefile ($(objpfx)stamp-summary): Require
23088         check-safety.sh to pass.
23089         * manual/check-safety.sh: Wish for verification that every
23090         @deftypefn and @deftypefun is followed by a @safety remark.
23092 2014-11-20  Roland McGrath  <roland@hack.frob.com>
23094         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
23096         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
23097         PTHREAD_CANCEL_ASYNCHRONOUS.
23098         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
23099         send SIGCANCEL.
23101         * nptl/default-sched.h: New file.
23102         * sysdeps/unix/sysv/linux/default-sched.h: New file.
23103         * nptl/pthread_create.c: Include it.
23104         (__pthread_create_2_1): Use collect_default_sched instead of making
23105         Linux syscalls here directly.
23107 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23109         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
23110         __pthread_once): Use C11 atomics.
23112 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23114         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
23116 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23118         * include/atomic.h (__atomic_link_error, __atomic_check_size,
23119         atomic_thread_fence_acquire, atomic_thread_fence_release,
23120         atomic_thread_fence_seq_cst, atomic_load_relaxed,
23121         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
23122         atomic_compare_exchange_weak_relaxed,
23123         atomic_compare_exchange_weak_acquire,
23124         atomic_compare_exchange_weak_release,
23125         atomic_exchange_acquire, atomic_exchange_release,
23126         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
23127         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
23128         atomic_fetch_and_acquire,
23129         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
23131 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23133         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
23134         USE_ATOMIC_COMPILER_BUILTINS): Define.
23135         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
23136         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23137         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
23138         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23139         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
23140         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23141         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
23142         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23143         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
23144         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23145         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
23146         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23147         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
23148         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23149         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
23150         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23151         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23152         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23153         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23154         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23155         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
23156         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23157         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23158         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23159         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
23160         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23161         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23162         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23163         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
23164         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23165         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
23166         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23167         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
23168         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23169         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23170         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23171         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
23172         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23173         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
23174         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23176 2014-11-19  Roland McGrath  <roland@hack.frob.com>
23178         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
23179         the sched_priority value here.  It was already checked when the user
23180         called pthread_attr_setschedparam.
23182         * nptl/tst-bad-schedattr.c: New file.
23183         * nptl/Makefile (tests): Add it.
23185 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
23186             Florian Weimer  <fweimer@redhat.com>
23187             Joseph Myers  <joseph@codesourcery.com>
23188             Adam Conrad  <adconrad@0c3.net>
23189             Andreas Schwab  <schwab@suse.de>
23190             Brooks  <bmoses@google.com>
23192         [BZ #17625]
23193         * wordexp-test.c (__dso_handle): Add prototype.
23194         (__register_atfork): Likewise.
23195         (__app_register_atfork): New function.
23196         (registered_forks): New global.
23197         (register_fork): New function.
23198         (test_case): Add 3 new tests for WRDE_CMDSUB.
23199         (main): Call __app_register_atfork.
23200         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
23201         fork count is non-zero fail the test.
23202         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
23203         is set.
23204         (parse_dollars): Remove check for WRDE_NOCMD.
23205         (parse_dquote): Likewise.
23207 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23209         * Makeconfig (built-modules): List non-library modules to be
23210         built.
23211         (module-cppflags): Include libc-modules.h for
23212         everything except shlib-versions.v.i.
23213         (CPPFLAGS): Use it.
23214         (before-compile): Add libc-modules.h.
23215         ($(common-objpfx)libc-modules.h,
23216         $(common-objpfx)libc-modules.stmp): New targets.
23217         (common-generated): Add libc-modules.h and libc-modules.stmp.
23218         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
23219         * include/libc-symbols.h: Don't include libc-modules.h.
23220         * include/libc-modules.h: Remove file.
23221         * scripts/gen-libc-modules.awk: New script to generate
23222         libc-modules.h.
23223         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
23224         Depend on libc-modules.stmp.
23226         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
23228         * Makeconfig (in-module): Get value of libof set for the
23229         translation unit.
23230         (CPPFLAGS): Use $(in-module).
23231         * Makerules: Don't suffix routine names for nonlib.
23232         * include/libc-modules.h: New file.
23233         * include/libc-symbols.h: Include libc-modules.h
23234         (IS_IN): New macro to replace IS_IN_* macros.
23235         * elf/Makefile: Set libof-* for each routine.
23236         * elf/rtld-Rules: Likewise.
23237         * extra-modules.mk: Likewise.
23238         * iconv/Makefile: Likewise.
23239         * iconvdata/Makefile: Likewise.
23240         * locale/Makefile: Likewise.
23241         * malloc/Makefile: Likewise.
23242         * nss/Makefile: Likewise.
23243         * sysdeps/gnu/Makefile: Likewise.
23244         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
23245         * sysdeps/unix/sysv/linux/Makefile: Likewise.
23246         * sysdeps/s390/s390-64/Makefile: Likewise.
23247         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
23248         CPPFLAGS for nscd instead of nonlib.
23250 2014-11-18  Roland McGrath  <roland@hack.frob.com>
23252         * nptl/createthread.c: New file.
23254         * nptl/createthread.c: Moved ...
23255         * sysdeps/unix/sysv/linux/createthread.c: ... here.
23257         * nptl/createthread.c: Add proper top-line comment.
23258         (do_clone): Folded into ...
23259         (create_thread): ... here.  Take new arguments STOPPED_START and
23260         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
23261         increment __nptl_threads, do event-reporting logic, do
23262         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
23263         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
23264         resource cleanup if sched_setaffinity or sched_setscheduler fails,
23265         just send SIGCANCEL.
23266         * nptl/pthread_create.c: Forward-declare create_thread before
23267         including createthread.c.
23268         (start_thread): Use new macro START_THREAD_DEFN to replace defining
23269         declaration, and new macro START_THREAD_SELF to replace argument.
23270         Remove return statement.
23271         (report_thread_creation): New function.
23272         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
23273         synchronization logic, and __nptl_nthreads increment here, around
23274         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
23275         PD->parent_cancelhandling here, before create_thread.  When
23276         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
23277         __deallocate_stack, and ENOMEM translation here.
23279 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
23281         [BZ #17616]
23282         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
23283         (mptwo): Rename to __mptwo.
23284         (__inv): Use __mptwo instead of mptwo.
23285         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
23286         (mptwo): Rename to __mptwo.
23287         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
23288         of mpone and __mptwo instead of mptwo.
23289         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
23290         instead of mpone.
23291         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23292         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
23293         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
23294         of mpone and __mptwo instead of mptwo.
23295         (__mpranred): Use __mpone instead of mpone.
23296         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
23297         variable.
23298         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
23299         (test-xfail-ISO99/math.h/linknamespace): Likewise.
23300         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
23301         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
23302         (test-xfail-ISO11/math.h/linknamespace): Likewise.
23303         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
23304         (test-xfail-XPG3/math.h/linknamespace): Likewise.
23305         (test-xfail-XPG4/math.h/linknamespace): Likewise.
23306         (test-xfail-POSIX/math.h/linknamespace): Likewise.
23307         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
23308         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
23309         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
23310         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
23311         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
23312         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
23313         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
23314         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
23315         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
23316         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
23318 2014-11-18  Tom de Vries  <tom@codesoucery.com>
23320         * manual/signal.texi (Primitives Interrupted by Signals): In section,
23321         replace BSD Handler xref with BSD Signal Handling.
23323 2014-11-17  Richard Henderson  <rth@redhat.com>
23325         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
23326         (_FP_PACK_RAW_2): Remove.
23327         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
23328         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
23329         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
23330         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
23331         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
23332         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
23333         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
23334         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
23335         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
23336         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
23337         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
23338         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
23339         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
23340         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
23341         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
23342         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
23344 2014-11-14  Roland McGrath  <roland@hack.frob.com>
23346         * signal/signal.h [__USE_MISC]
23347         (struct sigvec): Remove type.
23348         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
23349         (sigvec): Remove declaration.
23350         * sysdeps/posix/sigvec.c: Moved ...
23351         * signal/sigvec.c: ... here, replacing old file.
23352         (struct sigvec): New type, copied from old signal.h definition.
23353         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
23354         (__sigvec): Convert definition to prototype.
23355         (sigvec): Replace weak_alias with compat_symbol.
23356         * signal/Versions (libc: GLIBC_2.21): New version set.
23357         * include/signal.h: Remove __sigvec declaration.
23358         * sysdeps/unix/bsd/sigvec.c: Remove file.
23359         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
23360         * manual/signal.texi (BSD Handler): Remove subsection.
23361         Move siginterrupt up to ...
23362         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
23363         (Blocking in BSD): Fold subsection into its parent.
23364         * NEWS: Mention sigvec removal.
23366 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
23368         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
23369         (DLA_FMS): Make definition conditional only on [__FMA4__].
23370         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
23371         definition.
23373         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
23374         Make definition conditional only on [PROF].
23375         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
23376         definition.
23377         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
23378         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
23380         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
23381         !__GNUC__].
23382         * include/signal.h (__sigpause): Move declaration above call to
23383         libc_hidden_proto.
23384         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
23385         variable.
23386         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
23387         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
23389 2014-11-14  David S. Miller  <davem@davemloft.net>
23391         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
23392         Define before including <string/memcpy.c> and <string/mempcpy.c>.
23394 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
23396         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
23397         * configure: Regenerated.
23398         * manual/install.texi (Tools for Compilation): Document a
23399         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
23400         compiler verified to work.
23401         * INSTALL: Regenerated.
23403         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
23404         redeclare with asm name.
23405         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
23406         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
23407         including <string.h>.
23408         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23409         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
23410         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23411         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
23412         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23413         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
23414         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23416 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
23418         * stdlib/strtol.c (__strtol): Use prototype definition.
23420         [BZ #17594]
23421         * stdlib/strtol.c (SYM__): New macro.
23422         (SYM__1): Likewise.
23423         (__strtol): Likewise.
23424         (strtol): Rename to __strtol and define as weak alias of
23425         __strtol.  Use libc_hidden_weak.
23427 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23429         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
23430         Use numbered labels in inline assembly.
23432 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23434         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
23435         Add setjmp LIBC_PROBE.
23436         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
23437         Likewise.
23438         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
23439         Add longjmp, longjmp_target LIBC_PROBE.
23440         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
23441         Likewise.
23443 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23445         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23446         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
23447         to get rid of unused variable warning.
23449 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23451         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
23452         Check for unwind_backtrace ==  NULL only in SHARED case.
23453         (__backchain_backtrace): Compile only in SHARED case.
23454         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
23455         Likewise.
23456         (__backchain_backtrace): Declare as static.
23458 2014-11-12  Roland McGrath  <roland@hack.frob.com>
23460         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
23461         (__libc_multiple_threads_ptr): Variable moved ...
23462         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
23464 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
23466         * conform/GlibcConform.pm: New file.
23467         * conform/conformtest.pl: Use GlibcConform module.
23468         * conform/linknamespace.pl: New file.
23469         * conform/list-header-symbols.pl: Likewise.
23470         * conform/Makefile (linknamespace-symlists-base): New variable.
23471         (linknamespace-symlists-tests): Likewise.
23472         (linknamespace-header-base): Likewise.
23473         (linknamespace-header-tests): Likewise.
23474         (tests-special): Add new tests.
23475         ($(linknamespace-symlists-tests)): New rule.
23476         (linknamespace-libs): New variable.
23477         ($(objpfx)symlist-stdlibs): New rule.
23478         ($(linknamespace-header-tests)): Likewise.
23479         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
23480         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
23481         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
23482         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
23483         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
23484         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
23485         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
23486         (test-xfail-ISO/math.h/linknamespace): Likewise.
23487         (test-xfail-ISO/signal.h/linknamespace): Likewise.
23488         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
23489         (test-xfail-ISO/time.h/linknamespace): Likewise.
23490         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
23491         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
23492         (test-xfail-ISO99/math.h/linknamespace): Likewise.
23493         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
23494         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
23495         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
23496         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
23497         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
23498         (test-xfail-ISO11/math.h/linknamespace): Likewise.
23499         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
23500         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
23501         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
23502         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
23503         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
23504         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
23505         (test-xfail-XPG3/math.h/linknamespace): Likewise.
23506         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
23507         (test-xfail-XPG3/search.h/linknamespace): Likewise.
23508         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
23509         (test-xfail-XPG3/time.h/linknamespace): Likewise.
23510         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
23511         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
23512         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
23513         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
23514         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
23515         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
23516         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
23517         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
23518         (test-xfail-XPG4/math.h/linknamespace): Likewise.
23519         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
23520         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23521         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
23522         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23523         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
23524         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
23525         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
23526         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
23527         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
23528         (test-xfail-XPG4/time.h/linknamespace): Likewise.
23529         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
23530         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
23531         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
23532         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
23533         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
23534         (test-xfail-POSIX/math.h/linknamespace): Likewise.
23535         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
23536         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
23537         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
23538         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23539         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
23540         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
23541         (test-xfail-POSIX/time.h/linknamespace): Likewise.
23542         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
23543         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
23544         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23545         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
23546         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
23547         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
23548         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
23549         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23550         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23551         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
23552         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
23553         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
23554         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23555         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23556         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
23557         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23558         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23559         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
23560         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
23561         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
23562         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
23563         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
23564         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
23565         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23566         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
23567         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
23568         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
23569         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
23570         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
23571         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
23572         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
23573         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
23574         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
23575         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
23576         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23577         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
23578         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
23579         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
23580         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
23581         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
23582         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23583         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
23584         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23585         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23586         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
23587         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
23588         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
23589         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23590         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
23591         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
23592         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
23593         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
23594         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
23595         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
23596         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
23597         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
23598         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
23599         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
23600         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
23601         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
23602         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
23603         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
23604         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
23605         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
23606         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
23607         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
23608         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23609         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
23610         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
23611         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23612         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
23613         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
23614         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
23615         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23616         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
23617         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
23618         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
23619         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23620         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
23621         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
23622         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
23623         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23624         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
23625         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
23626         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
23627         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
23628         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
23629         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
23630         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
23631         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23632         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23633         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23634         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23635         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23636         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
23637         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
23638         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
23639         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
23641         [BZ #17589]
23642         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
23643         of fgets_unlocked.
23645         [BZ #17585]
23646         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
23647         (memmem): Rename to __memmem and define as weak alias of
23648         __memmem.  Use libc_hidden_weak.
23649         (__memmem): Use libc_hidden_def.
23650         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
23651         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
23652         memmem.
23654         [BZ #17582]
23655         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
23656         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
23657         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
23658         and define as weak alias of __fgets_unlocked.  Use
23659         libc_hidden_weak.
23660         (__fgets_unlocked): Use libc_hidden_def.
23661         * include/stdio.h (__fgets_unlocked): Declare.  Use
23662         libc_hidden_proto.
23663         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
23664         __fgets_unlocked instead of fgets_unlocked.
23665         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
23666         (GET_NPROCS_CONF_PARSER): Likewise.
23667         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
23668         (GET_NPROCS_CONF_PARSER): Likewise.
23670         [BZ #17574]
23671         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
23672         weak alias of __wmemset.  Use libc_hidden_weak.
23673         (__wmemset): Use libc_hidden_def.
23674         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
23675         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
23676         of wmemset.
23678         [BZ #17573]
23679         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
23680         with asm name __mempcpy.
23681         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
23683         [BZ #17572]
23684         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
23685         and define as weak alias of __rawmemchr.
23686         (__rawmemchr): Do not define as strong alias of rawmemchr.
23688         [BZ #17571]
23689         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
23690         alias of __qsort_r.
23691         (qsort): Call __qsort_r instead of qsort_r.
23692         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
23693         (__qsort_r): Declare.  Call libc_hidden_proto.
23694         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
23695         instead of qsort_r.
23696         * nscd/gai.c (__qsort_r): Define to qsort_r.
23697         * posix/tst-rfc3484.c (__qsort_r): Likewise.
23698         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
23699         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
23701         [BZ #17570]
23702         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
23703         define as weak alias of __malloc_info.
23705         [BZ #17584]
23706         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
23707         as weak alias of __rewinddir.  Don't use libc_hidden_def.
23708         (__rewinddir): Use libc_hidden_def.
23709         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
23710         as weak alias of __rewinddir.  Don't use libc_hidden_def.
23711         (__rewinddir): Use libc_hidden_def.
23712         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
23713         weak alias of __rewinddir.  Don't use libc_hidden_def.
23714         (__rewinddir): Use libc_hidden_def.
23715         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
23716         (__rewinddir): Use libc_hidden_proto.
23717         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
23718         rewinddir.
23719         (__getcwd): Use __rewinddir instead of rewinddir.
23721         [BZ #17583]
23722         * libio/fileno.c (fileno): Rename to __fileno and define as weak
23723         alias of __fileno.  Use libc_hidden_weak.
23724         (__fileno): Use libc_hidden_def.
23725         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
23726         * libio/ftello.c (ftello): Rename to __ftello and define as weak
23727         alias of __ftello.
23728         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
23729         __ftello.
23730         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
23731         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
23732         libc_hidden_def.
23733         (fread_unlocked): Don't use libc_hidden_ver.
23734         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
23735         and define as weak alias of __fread_unlocked.  Don't use
23736         libc_hidden_def.
23737         (__fread_unlocked): Use libc_hidden_def.
23738         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
23739         (ftello): Don't use libc_hidden_proto.
23740         (__ftello): Declare.  Use libc_hidden_proto.
23741         (fread_unlocked): Don't use libc_hidden_proto.
23742         (__fread_unlocked): Declare.  Use libc_hidden_proto.
23743         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
23744         and __ftello instead of fileno, fread_unlocked and ftello.
23746 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23748         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
23749         GOT12.
23750         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23751         Likewise.
23752         (_dl_start_user): Likewise.
23753         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
23755 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
23756             Siddhesh Poyarekar  <siddhesh@redhat.com>
23758         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
23759         Move argv and envp down instead of moving argc up.
23760         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
23762 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
23764         [BZ #17506]
23765         * test-skeleton.c (main): Return successful if one of
23766         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
23767         * string/tst-strcoll-overflow.c: Define expected status.
23769 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
23771         [BZ #17475]
23772         * locale/iso-639.def: Define Bhili and Tulu language codes.
23774 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
23776         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
23778 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
23780         [BZ #17555]
23781         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
23783 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
23785         * configure.ac: Updated check of minimal required version to
23786         2.22.
23787         * manual/install.texi (Tools for Compilation): Updated version
23788         number.
23789         * configure: Regenerated.
23790         * INSTALL: Likewise.
23792 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
23794         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
23795         __tls_get_addr.
23797 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
23799         * include/sys/wait.h (__libc_waitpid): Remove declaration.
23800         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
23801         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23802         libc_hidden_weak.
23803         (waitpid): Define as alias of __waitpid.
23804         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
23805         __waitpid.
23806         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23807         libc_hidden_weak.
23808         (waitpid): Define as alias of __waitpid.
23809         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
23810         __libc_waitpid alias.
23811         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
23812         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
23813         Likewise.
23814         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
23815         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
23816         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
23817         alias.
23818         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
23819         __waitpid.
23820         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23821         libc_hidden_weak.
23822         (waitpid): Define as alias of __waitpid.
23824 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
23826         * manual/llio.texi: Add comment that write safety has been
23827         fixed in Linux.
23829         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
23830         (localplt-build-dso): Add elf/ld.so.
23831         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
23832         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
23833         and free for ld.so.
23834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
23835         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
23836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
23837         Likewise.
23838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
23839         Likewise.
23840         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
23841         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
23842         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
23843         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
23844         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
23845         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
23846         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
23847         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
23848         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
23849         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
23850         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
23852 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
23854         [BZ #14132]
23855         * include/libc-symbols.h (INTUSE): Remove macro.
23856         (INTDEF): Likewise.
23857         (INTVARDEF): Likewise.
23858         (_INTVARDEF): Likewise.
23859         (INTDEF2): Likewise.
23860         (INTVARDEF2): Likewise.
23861         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
23862         rtld_hidden_def instead of INTVARDEF.
23863         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
23864         (_dl_starting_up_internal): Remove declaration.
23865         (_dl_starting_up): Use rtld_hidden_proto.
23866         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
23867         declaration.
23868         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
23869         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
23870         _dl_starting_up.
23871         * elf/dl-writev.h (_dl_writev): Likewise.
23872         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
23873         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
23874         _dl_starting_up_internal.
23876 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23878         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23879         test-skeleton.c.
23881 2014-11-05  Will Newton  <will.newton@linaro.org>
23883         * benchtests/Makefile: (bench-malloc): Add malloc thread
23884         scalability benchmark.
23885         * benchtests/bench-malloc-threads.c: New file.
23887 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
23889         * sysdeps/aarch64/strchrnul.S: New file.
23891 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23893         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
23894         definition.
23895         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
23896         Likwise.
23897         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
23898         Likewise.
23899         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
23900         Likewise.
23901         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
23902         Likewise.
23903         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
23904         Likewise.
23906 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
23908         * catgets/test-gencat.c: Use test-skeleton.c.
23909         * catgets/tst-catgets.c: Likewise.
23910         * csu/tst-empty.c: Likewise.
23911         * elf/tst-audit2.c: Likewise.
23912         * elf/tst-global1.c: Likewise.
23913         * elf/tst-pathopt.c: Likewise.
23914         * elf/tst-piemod1.c: Likewise.
23915         * elf/tst-tls10.c: Likewise.
23916         * elf/tst-tls11.c: Likewise.
23917         * elf/tst-tls12.c: Likewise.
23918         * gnulib/tst-gcc.c: Likewise.
23919         * iconvdata/tst-e2big.c: Likewise.
23920         * iconvdata/tst-loading.c: Likewise.
23921         * iconv/tst-iconv1.c: Likewise.
23922         * iconv/tst-iconv2.c: Likewise.
23923         * inet/test-inet6_opt.c: Likewise.
23924         * inet/tst-gethnm.c: Likewise.
23925         * inet/tst-network.c: Likewise.
23926         * inet/tst-ntoa.c: Likewise.
23927         * intl/tst-codeset.c: Likewise.
23928         * intl/tst-gettext2.c: Likewise.
23929         * intl/tst-gettext3.c: Likewise.
23930         * intl/tst-ngettext.c: Likewise.
23931         * intl/tst-translit.c: Likewise.
23932         * io/test-stat.c: Likewise.
23933         * libio/test-fmemopen.c: Likewise.
23934         * libio/tst-freopen.c: Likewise.
23935         * libio/tst-sscanf.c: Likewise.
23936         * libio/tst-ungetwc1.c: Likewise.
23937         * libio/tst-ungetwc2.c: Likewise.
23938         * libio/tst-widetext.c: Likewise.
23939         * localedata/tst-ctype.c: Likewise.
23940         * localedata/tst-digits.c: Likewise.
23941         * localedata/tst-leaks.c: Likewise.
23942         * localedata/tst-mbswcs1.c: Likewise.
23943         * localedata/tst-mbswcs2.c: Likewise.
23944         * localedata/tst-mbswcs3.c: Likewise.
23945         * localedata/tst-mbswcs4.c: Likewise.
23946         * localedata/tst-mbswcs5.c: Likewise.
23947         * localedata/tst-setlocale.c: Likewise.
23948         * localedata/tst-trans.c: Likewise.
23949         * localedata/tst-wctype.c: Likewise.
23950         * localedata/tst-xlocale1.c: Likewise.
23951         * login/tst-grantpt.c: Likewise.
23952         * malloc/tst-calloc.c: Likewise.
23953         * malloc/tst-malloc.c: Likewise.
23954         * malloc/tst-mallocstate.c: Likewise.
23955         * malloc/tst-mcheck.c: Likewise.
23956         * malloc/tst-mtrace.c: Likewise.
23957         * malloc/tst-obstack.c: Likewise.
23958         * math/atest-exp2.c: Likewise.
23959         * math/atest-exp.c: Likewise.
23960         * math/atest-sincos.c: Likewise.
23961         * math/test-matherr.c: Likewise.
23962         * math/test-misc.c: Likewise.
23963         * math/test-powl.c: Likewise.
23964         * math/tst-definitions.c: Likewise.
23965         * misc/tst-dirname.c: Likewise.
23966         * misc/tst-efgcvt.c: Likewise.
23967         * misc/tst-fdset.c: Likewise.
23968         * misc/tst-hsearch.c: Likewise.
23969         * misc/tst-mntent2.c: Likewise.
23970         * nptl/tst-sem7.c: Likewise.
23971         * nptl/tst-sem8.c: Likewise.
23972         * nptl/tst-sem9.c: Likewise.
23973         * nss/test-netdb.c: Likewise.
23974         * posix/tst-fnmatch.c: Likewise.
23975         * posix/tst-getlogin.c: Likewise.
23976         * posix/tst-gnuglob.c: Likewise.
23977         * posix/tst-mmap.c: Likewise.
23978         * pwd/tst-getpw.c: Likewise.
23979         * resolv/tst-inet_ntop.c: Likewise.
23980         * rt/tst-timer.c: Likewise.
23981         * stdio-common/test-fseek.c: Likewise.
23982         * stdio-common/test-popen.c: Likewise.
23983         * stdio-common/test-vfprintf.c: Likewise.
23984         * stdio-common/tst-cookie.c: Likewise.
23985         * stdio-common/tst-fileno.c: Likewise.
23986         * stdio-common/tst-gets.c: Likewise.
23987         * stdio-common/tst-obprintf.c: Likewise.
23988         * stdio-common/tst-perror.c: Likewise.
23989         * stdio-common/tst-sprintf2.c: Likewise.
23990         * stdio-common/tst-sprintf3.c: Likewise.
23991         * stdio-common/tst-sprintf.c: Likewise.
23992         * stdio-common/tst-swprintf.c: Likewise.
23993         * stdio-common/tst-tmpnam.c: Likewise.
23994         * stdio-common/tst-unbputc.c: Likewise.
23995         * stdio-common/tst-wc-printf.c: Likewise.
23996         * stdlib/tst-environ.c: Likewise.
23997         * stdlib/tst-fmtmsg.c: Likewise.
23998         * stdlib/tst-limits.c: Likewise.
23999         * stdlib/tst-rand48-2.c: Likewise.
24000         * stdlib/tst-rand48.c: Likewise.
24001         * stdlib/tst-random2.c: Likewise.
24002         * stdlib/tst-random.c: Likewise.
24003         * stdlib/tst-strtol.c: Likewise.
24004         * stdlib/tst-strtoll.c: Likewise.
24005         * stdlib/tst-tls-atexit.c: Likewise.
24006         * stdlib/tst-xpg-basename.c: Likewise.
24007         * string/test-ffs.c: Likewise.
24008         * string/tst-bswap.c: Likewise.
24009         * string/tst-inlcall.c: Likewise.
24010         * string/tst-strtok.c: Likewise.
24011         * string/tst-strxfrm.c: Likewise.
24012         * sysdeps/x86_64/tst-audit10.c: Likewise.
24013         * sysdeps/x86_64/tst-audit3.c: Likewise.
24014         * sysdeps/x86_64/tst-audit4.c: Likewise.
24015         * sysdeps/x86_64/tst-audit5.c: Likewise.
24016         * time/tst-ftime_l.c: Likewise.
24017         * time/tst-getdate.c: Likewise.
24018         * time/tst-mktime3.c: Likewise.
24019         * time/tst-mktime.c: Likewise.
24020         * time/tst-posixtz.c: Likewise.
24021         * time/tst-strptime2.c: Likewise.
24022         * time/tst-strptime3.c: Likewise.
24023         * wcsmbs/tst-btowc.c: Likewise.
24024         * wcsmbs/tst-mbrtowc.c: Likewise.
24025         * wcsmbs/tst-mbsrtowcs.c: Likewise.
24026         * wcsmbs/tst-wchar-h.c: Likewise.
24027         * wcsmbs/tst-wcpncpy.c: Likewise.
24028         * wcsmbs/tst-wcrtomb.c: Likewise.
24029         * wcsmbs/tst-wcsnlen.c: Likewise.
24030         * wcsmbs/tst-wcstof.c: Likewise.
24032 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
24034         [BZ #14132]
24035         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
24036         INTDEF.
24037         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
24038         declaration.
24039         (_dl_mcount): Use rtld_hidden_proto.
24040         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
24041         _dl_mcount.
24042         * elf/rtld.c (_rtld_global_ro): Likewise.
24044         [BZ #14132]
24045         * elf/dl-init.c (_dl_init): Don't use INTDEF.
24046         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
24047         of _dl_init_internal.
24048         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
24049         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
24050         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
24051         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
24052         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
24053         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
24054         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
24055         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
24056         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
24057         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
24058         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
24059         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
24060         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24061         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24062         * sysdeps/tile/dl-start.S (_start): Likewise.
24063         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
24064         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
24066         [BZ #14132]
24067         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
24068         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
24069         (rtld_progname): Make macro definition unconditional.
24070         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
24071         INTDEF.
24072         (dlmopen_doit): Do not use INTUSE with _dl_argv.
24073         (dl_main): Likewise.
24074         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24075         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
24076         instead of _dl_argv_internal.
24077         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24078         __GI__dl_argv instead of INTUSE(_dl_argv).
24079         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
24080         __GI__dl_argv instead of _dl_argv_internal.
24082         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
24083         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
24084         macro.
24085         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
24086         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
24087         New macro.
24088         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
24089         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
24090         macro.
24091         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
24092         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
24094 2014-11-04  Andreas Schwab  <schwab@suse.de>
24096         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
24098 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24100         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
24101         mtvsrd instruction in binary form.
24103 2014-11-03  Andreas Schwab  <schwab@suse.de>
24105         [BZ #17522]
24106         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
24107         for less than MB_LEN_MAX use a local buffer of that size.
24108         * libio/tst-fputws.c: New file.
24109         * libio/Makefile (tests): Add tst-fputws.
24111 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
24113         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
24114         the size of the fpu_fr.fpu_dregs[] array.
24116 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
24118         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
24119         (__nanosleep): Do not define as alias.
24120         (nanosleep): Define as alias of __nanosleep.
24121         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
24122         __libc_nanosleep name.
24124 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24126         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
24127         install.texi in comment.
24129 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24131         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
24132         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
24133         ... add here and use lwsync or sync ...
24134         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
24135         ... and add here using lwsync.
24137 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24139         * elf/dl-machine-reject-phdr.h: New file.
24140         * elf/dl-load.c: #include that.
24141         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
24142         if that returned true.
24144 2014-10-31  Roland McGrath  <roland@hack.frob.com>
24146         [BZ #17496]
24147         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
24148         gen-as-const-headers chunk.  Add a big scare comment after the last
24149         safe place to touch before-compile.
24151 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24153         * manual/install.texi (Tools for Compilation): Update autoconf
24154         version requirements.
24155         * INSTALL: Regenerated.
24157         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
24158         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
24159         (__libc_pselect): Likewise.
24161         [BZ #14138]
24162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
24163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24167 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24169         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
24170         correct barrier instruction.
24171         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
24172         Likewise.
24173         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
24174         Likewise.
24176 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24178         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
24179         after defining inlines.  Instead, just use parens to defeat macro
24180         expansion of __isctype in its declaration.
24182 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24184         * include/sys/uio.h (__libc_readv): Remove declaration.
24185         (__libc_writev): Likewise.
24186         * misc/readv.c (__libc_readv): Rename to __readv.
24187         (__readv): Do not define as alias.
24188         (readv): Define as alias of __readv.
24189         * misc/writev.c (__libc_writev): Rename to __writev.
24190         (__writev): Do not define as alias.
24191         (writev): Define as alias of __writev.
24192         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
24193         (__readv): Do not define as alias.
24194         (readv): Define unconditionally as alias of __readv.
24195         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
24196         (__writev): Do not define as alias.
24197         (writev): Define unconditionally as alias of __writev.
24198         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
24199         name.
24200         (writev): Do not define __libc_writev name.
24202 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24204         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
24205         (convert_charseq): New function, broken out of ...
24206         (use_from_charmap): ... here.  Call it.
24207         (use_to_charmap): Use convert_charseq and free instead of duplicating
24208         its code with a variable-length stack struct.
24210 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24212         * include/fcntl.h (__libc_creat): Remove declaration.
24213         * io/creat.c (__libc_creat): Rename to creat.
24214         (creat): Do not define as alias.
24215         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
24216         of creat instead of __libc_creat.
24217         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
24218         to creat.
24219         (creat): Do not define as alias.
24220         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
24221         __libc_creat.
24222         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
24223         __libc_creat name.
24224         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
24225         Likewise.
24227 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
24229         * manual/llio.texi: Add comments discussing why write() may be
24230         considered MT-unsafe on Linux.
24232 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
24234         * dl-load.c (local_strdup): Remove.
24235         (expand_dynamic_string_token): Use __strdup.
24236         (decompose_rpath): Likewise.
24237         (_dl_map_object): Likewise.
24239 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
24241         [BZ #14132]
24242         * sysdeps/generic/unwind-dw2-fde.c
24243         (__register_frame_info_bases_internal): Do not declare.
24244         (__register_frame_info_table_bases_internal): Likewise.
24245         (__deregister_frame_info_bases_internal): Likewise.
24246         (__register_frame_info_bases): Declare and use hidden_proto before
24247         definition.  Use hidden_def instead of INTDEF.
24248         (__register_frame_info_table_bases): Likewise.
24249         (__deregister_frame_info_bases): Likewise.
24250         (__register_frame_info): Do not use INTUSE.
24251         (__register_frame): Likewise.
24252         (__register_frame_info_table): Likewise.
24253         (__register_frame_table): Likewise.
24254         (__deregister_frame_info): Likewise.
24255         (__deregister_frame): Likewise.
24257 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
24259         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24260         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
24261         not undefine.
24262         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
24263         Likewise.
24264         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
24265         Likewise.
24267 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
24269         [BZ #14138]
24270         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
24271         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
24272         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
24273         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
24274         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
24275         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
24276         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
24277         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
24278         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
24279         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
24280         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
24281         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
24282         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
24283         syscall.
24284         (setfsuid): Likewise.
24285         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
24286         (setfsuid): Likewise.
24287         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
24288         (setfsuid): Likewise.
24289         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
24290         Likewise.
24291         (setfsuid): Likewise.
24292         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
24293         (setfsuid): Likewise.
24294         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
24295         Likewise.
24296         (setfsuid): Likewise.
24298 2014-10-27  Andreas Schwab  <schwab@suse.de>
24300         [BZ #17501]
24301         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
24302         check for Slow_SSE4_2 feature bit.
24303         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
24304         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24305         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
24306         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
24308 2014-10-24  Roland McGrath  <roland@hack.frob.com>
24310         * configure.ac: Validate compiler version with a empirical test of
24311         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
24312         $CC -v output.
24313         * configure: Regenerated.
24315         * inet/htons.c (htons): Prototypify.
24316         * inet/htonl.c (htonl): Likewise.
24318 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24320         * string/strncat.c (strncat): Improve performance by using strlen.
24322 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24324         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
24326 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24328         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
24329         Call libc_fetestexcept_aarch64.
24331 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24333         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
24334         Call libc_feholdexcept_aarch64.
24336 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24338         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
24339         Call get_rounding_mode.
24341 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24343         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24344         Simplify logic.
24346 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24348         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
24349         Simplify logic.
24351 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
24353         [BZ #14138]
24354         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
24355         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
24356         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
24357         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
24358         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
24359         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
24360         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
24361         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
24362         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
24363         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
24364         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24365         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
24366         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
24367         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
24368         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
24369         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
24370         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
24371         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
24372         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
24373         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
24374         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
24375         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
24376         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
24377         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
24378         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
24379         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
24380         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
24381         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
24382         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
24383         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
24384         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
24385         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
24386         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
24387         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
24388         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
24389         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
24390         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
24391         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
24392         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
24393         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
24394         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
24395         syscall.
24396         (geteuid): Likewise.
24397         (getgid): Likewise.
24398         (getuid): Likewise.
24399         (getresgid): Likewise.
24400         (getresuid): Likewise.
24401         (getgroups): Likewise.
24402         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
24403         (geteuid): Likewise.
24404         (getgid): Likewise.
24405         (getuid): Likewise.
24406         (getresgid): Likewise.
24407         (getresuid): Likewise.
24408         (getgroups): Likewise.
24409         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
24410         (geteuid): Likewise.
24411         (getgid): Likewise.
24412         (getuid): Likewise.
24413         (getresgid): Likewise.
24414         (getresuid): Likewise.
24415         (getgroups): Likewise.
24416         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
24417         Likewise.
24418         (geteuid): Likewise.
24419         (getgid): Likewise.
24420         (getuid): Likewise.
24421         (getresgid): Likewise.
24422         (getresuid): Likewise.
24423         (getgroups): Likewise.
24424         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
24425         (geteuid): Likewise.
24426         (getgid): Likewise.
24427         (getuid): Likewise.
24428         (getresgid): Likewise.
24429         (getresuid): Likewise.
24430         (getgroups): Likewise.
24431         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
24432         Likewise.
24433         (geteuid): Likewise.
24434         (getgid): Likewise.
24435         (getuid): Likewise.
24436         (getgroups): Likewise.
24438         [BZ #14138]
24439         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
24440         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
24441         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
24442         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24443         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
24444         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
24445         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
24446         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
24447         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
24448         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
24449         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
24450         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
24451         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
24452         __chown.
24453         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
24454         (lchown): Likewise.
24455         (fchown): Likewise.
24456         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
24457         Likewise.
24458         (lchown): Likewise.
24459         (fchown): Likewise.
24460         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
24461         (lchown): Likewise.
24462         (fchown): Likewise.
24463         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
24464         Likewise.
24465         (lchown): Likewise.
24466         (fchown): Likewise.
24468 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24470         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
24471         Simplify logic.
24473 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24475         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
24476         Cleanup logic.
24478 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24480         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
24481         Remove unused include.
24483 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24485         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
24486         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
24487         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
24488         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
24490 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
24491             Helge Deller <deller@gmx.de>
24493         [BZ #17508]
24494         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
24495         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
24496         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
24498 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
24500         [BZ #14132]
24501         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
24502         Remove macro definition.
24503         (__ashrdi3_v_glibc20): Likewise.
24504         (__lshrdi3_v_glibc20): Likewise.
24505         (__cmpdi2_v_glibc20): Likewise.
24506         (__ucmpdi2_v_glibc20): Likewise.
24507         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
24508         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24509         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24510         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24511         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24512         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
24514 2014-10-22  Roland McGrath  <roland@hack.frob.com>
24516         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
24517         old GNU extension [0] syntax.
24518         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
24519         alloca rather than an array member with variable length.
24520         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
24521         * nscd/nscd.c (invalidate_db): New function, broken out of ...
24522         (parse_opt): ... here.  Likewise use alloca there.
24523         Validate the -i argument before checking for rootness.
24524         (send_shutdown): New function, broken out of ...
24525         (parse_opt): ... here.
24527 2014-10-22  Roland McGrath  <roland@hack.frob.com>
24529         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
24530         macro to get at the _rt_local_ro field.
24531         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
24532         ([PIC] case) or _dl_hwcap ([!PIC] case).
24533         * sysdeps/arm/setjmp.S: Likewise.
24535         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
24536         * sysdeps/arm/configure.ac: New check to define it.
24537         * sysdeps/arm/configure: Regenerated.
24538         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
24539         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
24540         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
24541         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
24542         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
24543         Use move/movt pair instead of a load.
24544         (LDST_GLOBAL): Macro removed.
24545         (LDR_GLOBAL): New macro replaces it.
24546         (LDR_HIDDEN): New macro.
24547         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
24548         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
24550         * setjmp/tst-setjmp-static.c: New file.
24551         * setjmp/Makefile (tests): Add it.
24552         (tests-static): New variable.
24554 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
24556         [BZ #17485]
24557         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
24559 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
24561         [BZ #14132]
24562         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
24564 2014-10-21  Roland McGrath  <roland@hack.frob.com>
24566         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
24568 2014-10-20  Roland McGrath  <roland@hack.frob.com>
24570         * io/fts.c (dirent_not_directory): New function.
24571         (fts_build): Call it.
24573 2014-10-20  Roland McGrath  <roland@hack.frob.com>
24575         * nptl/version.c (__nptl_main): Use normal __write rather than
24576         INTERNAL_SYSCALL.
24577         (banner): Update copyright years.
24579         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
24580         gettimeofday.
24581         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
24582         * nptl/pthread_cond_timedwait.c: Likewise.
24583         * nptl/pthread_mutex_timedlock.c: Likewise.
24584         * nptl/sem_timedwait.c: Likewise.
24586         * sysdeps/nptl/bits/libc-lock.h
24587         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
24588         (__libc_lock_init_recursive): Return void, not 0.
24589         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
24590         (__libc_rwlock_init): Likewise.
24591         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
24593 2014-10-20  Torvald Riegel  <triegel@redhat.com>
24595         [BZ #15215]
24596         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
24597         (__pthread_once_slow): ... here.
24598         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
24599         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
24601 2014-10-20  Torvald Riegel  <triegel@redhat.com>
24603         [BZ #15215]
24604         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
24605         __PTHREAD_ONCE_FORK_GEN_INCR): New.
24606         * sysdeps/nptl/fork.c (__libc_fork): Use them.
24607         * nptl/pthread_once.c (__pthread_once): Likewise.
24608         Update comments.
24610 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
24612         [BZ #14138]
24613         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
24614         name.
24615         (writev): Use __libc_writev as strong name.
24616         * sysdeps/unix/sysv/linux/readv.c: Remove file.
24617         * sysdeps/unix/sysv/linux/writev.c: Likewise.
24619 2014-10-17  Roland McGrath  <roland@hack.frob.com>
24621         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
24623         * sysdeps/i386/nptl/tls.h
24624         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
24625         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
24626         New macros.
24627         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
24628         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
24629         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
24630         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
24631         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
24632         Call CHECK_THREAD_SYSINFO instead of doing an assert.
24634         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24635         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
24636         on [__NR_futex].
24637         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
24638         broken out of ...
24639         (__pthread_mutex_init): ... here.  Call it.
24640         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
24641         Conditionalize PI cases on [__NR_futex].
24642         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
24643         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
24644         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
24646         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
24647         conditional on [SIGSETXID].
24648         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
24649         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
24650         is defined.  Likewise for SIGSETXID.
24651         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
24652         Conditionalize definitions on [SIGSETXID].
24653         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
24654         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
24655         unblocking on [SIGCANCEL].
24657         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
24658         [__NR_set_robust_list].
24660 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24662         * string/strcoll_l.c (get_next_seq): Fix up formatting.
24663         (do_compare): Likewise.
24665 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
24667         [BZ #15884]
24668         * string/strcoll_l.c: Don't include stdio.h.
24669         (coll_seq): Remove members idxarr and rulearr.
24670         (get_next_seq_cached): Remove function.
24671         (get_next_seq): Likewise.
24672         (get_next_seq_nocache): Rename to get_next_seq.
24673         (do_compare): Remove function.
24674         (do_compare_nocache): Rename to do_compare.
24675         (STRCOLL): Remove weight and rules cache.
24677 2014-10-16  Roland McGrath  <roland@hack.frob.com>
24679         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
24680         * sysdeps/arm/sfp-machine.h: ... to here.
24681         * sysdeps/arm/Implies: Remove arm/soft-fp.
24683 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
24685         * conform/data/sys/utsname.h-data (*_t): Allow.
24686         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
24687         [POSIX] (WEXITED): Do not expect constant.
24688         [POSIX] (WSTOPPED): Likewise.
24689         [POSIX] (WNOHANG): Likewise.
24690         [POSIX] (WNOWAIT): Likewise.
24691         [POSIX] (siginfo_t): Do not expect type or elements.
24692         [POSIX] (pid_t): Do not expect type.
24693         [POSIX] (signal.h): Do not allow header.
24694         [POSIX] (sys/resource.h): Likewise.
24695         [POSIX] (si_*): Do not allow pattern.
24696         [POSIX] (W*): Likewise.
24697         [POSIX] (P_*): Likewise.
24698         [POSIX] (BUS_*): Likewise.
24699         [POSIX] (CLD_*): Likewise.
24700         [POSIX] (FPE_*): Likewise.
24701         [POSIX] (ILL_*): Likewise.
24702         [POSIX] (POLL_*): Likewise.
24703         [POSIX] (SEGV_*): Likewise.
24704         [POSIX] (SI_*): Likewise.
24705         [POSIX] (TRAP_*): Likewise.
24706         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
24707         variable.
24709 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
24711         [BZ #12926]
24712         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
24713         infinite loop when __recvmsg returns 0.
24715 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
24717         * CANCEL-FCT-WAIVE: Remove file.
24718         * CANCEL-FILE-WAIVE: Likewise.
24720         [BZ #14132]
24721         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
24722         instead of INTVARDEF.
24723         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
24724         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
24725         rtld_hidden_data_def instead of INTVARDEF.
24726         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
24727         * elf/dl-deps.c (expand_dst): Likewise.
24728         * elf/dl-load.c (_dl_dst_count): Likewise.
24729         (_dl_dst_substitute): Likewise.
24730         (decompose_rpath): Likewise.
24731         (_dl_init_paths): Likewise.
24732         (open_path): Likewise.
24733         (_dl_map_object): Likewise.
24734         * elf/rtld.c (dl_main): Likewise.
24735         (process_dl_audit): Likewise.
24736         (process_envvars): Likewise.
24737         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
24738         Remove declaration.
24739         (__libc_enable_secure): Use rtld_hidden_proto.
24741 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24743         * elf/dl-load.c
24744         (add_path): New function broken out of _dl_rtld_di_serinfo.
24745         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
24747 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
24749         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
24750         parentheses around macro arguments.
24751         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
24752         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
24753         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
24754         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
24755         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
24756         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
24757         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
24758         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
24759         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
24760         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
24761         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
24762         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
24763         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
24764         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
24765         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
24766         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
24767         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
24768         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
24769         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
24770         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
24771         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
24772         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
24773         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
24774         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
24775         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
24776         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
24777         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
24778         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
24779         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
24780         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
24781         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
24782         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
24783         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
24784         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
24785         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
24786         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
24787         Likewise.
24788         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
24789         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24790         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24791         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
24792         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
24793         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
24794         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
24795         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
24796         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
24797         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
24798         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
24799         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
24800         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
24801         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
24802         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
24803         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24804         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24805         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
24806         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
24807         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
24808         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
24809         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
24810         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
24811         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
24812         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
24813         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
24814         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
24815         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
24816         (_FP_FRAC_SRS_1): Likewise.
24817         (_FP_FRAC_CLZ_1): Likewise.
24818         (_FP_MUL_MEAT_1_imm): Likewise.
24819         (_FP_MUL_MEAT_1_wide): Likewise.
24820         (_FP_MUL_MEAT_1_hard): Likewise.
24821         (_FP_SQRT_MEAT_1): Likewise.
24822         (_FP_FRAC_ASSEMBLE_1): Likewise.
24823         (_FP_FRAC_DISASSEMBLE_1): Likewise.
24824         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
24825         (__FP_CLZ_2): Likewise.
24826         (_FP_MUL_MEAT_2_wide): Likewise.
24827         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
24828         (_FP_MUL_MEAT_2_gmp): Likewise.
24829         (_FP_MUL_MEAT_2_120_240_double): Likewise.
24830         (_FP_SQRT_MEAT_2): Likewise.
24831         (_FP_FRAC_ASSEMBLE_2): Likewise.
24832         (_FP_FRAC_DISASSEMBLE_2): Likewise.
24833         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
24834         (_FP_FRAC_CLZ_4): Likewise.
24835         (_FP_MUL_MEAT_4_wide): Likewise.
24836         (_FP_MUL_MEAT_4_gmp): Likewise.
24837         (_FP_SQRT_MEAT_4): Likewise.
24838         (_FP_FRAC_ASSEMBLE_4): Likewise.
24839         (_FP_FRAC_DISASSEMBLE_4): Likewise.
24840         * soft-fp/op-common.h (_FP_CMP): Likewise.
24841         (_FP_CMP_EQ): Likewise.
24842         (_FP_CMP_UNORD): Likewise.
24843         (_FP_TO_INT): Likewise.
24844         (_FP_FROM_INT): Likewise.
24845         [!__FP_CLZ] (__FP_CLZ): Likewise.
24846         (_FP_DIV_HELP_imm): Likewise.
24847         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
24848         Likewise.
24849         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
24850         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
24851         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
24852         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
24853         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
24854         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
24855         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
24856         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
24857         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
24858         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
24859         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
24860         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
24861         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
24862         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
24863         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
24864         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
24865         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
24866         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
24867         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
24868         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
24869         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
24870         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
24871         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
24872         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
24873         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
24874         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
24875         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
24876         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
24877         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
24878         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
24879         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
24880         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
24881         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
24882         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
24883         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
24884         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
24885         (FP_UNPACK_RAW_SP): Likewise.
24886         (FP_PACK_RAW_S): Likewise.
24887         (FP_PACK_RAW_SP): Likewise.
24888         (FP_UNPACK_S): Likewise.
24889         (FP_UNPACK_SP): Likewise.
24890         (FP_UNPACK_SEMIRAW_S): Likewise.
24891         (FP_UNPACK_SEMIRAW_SP): Likewise.
24892         (FP_PACK_S): Likewise.
24893         (FP_PACK_SP): Likewise.
24894         (FP_PACK_SEMIRAW_S): Likewise.
24895         (FP_PACK_SEMIRAW_SP): Likewise.
24896         (_FP_SQRT_MEAT_S): Likewise.
24897         (FP_CMP_S): Likewise.
24898         (FP_CMP_EQ_S): Likewise.
24899         (FP_CMP_UNORD_S): Likewise.
24900         (FP_TO_INT_S): Likewise.
24901         (FP_FROM_INT_S): Likewise.
24903         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
24905         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
24906         (FP_EX_INVALID_IMZ): Likewise.
24907         (FP_EX_INVALID_IMZ_FMA): Likewise.
24908         (FP_EX_INVALID_ISI): Likewise.
24909         (FP_EX_INVALID_ZDZ): Likewise.
24910         (FP_EX_INVALID_IDI): Likewise.
24911         (FP_EX_INVALID_SQRT): Likewise.
24912         (FP_EX_INVALID_CVI): Likewise.
24913         (FP_EX_INVALID_VC): Likewise.
24914         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
24915         "invalid" exceptions.
24916         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
24917         (_FP_ADD_INTERNAL): Likewise.
24918         (_FP_MUL): Likewise.
24919         (_FP_FMA): Likewise.
24920         (_FP_DIV): Likewise.
24921         (_FP_CMP_CHECK_NAN): Likewise.
24922         (_FP_SQRT): Likewise.
24923         (_FP_TO_INT): Likewise.
24924         (FP_EXTEND): Likewise.
24926 2014-10-09  Allan McRae  <allan@archlinux.org>
24928         * po/fr.po: Update French translation from translation project.
24930 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
24932         [BZ #14132]
24933         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
24934         of INTDEF.
24935         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
24936         (__cxa_atexit): Use libc_hidden_proto.
24937         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
24939         [BZ #14132]
24940         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
24941         declaration.
24942         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
24943         [!_ISOMAC] (__iswspace_l_internal): Likewise.
24944         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
24945         [!_ISOMAC] (__iswctype_internal): Likewise.
24946         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
24947         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
24948         alias.
24949         (fcntl): Remove __fcntl_internal alias.
24950         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
24951         __connect_internal alias.
24952         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
24953         Likewise.
24955         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
24956         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
24957         FP_DENORM_ZERO.
24958         (_FP_CHECK_FLUSH_ZERO): New macro.
24959         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
24960         (_FP_CMP): Likewise.
24961         (_FP_CMP_EQ): Likewise.
24962         (_FP_TO_INT): Do not set inexact for subnormal arguments if
24963         FP_DENORM_ZERO.
24964         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
24965         (FP_TRUNC): Likewise.
24967         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
24968         treated as invalid conversion, not as normal exponent.
24970         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
24971         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
24972         (_FP_CMP_EQ): Likewise.
24973         (_FP_CMP_UNORD): Likewise.
24974         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
24975         (FP_CMP_EQ_D): Likewise.
24976         (FP_CMP_UNORD_D): Likewise.
24977         * soft-fp/extended.h (FP_CMP_E): Likewise.
24978         (FP_CMP_EQ_E): Likewise.
24979         (FP_CMP_UNORD_E): Likewise.
24980         * soft-fp/quad.h (FP_CMP_Q): Likewise.
24981         (FP_CMP_EQ_Q): Likewise.
24982         (FP_CMP_UNORD_Q): Likewise.
24983         * soft-fp/single.h (FP_CMP_S): Likewise.
24984         (FP_CMP_EQ_S): Likewise.
24985         (FP_CMP_UNORD_S): Likewise.
24986         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
24987         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
24988         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
24989         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
24990         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
24991         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
24992         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
24993         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
24994         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
24995         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
24996         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
24997         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
24998         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
24999         to FP_CMP_Q.
25000         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
25001         FP_CMP_Q.
25002         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
25003         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
25004         FP_CMP_EQ_Q.
25005         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
25006         FP_CMP_Q.
25007         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
25008         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
25009         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
25010         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
25011         FP_CMP_EQ_Q.
25012         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
25013         FP_CMP_Q.
25014         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
25015         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
25016         FP_CMP_EQ_Q.
25017         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
25018         FP_CMP_Q.
25019         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
25020         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
25021         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
25022         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
25023         FP_CMP_EQ_Q.
25025         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
25026         a subnormal result, set the underflow exception if trapping on
25027         underflow is enabled.
25028         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
25029         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
25030         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
25031         redefine to 0.
25032         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
25033         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
25034         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
25035         * soft-fp/extendxftf2.c (__extendxftf2): Use
25036         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
25038         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
25039         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
25040         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25041         FP_HANDLE_EXCEPTIONS.
25042         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
25043         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25044         FP_HANDLE_EXCEPTIONS.
25045         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
25046         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25047         FP_HANDLE_EXCEPTIONS.
25048         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
25049         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25050         FP_HANDLE_EXCEPTIONS.
25052 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
25054         [BZ #14132]
25055         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
25056         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
25057         use INTUSE.
25058         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
25059         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
25060         Remove alias.
25061         (__adjtimex): Define using libc_hidden_ver.
25062         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
25063         Remove declaration.
25064         (ntp_gettime): Call __adjtimex directly.
25065         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
25066         Remove declaration.
25067         (ntp_gettimex): Call __adjtimex directly.
25068         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
25069         __adjtimex_internal alias.
25071 2014-10-08  Roland McGrath  <roland@hack.frob.com>
25073         [BZ #17460]
25074         * nscd/nscd.c (more_help): Rewrite list of tables collection
25075         using xstrdup and asprintf.
25077         * nscd/nscd_conf.c: Remove local xstrdup declaration.
25079 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25080             Roland McGrath  <roland@hack.frob.com>
25082         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
25083         (do_lookup_unique): ... local function 'enter' here; update callers.
25085 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
25087         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
25088         compat_symbol calls on [SHARED].
25089         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
25090         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
25091         Remove.
25092         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25093         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
25094         (oldsetrlimit): Remove.
25095         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25097         (lchown): New syscall entry.
25098         (oldsetrlimit): Remove.
25099         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25100         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
25101         (oldsetrlimit): Remove.
25102         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25104         [BZ #14138]
25105         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
25106         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
25107         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
25108         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
25109         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25110         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
25111         (fchown): Likewise.
25112         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
25113         (fchown): Likewise.
25114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
25115         Likewise.
25117 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25119         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
25120         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
25121         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
25122         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
25123         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
25124         Likewise.
25125         (__old_sem_post): Likewise.
25127 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
25129         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
25130         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
25131         HAVE_CLOCK_GETTIME_VSYSCALL macros.
25132         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
25133         Use INLINE_VSYSCALL macro.
25134         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
25135         __vdso_clock_gettime.
25136         * sysdeps/unix/sysv/linux/tile/init-first.c
25137         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
25138         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
25139         __vdso_clock_gettime.
25141         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
25142         to set up frame more cleanly.
25144         * sysdeps/tile/memcmp.c: New file.
25146         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
25148         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
25149         * sysdeps/tile/tilegx/strcasestr.c: New file.
25150         * sysdeps/tile/tilegx/strnlen.c: New file.
25151         * sysdeps/tile/tilegx/strstr.c: New file.
25153         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
25155 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
25157         * nptl/tst-setuid3.c: Write errors to stdout.
25159 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25161         * elf/dl-deps.c
25162         (preload): New functions broken out of _dl_map_object_deps.
25163         (_dl_map_object_deps):  Remove a nested function. Update call sites.
25165 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
25167         [BZ #14138]
25168         * sysdeps/unix/sysv/linux/execve.c: Remove file.
25169         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
25171 2014-10-01  Steve Ellcey  <sellcey@mips.com>
25173         * sysdeps/mips/strcmp.S: New.
25175 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
25177         [BZ #14138]
25178         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
25179         (linkat): Likewise.
25180         (mkdirat): Likewise.
25181         (readlinkat): Likewise.
25182         (renameat): Likewise.
25183         (symlinkat): Likewise.
25184         (unlinkat): Likewise.
25185         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
25186         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
25187         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
25188         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
25189         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
25190         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
25191         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
25193 2014-09-30  Will Newton  <will.newton@linaro.org>
25195         * math/math.h: Define long double math functions if
25196         _LIBC_TEST is defined.
25197         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
25199         * localedata/Makefile: Move assignment to tests-special
25200         into an ifdef testing run-built-tests.
25201         * timezone/Makefile: Likewise.
25203 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
25205         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
25206         with $(BASH) not $(SHELL).
25208 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
25209             Matthew LeGendre  <legendre1@llnl.gov>
25211         [BZ #17411]
25212         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
25213         l_reloc_result.
25215 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25217         * stdio-common/printf_fp.c
25218         (hack_digit): New function, broken out of ...
25219         (__printf_fp): ... local function here.  Update call sites.
25220         hack_digit now takes an additional parameter that is a pointer
25221         to a struct of the referenced locals.  Those locals moved inside
25222         the struct and references updated.
25224 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
25226         * aclocal.m4: Require autoconf 2.69.
25227         * configure: Regenerated.
25228         * sysdeps/aarch64/configure: Likewise.
25229         * sysdeps/alpha/configure: Likewise.
25230         * sysdeps/arm/armv7/configure: Likewise.
25231         * sysdeps/arm/configure: Likewise.
25232         * sysdeps/ia64/configure: Likewise.
25233         * sysdeps/mach/configure: Likewise.
25234         * sysdeps/mips/configure: Likewise.
25235         * sysdeps/s390/configure: Likewise.
25236         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
25237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
25239         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
25240         file.
25241         * sysdeps/ia64/configure.ac: Likewise.
25243 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
25245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
25246         specify symbol version for ld.so.  Do not include entry for
25247         libpthread.
25248         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25249         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
25250         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25252         [BZ #14171]
25253         * Makeconfig [$(build-shared) = yes]
25254         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
25255         makefiles.
25256         [$(build-shared) = yes && $(soversions.mk-done) = t]
25257         ($(common-objpfx)gnu/lib-names.h): Remove rule.
25258         [$(build-shared) = yes && $(soversions.mk-done) = t]
25259         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
25260         to Makerules.
25261         [$(build-shared) = yes && $(soversions.mk-done) = t]
25262         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
25263         here.
25264         [$(build-shared) = yes && $(soversions.mk-done) = t]
25265         (common-generated): Don't append gnu/lib-names.h and
25266         gnu/lib-names.stmp here.
25267         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
25268         (lib-names-h-abi): New variable.
25269         [$(build-shared) = yes && $(soversions.mk-done) = t]
25270         (lib-names-stmp-abi): Likewise.
25271         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25272         abi-variants] (before-compile): Append
25273         $(common-objpfx)$(lib-names-h-abi).
25274         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25275         abi-variants] (common-generated): Append gnu/lib-names.h.
25276         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25277         abi-variants] (install-others-nosubdir): Depend on
25278         $(inst_includedir)/$(lib-names-h-abi).
25279         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25280         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
25281         [$(build-shared) = yes && $(soversions.mk-done) = t]
25282         ($(common-objpfx)$(lib-names-h-abi)): New rule.
25283         [$(build-shared) = yes && $(soversions.mk-done) = t]
25284         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
25285         [$(build-shared) = yes && $(soversions.mk-done) = t]
25286         (common-generated): Append $(lib-names-h-abi) and
25287         $(lib-names-stmp-abi).
25288         * scripts/lib-names.awk: Do not handle multi being set.
25289         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
25290         Remove variable.
25291         (abi-lp64_be-ld-soname): Likewise.
25292         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
25293         Likewise.
25294         (abi-hard-ld-soname): Likewise.
25295         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
25296         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
25297         Remove variable.
25298         (abi-o32_hard-ld-soname): Likewise.
25299         (abi-o32_soft_2008-ld-soname): Likewise.
25300         (abi-o32_hard_2008-ld-soname): Likewise.
25301         (abi-n32_soft-ld-soname): Likewise.
25302         (abi-n32_hard-ld-soname): Likewise.
25303         (abi-n32_soft_2008-ld-soname): Likewise.
25304         (abi-n32_hard_2008-ld-soname): Likewise.
25305         (abi-n64_soft-ld-soname): Likewise.
25306         (abi-n64_hard-ld-soname): Likewise.
25307         (abi-n64_soft_2008-ld-soname): Likewise.
25308         (abi-n64_hard_2008-ld-soname): Likewise.
25309         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
25310         Likewise.
25311         (abi-64-v2-ld-soname): Likewise.
25312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
25313         ld.so entries.
25314         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
25315         variable.
25316         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
25317         entry.
25318         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
25319         variable.
25320         (abi-64-ld-soname): Likewise.
25321         (abi-x32-ld-soname): Likewise.
25322         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
25323         entry.
25324         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25326 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
25328         [BZ #14138]
25329         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
25330         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
25331         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
25332         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
25333         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
25334         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
25335         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
25336         syscall entry for GLIBC_2.2 symbol version.
25337         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
25338         Likewise.
25339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25340         (setrlimit): Likewise.
25341         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
25342         Likewise.
25344 2014-09-23  Will Newton  <will.newton@linaro.org>
25346         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
25347         _LINUX_ARM_SYSDEP_H include guard too.
25348         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
25349         define.
25351 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25353         * sysdeps/unix/sysv/linux/eventfd.c:
25354         Make first argument unsigned.
25355         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
25356         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
25358 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
25360         [BZ #16852]
25361         * socket/recvmmsg.c (recvmmsg): Drop const argument.
25362         * socket/sys/socket.h: Likewise.
25363         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
25365 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25367         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
25369 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
25371         * time/tst-ftime.c: New test.
25372         * time/Makefile (tests): Add tst-ftime.
25374 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
25376         * soft-fp/extended.h: Fix comment formatting.
25377         * soft-fp/op-1.h: Likewise.
25378         * soft-fp/op-2.h: Likewise.
25379         * soft-fp/op-4.h: Likewise.
25380         * soft-fp/op-8.h: Likewise.
25381         * soft-fp/op-common.h: Likewise.
25382         * soft-fp/soft-fp.h: Likewise.
25384         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
25386 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
25388         [BZ #6652]
25389         * Makeconfig (soversions-default-setname): Remove variable.
25390         ($(common-objpfx)soversions.i): Don't pass default_setname to
25391         soversions.awk.
25392         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
25393         oldest_abi to abi-versions.awk.
25394         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
25395         * config.make.in (oldest-abi): Remove variable.
25396         * configure.ac (--enable-oldest-abi): Remove configure option.
25397         * configure: Regenerated.
25398         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
25399         text.
25400         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
25401         * scripts/soversions.awk: Do not handle default_setname variable.
25402         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
25403         variable.
25404         * sysdeps/mach/hurd/configure: Regenerated.
25405         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
25406         variable.
25407         * sysdeps/unix/sysv/linux/configure: Regenerated.
25409 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25411         * elf/Makefile (CFLAGS-interp.c): Remove.
25412         ($(elf-objpfx)runtime-linker.h): Generate header with linker
25413         path string.
25414         * elf/interp.c: Include generated runtime-linker.h
25416         * Makerules (lib%.so): Don't include $(+interp) in
25417         prerequisites.
25418         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
25419         * dlfcn/eval.c: Remove file.
25421         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
25422         macros.
25424         [BZ #17266]
25425         * misc/sys/cdefs.h: Define __extern_always_inline for clang
25426         4.2 and newer.
25428         [BZ #17370]
25429         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
25431 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25432             Jakub Jelinek  <jakub@redhat.com>
25434         [BZ #17266]
25435         * libio/stdio.h: Check definition of __fortify_function
25436         instead of __extern_always_inline to include bits/stdio2.h.
25437         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
25438         check if __extern_always_inline is defined.
25439         [__USE_MISC || __USE_XOPEN]: Likewise.
25440         [__USE_ISOC99] Likewise.
25441         * misc/sys/cdefs.h (__fortify_function): Define only if
25442         __extern_always_inline is defined.
25443         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
25444         __extern_always_inline and __extern_inline only for g++-4.3
25445         and newer or a compatible gcc.
25447 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
25449         [BZ #17371]
25450         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
25451         last change to handle zero prefix length.
25453 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25455         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
25456         _SC_REGEX_VERSION.
25458         * posix/getconf.c (vars): Add _POSIX_IPV6 and
25459         _POSIX_RAW_SOCKETS.
25461 2014-09-13  Allan McRae  <allan@archlinux.org>
25463         * po/ru.po: Update Russian translation from translation project.
25465 2014-09-12  Roland McGrath  <roland@hack.frob.com>
25467         * locale/programs/locale.c (show_locale_vars): Inline local function
25468         into its sole call site.  Clean up some style nits.
25469         (print_item): New function, broken out of ...
25470         (show_info): ... local function here.  Clean up style nits.
25472         * locale/programs/ld-ctype.c (set_one_default): New function, broken
25473         out of ...
25474         (set_class_defaults): ... local function set_default here.
25475         Define set_default as a macro locally to pass constant parameters.
25476         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
25477         rather than a shared local.
25479         * stdlib/rpmatch.c (try): New function, broken out of ...
25480         (rpmatch): ... local function here.  Also, prototypify definition.
25482 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
25484         * scripts/soversions.awk: Do not handle configuration names.
25485         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
25486         vendor and os variables to soversions.awk.
25487         * configure.ac: Do not modify gnu-* host_os.
25488         * configure: Regenerated
25489         * shlib-versions: Remove first column with configuration names.
25490         * nptl/shlib-versions: Likewise.
25491         * nptl_db/shlib-versions: Likewise.
25492         * sysdeps/hppa/shlib-versions: Likewise.
25493         * sysdeps/m68k/shlib-versions: Likewise.
25494         * sysdeps/mach/hurd/shlib-versions: Likewise.
25495         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
25496         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
25497         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
25498         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
25499         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
25500         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
25501         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
25502         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
25503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
25504         Likewise.
25505         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25506         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
25507         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
25508         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
25509         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
25510         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
25511         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
25512         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
25515         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
25516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
25517         Regenerated.
25518         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
25519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
25520         Condition symbol version definitions on [HAVE_ELFV2_ABI].
25522         * shlib-versions: Remove OS-specific entries.  Moved to files in
25523         sysdeps.
25524         * sysdeps/mach/hurd/shlib-versions: New file.
25525         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
25527         * nptl/shlib-versions: Remove architecture-specific entries.
25528         Moved to files in sysdeps.
25529         * shlib-versions: Likewise.
25530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
25531         file.
25532         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25533         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
25534         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
25535         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
25537         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
25538         (UDP_NO_CHECK6_RX): Likewise.
25540 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25542         * sysdeps/posix/sysconf.c (__sysconf): Spell
25543         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
25545 2014-08-12  Florian Weimer  <fweimer@redhat.com>
25547         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
25548         loading.
25549         * iconv/Versions (__gconv_transliterate): Export for use from
25550         gconv modules.
25551         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
25552         (struct __gconv_trans_data, __gconv_trans_fct,
25553         __gconv_trans_context_fct, __gconv_trans_query_fct,
25554         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
25555         definitions.
25556         (struct __gconv_step_data): Remove __trans member.
25557         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
25558         longer hidden.  Remove unused trans_data argument.
25559         * iconv/gconv_int.h (struct trans_struct): Remove definition.
25560         (__gconv_translit_find): Remove declaration.
25561         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
25562         prototype.
25563         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
25564         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
25565         trans_data argument.  Add hidden definition.
25566         (__gconv_translit_find): Remove.
25567         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
25568         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
25569         * iconv/skeleton.c: Remove transliteration initialization.
25570         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
25571         __gconv_step_data initialization.
25572         * libio/iofwide.c (__libio_translit_): Remove.
25573         (_IO_fwide): Adjust struct __gconv_step_data initialization.
25574         * wcsmbs/btowc.c (__btowc): Likewise.
25575         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25576         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25577         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
25578         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
25579         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
25580         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
25581         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
25582         * wcsmbs/wctob.c (wctob): Likewise.
25584 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25586         [BZ #16194]
25587         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
25588         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
25589         register usage.
25590         * sysdeps/x86/Makefile: Adjust.
25592 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25593             Roland McGrath  <roland@hack.frob.com>
25595         * locale/weight.h: Add include guard.
25596         (findidx): Make static rather than auto; take new parameters
25597         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
25598         * locale/weightwc.h: Likewise.
25599         * posix/fnmatch_loop.c
25600         (FCT): Change type of EXTRA from int32_t to wint_t.
25601         Don't include either header inside the function.
25602         Call FINDIDX rather than findidx, and pass new arguments.
25603         #undef FINDIDX at the end of the file.
25604         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
25605         FINDIDX before including fnmatch_loop.c for the non-wide version.
25606         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
25607         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
25608         for the wide version.
25609         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
25610         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
25611         Pass new arguments to findidx.
25612         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
25613         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
25614         Don't #include it inside the function.  Pass new arguments to findidx.
25615         * posix/regex_internal.h
25616         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
25617         (re_string_elem_size_at): Don't #include it inside the function.
25618         Pass new arguments to findidx.
25619         * string/strcoll_l.c: #include WEIGHT_H at top level.
25620         (get_next_seq): Don't #include it inside the function.
25621         Pass new arguments to findidx.
25622         (get_next_seq_nocache): Likewise.
25623         * string/strxfrm_l.c: #include WEIGHT_H at top level.
25624         (STRXFRM): Don't #include it inside the function.
25625         Pass new arguments to findidx.
25627 2014-09-11  Florian Weimer  <fweimer@redhat.com>
25629         [BZ #17344]
25630         * malloc/malloc.c (unlink): Turn asserts into a call to
25631         malloc_printerr.
25633 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
25635         [BZ #17370]
25636         * libio/wfileops (do_ftell_wide): Free OUT.
25638 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
25640         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
25642 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25644         [BZ #17363]
25645         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
25646         group if the current group is empty.
25648 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25650         * benchtests/bench-memset.c (test_main): Add more test from size
25651         from 32 to 512 bytes.
25652         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25653         Add POWER8 memset object.
25654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25655         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
25656         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
25657         implementation.
25658         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
25659         Likewise.
25660         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
25661         multiarch POWER8 memset optimization.
25662         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
25663         POWER8 memset optimization.
25665         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25666         Remove bzero multiarch objects.
25667         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
25668         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
25669         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
25670         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
25671         Remove define.
25672         [__bzero]: Redefine to specific name.
25673         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25674         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25675         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
25676         define.
25677         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25678         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
25680 2014-09-10  Florian Weimer  <fweimer@redhat.com>
25682         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
25683         warnings into errors.
25685         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
25686         __cxa_thread_atexit_impl prototype.
25688 2014-09-09  Steve Ellcey  <sellcey@mips.com>
25690         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
25691         Fix capitalization of error message.
25693 2014-09-09  Steve Ellcey  <sellcey@mips.com>
25695         * sysdeps/mips/preconfigure: Modify ABI tests.
25697 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
25699         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
25701 2014-09-07  Roland McGrath  <roland@hack.frob.com>
25702             Carlos O'Donell  <carlos@systemhalted.org>
25704         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
25705         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
25706         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
25707         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
25708         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
25709         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
25710         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
25711         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
25712         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
25713         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
25714         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
25715         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
25716         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
25717         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
25718         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
25719         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
25720         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
25721         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
25722         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
25723         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
25724         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
25725         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
25726         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
25727         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
25728         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
25729         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
25730         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
25731         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
25732         Deconditionalize the code that was previously under [RESET_PID].
25733         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
25734         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
25735         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
25736         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
25737         include sysdep.h.
25739 2014-09-08  Allan McRae  <allan@archlinux.org>
25741         * version.h (RELEASE): Set to "development".
25742         (VERSION): Set to "2.20.90"
25744 2014-09-07  Allan McRae  <allan@archlinux.org
25746         * version.h (RELEASE): Set to "stable".
25747         (VERSION): Set to "2.20"
25748         * include/features.h (__GLIBC_MINOR__): Set to 20.
25750         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
25751         Liebler.
25753         * po/ko.po: Update Korean translation from translation project.
25755 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
25757         [BZ #17354]
25758         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
25759         macro for handling signed relocations.
25761 2014-09-03  Florian Weimer  <fweimer@redhat.com>
25763         [BZ #17325]
25764         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
25765         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
25766         assert.
25767         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
25768         * iconvdata/ibm935.c (BODY): Likewise.
25769         * iconvdata/ibm937.c (BODY): Likewise.
25770         * iconvdata/ibm939.c (BODY): Likewise.
25771         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
25772         assert.
25773         * iconvdata/Makefile (iconv-test.out): Pass module list to test
25774         script.
25775         * iconvdata/run-iconv-test.sh: New test loop for checking for
25776         decoder crashers.
25778 2014-09-02  Khem Raj  <raj.khem@gmail.com>
25780         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
25781         libm_hidden_ver.
25783 2014-09-01  Allan McRae  <allan@archlinux.org>
25785         * po/eo.po: Update Esperanto translation from translation project.
25787         * po/ca.po: Update Catalan translation from translation project.
25789 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25791         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
25792         __proc_dostop call.
25794 2014-08-27  Mark Wielaard  <mjw@redhat.com>
25796         [BZ #17319]
25797         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
25798         to call set_thread_area instead of hand written asm.
25799         (__NR_set_thread_area): Removed define.
25800         (TLS_FLAG_WRITABLE): Likewise.
25801         (__ASSUME_SET_THREAD_AREA): Remove check.
25802         (TLS_EBX_ARG): Remove define.
25803         (TLS_LOAD_EBX): Likewise.
25805 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25807         Simplify atomicity of socket creation in bind.
25809         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
25810         looking up the name after linking the file.
25812 2014-08-27  Allan McRae  <allan@archlinux.org>
25814         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25816 2014-08-26  Florian Weimer  <fweimer@redhat.com>
25818         [BZ #17187]
25819         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
25820         trans_compare, open_translit, __gconv_translit_find):
25821         Remove module loading code.
25823 2014-08-26  Allan McRae  <allan@archlinux.org>
25825         * po/vi.po: Update Vietnamese translation from translation project.
25827         * po/uk.po: Update Ukrainian translation from translation project.
25829         * po/fr.po: Update French translation from translation project.
25831         * po/ru.po: Update Russian translation from translation project.
25833         * po/pl.po: Update Polish translation from translation project.
25835         * po/cs.po: Update Czech translation from translation project.
25837         * po/de.po: Update German translation from translation project.
25839         * po/bg.po: Update Bulgarian translation from translation project.
25841         * po/sv.po: Update Sweedish translation from translation project.
25843         * po/nl.po: Update Dutch translation from translation project.
25845         * po/es.po: Update Spanish translation from translation project.
25847 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25849         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
25851         * catgets/Makefile (CPPFLAGS-gencat): Remove.
25852         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
25853         (CPPFLAGS-iconvconfig): Likewise.
25854         * timezone/Makefile (CPPFLAGS-zic): Likewise.
25856         * include/libc-symbols.h: Remove unnecessary check for
25857         NOT_IN_libc.
25858         * nptl/pthreadP.h: Likewise.
25859         * sysdeps/aarch64/setjmp.S: Likewise.
25860         * sysdeps/alpha/setjmp.S: Likewise.
25861         * sysdeps/arm/sysdep.h: Likewise.
25862         * sysdeps/i386/setjmp.S: Likewise.
25863         * sysdeps/m68k/setjmp.c: Likewise.
25864         * sysdeps/posix/getcwd.c: Likewise.
25865         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25866         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
25867         * sysdeps/s390/s390-32/setjmp.S: Likewise.
25868         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25869         * sysdeps/sh/sh3/setjmp.S: Likewise.
25870         * sysdeps/sh/sh4/setjmp.S: Likewise.
25871         * sysdeps/unix/alpha/sysdep.h: Likewise.
25872         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25873         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25874         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
25875         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25878         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25879         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25880         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25881         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25882         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25883         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25884         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25885         * sysdeps/x86_64/setjmp.S: Likewise.
25887 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
25889         [BZ #17263]
25890         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
25891         <stdint.h>.
25892         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
25893         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
25895 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25897         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
25899         [BZ #17262]
25900         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
25901         and __x86_64__ when disabling x87 inline functions.
25903 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
25905         [BZ #17259]
25906         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
25907         asm statement with __cpuid_count.
25909 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
25911         * configure.ac: Change __ehdr_start code to dereference the struct.
25912         Run readelf on the output to look for relocations.
25913         * configure: Regenerated.
25915 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
25917         [BZ #17261]
25918         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
25919         value to 0.
25920         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
25922 2014-08-12  Roland McGrath  <roland@hack.frob.com>
25924         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
25926 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
25928         [BZ #16892]
25929         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
25930         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
25932 2014-08-12  Sean Anderson  <seanga2@gmail.com>
25934         * malloc/malloc.c: Fix typo in comment.
25936 2014-08-09  Allan McRae  <allan@archlinux.org>
25938         * Regenerate libc.po.
25940 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
25942         * intl/tst-gettext2.sh: Check every lang file for creation.
25944 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
25946         * sysdeps/aarch64/fpu/math_private.h
25947         (libc_feholdsetround_noex_aarch64_ctx): New function.
25949 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
25951         * sysdeps/arm/armv6/strcpy.S (strcpy):
25952         Fix performance issue in misaligned cases.
25954 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25956         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
25957         Move definition from termios.h.
25958         (struct termio): Likewise.
25959         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25960         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
25961         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
25962         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
25963         Likewise.
25964         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
25965         Move definition to ioctl-types.h
25966         (struct termio): Likewise.
25967         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25968         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
25969         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
25970         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
25971         Likewise.
25973 2014-08-05  Richard Henderson  <rth@redhat.com>
25975         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
25976         exceptions.
25977         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
25978         Add fraiseexcpt.
25979         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
25980         Use __feraiseexcept.
25981         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
25982         Protect libm symbols with IS_IN_libm.
25984         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
25986 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
25988         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
25990 2014-08-04  Will Newton  <will.newton@linaro.org>
25992         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
25993         file.
25995 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
25997         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
25998         variants for each function.
26000 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26002         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
26003         appended ...
26004         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
26005         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
26006         appended ...
26007         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
26008         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
26009         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
26010         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
26011         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
26012         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
26013         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
26014         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
26015         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
26016         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
26017         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
26018         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
26019         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
26020         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
26021         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
26022         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
26023         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
26024         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
26025         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
26026         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
26027         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
26028         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
26029         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
26030         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
26031         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
26032         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
26033         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
26034         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
26035         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
26036         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
26037         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
26038         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
26039         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
26040         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
26041         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
26042         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
26043         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
26044         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
26045         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
26046         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
26047         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
26048         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
26049         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
26050         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
26051         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
26052         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
26053         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
26054         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
26055         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
26056         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
26057         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
26058         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
26059         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
26060         Update #include.
26061         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
26062         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
26064 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26066         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
26067         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
26068         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
26069         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
26070         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
26071         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
26073 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26075         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
26076         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
26077         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26078         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
26080 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26082         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
26083         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
26084         (__libc_vfork): Define function under this name.
26085         (__vfork): Define as an alias.
26086         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
26087         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
26089 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26091         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
26092         that was previously under [RESET_PID].
26093         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
26095 2014-08-04  Andreas Schwab  <schwab@suse.de>
26097         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
26099 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
26101         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
26102         (main): Likewise.
26104 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26106         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
26108 2014-08-01  Richard Henderon  <rth@redhat.com>
26110         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
26111         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
26112         typo in exact zero test.
26113         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26114         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26115         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26117 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26119         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
26120         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
26121         * sysdeps/arm/sysdep.h: ... here.
26122         [!__ASSEMBLER__]: Include <stdint.h>.
26124 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26126         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
26127         (HAVE_WCTYPE_H): Likewise.
26128         (HAVE_ISWCTYPE): Likewise.
26129         (ENABLE_NLS): Likewise.
26130         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
26131         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
26133         * posix/regex_internal.c: Check if DEBUG is defined and is
26134         set.
26136         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
26137         (HAVE_MBSRTOWCS): Likewise.
26138         * posix/fnmatch.c: Include string.h unconditionally.
26140 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
26142         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
26143         reversal.
26145 2014-07-31  Roland McGrath  <roland@hack.frob.com>
26147         * sysdeps/generic/safe-fatal.h: New file.
26148         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
26149         * nptl/forward.c: Include it.
26150         (__pthread_unwind): Use __safe_fatal as default action, rather
26151         than a bogus use of INTERNAL_SYSCALL that could never work.
26153         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
26154         * configure.ac (libc_cv_builtin_trap): New test.
26155         * configure: Regenerated.
26156         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
26157         (ABORT_INSTRUCTION): Define using __builtin_trap.
26159         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
26160         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
26161         * sysdeps/nptl/nptl-signals.h: New file.
26162         * nptl/pthreadP.h: Include <nptl-signals.h>.
26164 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26166         * sysdeps/s390/s390-64/utf16-utf32-z9.c
26167         (ONE_DIRECTION): Define.
26168         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26169         (ONE_DIRECTION): Define.
26170         * sysdeps/s390/s390-64/utf8-utf32-z9.c
26171         (ONE_DIRECTION): Define.
26173 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26175         * sysdeps/s390/Makefile: Delete file.
26176         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
26177         * sysdeps/s390/__longjmp.c: Delete file.
26178         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
26179         Remove fields __flags and __reserved.
26180         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
26181         and add versioning.
26182         * sysdeps/s390/rtld-__longjmp.c: Delete file.
26183         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
26184         * sysdeps/s390/rtld-setjmp.S: Likewise.
26185         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
26186         * sysdeps/s390/s390-32/__longjmp.c: ... here.
26187         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
26188         * sysdeps/s390/s390-32/setjmp.S: ... here.
26189         Add versioning.
26190         (__sigsetjmp): Remove setting __flags field.
26191         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
26192         * sysdeps/s390/s390-64/__longjmp.c: ... here.
26193         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
26194         * sysdeps/s390/s390-64/setjmp.S: ... here.
26195         Add versioning.
26196         (__sigsetjmp): Remove setting __flags field.
26197         * sysdeps/s390/setjmp.S: Delete file.
26198         * sysdeps/s390/sigjmp.c: Likewise.
26199         * sysdeps/s390/v1-longjmp.c: Likewise.
26200         * sysdeps/s390/v1-setjmp.h: Likewise.
26201         * sysdeps/s390/v1-sigjmp.c: Likewise.
26202         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
26203         Remove v1-longjmp_chk.
26204         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
26205         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
26206         Include debug/longjmp_chk.c and add versioning.
26207         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
26208         Include nptl/pt-longjmp.c and add versioning.
26209         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
26210         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
26211         Include __longjmp.c.
26212         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26213         Move to ...
26214         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
26215         (__getcontext): Remove setting __flags field.
26216         Add versioning.
26217         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26218         Don't restore upper high grps.
26219         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
26220         Likewise.
26221         (__swapcontext): Remove setting uc_flags field.
26222         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
26223         Delete file.
26224         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26225         Include __longjmp.c.
26226         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26227         Move to ...
26228         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
26229         (__getcontext): Remove setting __flags field.
26230         Add versioning.
26231         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
26232         (__swapcontext): Remove setting uc_flags field.
26233         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
26234         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
26235         Remove fields uc_high_gprs and __reserved.
26236         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
26237         New file with reverted content.
26238         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
26239         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
26240         Regenerated.
26241         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
26242         Regenerated.
26244 2014-07-31  Andreas Schwab  <schwab@suse.de>
26246         * config.h.in (HAVE_IFUNC): Define to 0.
26247         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
26248         definedness.
26250 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
26252         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26253         memmove-avx-unaligned, memcpy-avx-unaligned and
26254         mempcpy-avx-unaligned.
26255         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26256         Add tests for AVX memcpy functions.
26257         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
26258         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
26259         memcpy_chk.
26260         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
26261         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
26262         memmove_chk.
26263         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
26264         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
26265         mempcpy_chk.
26266         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
26267         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
26268         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
26270 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26272         [BZ #17213]
26273         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
26274         powerpc64le.
26276 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
26278         [BZ #16839]
26279         * manual/llio.texi: Add section about open file description locks.
26280         * manual/examples/ofdlocks.c: Example of open file description
26281         lock usage.
26282         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
26283         F_OFD_SETLK, and F_OFD_SETLKW.
26285 2014-07-23  Allan McRae  <allan@archlinux.org>
26287         * po/es.po: Update Spanish translation from translation project.
26289 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
26291         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
26293 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
26295         [BZ #17078]
26296         * sysdeps/arm/dl-machine.h (elf_machine_rela)
26297         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
26298         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
26300 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
26302         [BZ #17088]
26303         * math/fesetenv.c (__fesetenv)
26304         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
26305         * math/feupdateenv.c (__feupdateenv)
26306         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
26308         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
26309         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
26310         (__ASSUME_SOCKETCALL): Do not define.
26312         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
26313         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
26314         (__ASSUME_SOCKETCALL): Do not define.
26315         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
26316         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
26317         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26318         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
26319         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26320         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
26321         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26322         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26324         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
26325         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
26326         (__ASSUME_SOCKETCALL): Do not define.
26327         (__ASSUME_IPC64): Define unconditionally.
26328         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
26329         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26330         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
26331         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26332         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
26333         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26334         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
26335         Likewise.
26337         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
26338         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
26339         (__ASSUME_SOCKETCALL): Do not define.
26340         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
26341         (__ASSUME_FUTEX_LOCK_PI): Likewise.
26342         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26343         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26344         (__ASSUME_REQUEUE_PI): Define unconditionally.
26345         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
26346         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
26347         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26348         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
26349         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26350         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26352         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
26353         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
26354         (__ASSUME_SOCKETCALL): Do not define.
26355         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
26356         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26357         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26358         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
26359         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26360         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26362         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
26363         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
26364         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26365         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
26366         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26367         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
26368         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26369         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
26370         (__ASSUME_GETCPU_SYSCALL): Likewise.
26372         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
26373         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
26374         cases for individual architectures.
26375         * sysdeps/gnu/configure: Regenerated.
26376         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
26377         LIBC_SLIBDIR_RTLDDIR.
26378         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
26379         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
26380         LIBC_SLIBDIR_RTLDDIR.
26381         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
26382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
26383         LIBC_SLIBDIR_RTLDDIR.
26384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26385         Regenerated.
26386         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
26387         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
26388         file.
26389         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
26390         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
26391         file.
26392         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
26393         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
26394         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
26395         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
26397         * sysdeps/aarch64/shlib-versions: Move to ...
26398         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
26399         * sysdeps/alpha/shlib-versions: Move to ...
26400         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
26401         * sysdeps/arm/shlib-versions: Move to ...
26402         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
26403         * sysdeps/hppa/shlib-versions: Move all contents except for
26404         libgcc_s entry to ...
26405         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
26406         entry from ...
26407         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
26408         * sysdeps/ia64/shlib-versions: Move to ...
26409         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
26410         entry from ...
26411         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
26412         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
26413         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
26414         * sysdeps/microblaze/shlib-versions: Move to ...
26415         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
26416         * sysdeps/mips/shlib-versions: Move to ...
26417         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
26418         entry from ...
26419         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
26420         * sysdeps/tile/shlib-versions: Move to ...
26421         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
26422         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
26423         from ...
26424         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
26425         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
26426         entry from ...
26427         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
26429 2014-07-17  Will Newton  <will.newton@linaro.org>
26431         * sysdeps/arm/bits/atomic.h
26432         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
26433         (__arch_compare_and_exchange_bool_16_int): Likewise.
26434         (__arch_compare_and_exchange_bool_64_int): Likewise.
26436         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
26437         into an #else block.
26439 2014-07-16  Roland McGrath  <roland@hack.frob.com>
26441         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
26442         just Linux configurations.  Test empirically that the compiler sets
26443         __ARM_EABI__, rather than using the tuple to decide.
26444         * sysdeps/arm/preconfigure: Regenerated.
26445         * sysdeps/unix/sysv/linux/arm/configure: File removed.
26446         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
26447         contents appended ...
26448         * sysdeps/arm/configure.ac: ... here.
26449         * sysdeps/arm/configure: Regenerated.
26451 2014-07-15  Roland McGrath  <roland@hack.frob.com>
26453         * nptl/pthread_kill.c: New file.
26454         * nptl/pthread_sigmask.c: New file.
26455         * nptl/pthread_sigqueue.c: New file.
26457         * sysdeps/nptl/lowlevellock.h: New file.
26458         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
26459         * sysdeps/nptl/lowlevellock-futex.h: New file.
26461         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
26462         Remove dead declarations.
26464 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
26466         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
26467         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
26468         config-cflags-avx2.
26469         * sysdeps/x86_64/configure.ac: Likewise.
26470         * sysdeps/i386/configure: Regenerated.
26471         * sysdeps/x86_64/configure: Likewise.
26472         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26473         memset-avx2 only if config-cflags-avx2 is yes.
26474         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26475         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
26476         defined.
26477         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
26478         only if HAVE_AVX2_SUPPORT is defined.
26479         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26481 2014-07-14  Alan Modra  <amodra@gmail.com>
26483         [BZ #17153]
26484         * elf/elf.h (DT_PPC64_NUM): Correct value.
26485         * NEWS: Add to fixed bug list.
26487 2014-07-13  Jim Meyering  <meyering@fb.com>
26489         [BZ 17150]
26490         regex: don't deref NULL upon heap allocation failure
26491         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
26492         failure in one more place.
26493         To trigger the segfault, configure grep -with-included-regex,
26494         build it, and run these commands:
26495         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
26497 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
26499         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26501 2014-07-11  Richard Henderson  <rth@redhat.com>
26503         * sysdeps/aarch64/libm-test-ulps: Update.
26505 2014-07-10  Florian Weimer  <fweimer@redhat.com>
26507         [BZ #17135]
26508         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
26509         * nptl/allocatestack.c (__nptl_setxid_error): New function.
26510         (__nptl_setxid): Initialize error member.  Call
26511         __nptl_setxid_error.
26512         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
26513         * nptl/descr.h (struct xid_command): Add error member.
26514         * nptl/tst-setuid3.c: New file.
26515         * nptl/Makefile (tests): Add it.
26517 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26519         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
26520         New define.
26521         (__lll_trylock): Use __lll_base_trylock.
26522         (__lll_cond_trylock): Likewise.
26524 2014-07-10  Roland McGrath  <roland@hack.frob.com>
26526         * nptl/pthread_create.c (start_thread): Use atomic_or and
26527         lll_futex_wake directly rather than lll_robust_dead.
26528         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
26529         (lll_robust_dead): Macro removed.
26530         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
26531         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
26532         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
26533         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26534         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26535         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
26536         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
26537         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26538         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
26539         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26540         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26541         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26542         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26543         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26544         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26546         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
26547         Use atomic_compare_and_exchange_val_acq directly rather than
26548         lll_robust_trylock.
26549         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
26550         (__lll_robust_trylock, lll_robust_trylock): Removed.
26551         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
26552         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
26553         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26554         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26555         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
26556         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
26557         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26558         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
26559         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26560         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26561         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26562         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26563         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26564         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26566 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26568         * manual/locale.texi (Locale Names): New section documenting
26569         locale name syntax.  Adjust menu and node chaining accordingly.
26570         (Choosing Locale): Reference Locale Names, Locale Categories.
26571         Mention setting LC_ALL=C.  Reflect that name syntax is now
26572         documented.
26573         (Locale Categories): New section title.  Reference Locale Names.
26574         LC_ALL is an environment variable, but not a category.
26575         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
26576         description, now in Locale Name.  Reference that section.  Locale
26577         name syntax is now documented.
26579 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26581         [BZ #17137]
26582         * locale/findlocale.c (name_present, valid_locale_name): New
26583         functions.
26584         (_nl_find_locale): Use the loc_name variable to store name
26585         candidates.  Call name_present and valid_locale_name to check and
26586         validate locale names.  Return an error if the locale is invalid.
26588 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26590         * locale/setlocale.c (setlocale): Use strdup for allocating
26591         composite name copy.
26593 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26595         Sync up with gnulib.
26596         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
26597         [!_LIBC && ENABLE_NLS]: Include gettext.h.
26598         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
26599         and _GL_ARG_NONNULL.
26600         [USE_UNLOCKED_IO]: Include unlocked-io.h.
26601         [!_LIBC]: Include code for Windows and Cygwin.
26602         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
26603         Include prototype for int strerror_r.
26604         [!_LIBC] (is_open): New function.
26605         (flush_stdout): New function.
26606         (print_errno_message): Use it.
26607         (error): Likewise.
26608         (error_at_line): Likewise.
26609         (error_tail) Add function attribute macros.  Use
26610         __builtin_expect.
26612         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
26614         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
26616         * io/ftw.c: Include sys/param.h unconditionally.
26618         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
26620         [BZ #17125]
26621         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
26622         libc_freeres_ptr.
26623         (freecache): New function to free CACHE on exit.
26625         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
26626         initialization.
26628 2014-07-09  David S. Miller  <davem@davemloft.net>
26630         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26632         * sysdeps/sparc/nptl/internaltypes.h: Delete.
26633         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
26634         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
26635         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
26636         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
26637         * sysdeps/sparc/nptl/sem_init.c: Likewise.
26638         * sysdeps/sparc/nptl/sem_post.c: Likewise.
26639         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
26640         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
26641         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
26642         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
26643         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
26644         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
26646 2014-07-09  Andreas Schwab  <schwab@suse.de>
26648         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
26649         output.
26650         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
26651         (do_test): Likewise.
26653         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26655 2014-07-09  Will Newton  <will.newton@linaro.org>
26657         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
26658         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
26659         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
26660         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
26661         * sysdeps/hppa/start.S (_start): Likewise.
26663 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26665         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
26667         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
26668         defined.
26670 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26672         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
26673         after checking that it is non-NULL.
26675         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
26677 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26679         * sysdeps/powerpc/memmove.c: Remove file.
26680         * sysdeps/powerpc/powerpc32/power4/memcopy.h
26681         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
26682         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
26683         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
26684         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
26685         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
26686         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
26687         string memmove instead of removed powerpc one.
26689         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26690         [weak_alias]: Fix compiler warning due trailing data.
26691         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
26692         [weak_alias]: Likewise.
26693         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
26694         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
26696         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26697         (__libc_ifunc_impl_list): Add memmove functions.
26699 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26701         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
26702         Remove code.
26703         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
26704         Likewise.
26705         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
26706         Likewise.
26707         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
26708         Likewise.
26709         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
26710         Likewise.
26711         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
26712         Likewise.
26713         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
26714         Likewise.
26715         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
26716         Likewise.
26717         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
26718         Likewise.
26719         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
26720         Likewise.
26721         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
26722         Likewise.
26723         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
26724         Likewise.
26725         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
26726         Likewise.
26727         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
26728         Likewise.
26729         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
26730         Likewise.
26731         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
26732         Likewise.
26733         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
26734         Likewise.
26736 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26738         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
26739         to avoid alignment traps in non-cacheable memory.
26740         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26742         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
26743         multiarch objects.
26744         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
26745         file: multiarch power7 memmove.
26746         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
26747         multiarch default memmove.
26748         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
26749         multiarch memove for powerpc32/power4.
26751         * string/bcopy.c: Use full path to include memmove.c.
26752         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
26753         multiarch objects.
26754         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
26755         bcopy for powerpc64.
26756         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
26757         bcopy for powerpc64.
26758         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
26759         and memmove implementations.
26760         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
26761         optimized multiarch memmove for POWER7/powerpc64.
26762         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
26763         default multiarch memmove for powerpc64.
26764         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
26765         multiarch for powerpc64.
26766         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
26767         for POWER7/powerpc64.
26768         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
26769         memmove for POWER7/powerpc64.
26771         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
26772         glibc default one.
26774         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
26775         __ELF_NATIVE_CLASS equal to 64.
26777 2014-07-07  Roland McGrath  <roland@hack.frob.com>
26779         * sysdeps/nptl/lowlevellock.h: File removed.
26781         * NEWS: NPTL is no longer an add-on!
26782         * nptl/internaltypes.h: Moved ...
26783         * sysdeps/nptl/internaltypes.h: ... here.
26784         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
26785         * sysdeps/nptl/fork.c: Likewise.
26786         * sysdeps/nptl/gai_misc.h: Likewise.
26787         * sysdeps/nptl/librt-cancellation.c: Likewise.
26788         * sysdeps/nptl/jmp-unwind.c: Likewise.
26789         * sysdeps/nptl/setxid.h: Likewise.
26790         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
26791         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
26792         * sysdeps/unix/sysv/linux/arm/Implies: New file.
26793         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
26794         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
26795         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
26796         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
26797         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
26798         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
26799         * sysdeps/unix/sysv/linux/mips/Implies: New file.
26800         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
26801         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
26802         * sysdeps/unix/sysv/linux/sh/Implies: New file.
26803         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
26804         * sysdeps/unix/sysv/linux/tile/Implies: New file.
26805         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
26806         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
26807         * nptl/Makeconfig: Moved ...
26808         * sysdeps/nptl/Makeconfig: ... here.
26809         * nptl/configure: File removed.
26810         * nptl/ANNOUNCE: File removed.
26811         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
26812         * sysdeps/unix/sysv/linux/configure: Regenerated.
26814         * nptl/Makefile (routines): Add libc_pthread_init,
26815         libc_multiple_threads, register-atfork and unregister-atfork.
26816         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
26817         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
26818         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
26819         pthread-pi-defines.sym, structsem.sym.
26820         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
26821         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
26822         [$(subdir) = nptl] (tests): Add tst-setgetname.
26823         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
26824         * sysdeps/unix/sysv/linux/sigaction.c: Just include
26825         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
26826         [!LIBC_SIGACTION]: Remove aliases.
26827         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
26828         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
26829         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
26830         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
26831         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
26832         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
26833         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26834         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26835         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
26836         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
26837         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
26838         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
26839         __libc_allocate_rtsig_private.
26840         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
26841         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
26842         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26843         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26844         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
26845         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
26846         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
26847         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
26848         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
26849         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
26850         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
26851         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
26852         * nptl/internaltypes.h: ... here.
26853         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
26854         * sysdeps/nptl/jmp-unwind.c: ... here.
26855         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
26856         * nptl/libc-lowlevellock.c: ... here.
26857         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
26858         * nptl/libc_multiple_threads.c: ... here.
26859         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
26860         * nptl/libc_pthread_init.c: ... here.
26861         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
26862         * nptl/lowlevelbarrier.sym: ... here.
26863         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
26864         * nptl/lowlevelcond.sym: ... here.
26865         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
26866         * nptl/lowlevellock.c: ... here.
26867         * nptl/lowlevellock.h: Moved ...
26868         * sysdeps/nptl/lowlevellock.h: ... here.
26869         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
26870         * nptl/lowlevelrobustlock.c: ... here.
26871         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
26872         * nptl/lowlevelrobustlock.sym: ... here.
26873         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
26874         * nptl/lowlevelrwlock.sym: ... here.
26875         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
26876         * nptl/pt-fork.c: ... here.
26877         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
26878         * nptl/pthread-pi-defines.sym: ... here.
26879         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
26880         * nptl/pthread_attr_getaffinity.c: ... here.
26881         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
26882         * nptl/pthread_attr_setaffinity.c: ... here.
26883         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
26884         * nptl/pthread_mutex_cond_lock.c: ... here.
26885         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
26886         Update #include.
26887         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
26888         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
26889         * nptl/pthread_once.c: ... here, replacing old file.
26890         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
26891         * nptl/pthread_yield.c: ... here.
26892         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
26893         * nptl/register-atfork.c: ... here.
26894         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
26895         * nptl/sem_post.c: ... here.
26896         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
26897         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
26898         * nptl/sem_timedwait.c: ... here.
26899         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
26900         * nptl/sem_trywait.c: ... here.
26901         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
26902         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
26903         * nptl/sem_wait.c: ... here.
26904         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
26905         * nptl/structsem.sym: ... here.
26906         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
26907         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
26908         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
26909         * nptl/unregister-atfork.c: ... here.
26910         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
26911         * nptl/unwindbuf.sym: ... here.
26912         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
26913         * sysdeps/nptl/fork.c: ... here.
26914         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
26915         * sysdeps/nptl/fork.h: ... here.
26916         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
26917         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
26918         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
26919         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
26920         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
26921         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
26922         * sysdeps/unix/sysv/linux/getpid.c: ... here.
26923         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
26924         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
26925         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
26926         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
26927         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
26928         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
26929         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
26930         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
26931         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
26932         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
26933         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
26934         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
26935         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
26936         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
26937         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
26938         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
26939         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
26940         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
26941         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
26942         * sysdeps/unix/sysv/linux/raise.c: ... here.
26943         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
26944         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
26945         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
26946         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
26947         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
26948         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
26949         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
26950         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
26951         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
26952         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
26953         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
26954         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
26955         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
26956         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
26957         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
26959 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26961         * sysdeps/generic/memcopy.h: Add comment for
26962         MEMCPY_OK_FOR_FWD_MEMMOVE.
26964 2014-07-04  Will Newton  <will.newton@linaro.org>
26966         * string/memchr.c: Merge from gnulib.
26967         [_LIBC]: Remove conditionals.
26968         (__ptr_t): Remove define.
26969         (LONG_MAX_32_BITS): Likewise.
26970         (LONG_MAX): Likewise.
26971         (MEMCHR): Use ANSI prototype and optimize algorithm.
26973         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
26975 2014-07-03  Roland McGrath  <roland@hack.frob.com>
26977         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
26978         (lll_futex_timed_wait_bitset): Fix syscall argument count.
26980         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
26981         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
26982         in a bare environment with no <stdlib.h> installed.
26983         * sysdeps/nptl/configure: Regenerated.
26985         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
26987         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
26988         AC_EGREP_CPP for kernel header checks, so they only succeed if
26989         including <linux/version.h> actually works right.
26990         * sysdeps/unix/sysv/linux/configure: Regenerated.
26992         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
26993         value so it's not diagnosed as unused.
26995         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
26996         thing) with "ifeq ($(subdir),rt)".
26998 2014-07-03  Richard Henderson  <rth@redhat.com>
27000         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
27001         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
27002         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
27004         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
27005         (math_force_eval): New.
27007         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
27008         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
27010         * sysdeps/alpha/fpu/s_round.c: Remove file.
27011         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
27013         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
27014         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
27015         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
27016         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
27017         (_dl_start, print_statistics): Likewise.
27018         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
27019         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
27021         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27022         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27023         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27024         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27025         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27026         (HP_SMALL_TIMING_AVAIL): Define.
27027         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27028         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27029         (HP_SMALL_TIMING_AVAIL): Define.
27030         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27031         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27033         * sysdeps/aarch64/hp-timing.h: New file.
27035         * sysdeps/generic/hp-timing.h: Remove dead comment.
27036         * sysdeps/generic/hp-timing-common.h: New file.
27037         * sysdeps/alpha/hp-timing.h: Include it.
27038         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
27039         * sysdeps/i386/i686/hp-timing.h: Likewise.
27040         * sysdeps/ia64/hp-timing.h: Likewise.
27041         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27042         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27043         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27044         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27045         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
27046         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
27047         (hp_timing_t): New.
27049         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
27050         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
27051         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
27052         * elf/rtld.c (_dl_start_final): Likewise.
27053         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
27054         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27055         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27056         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27057         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27058         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27059         (HP_TIMING_DIFF_INIT): Remove.
27060         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27061         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27062         (HP_TIMING_DIFF_INIT): Remove.
27063         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27064         * sysdeps/i386/i686/hp-timing.c: Remove file.
27065         * sysdeps/x86_64/hp-timing.c: Remove file.
27066         * sysdeps/ia64/hp-timing.c: Remove file.
27067         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
27068         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
27069         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
27070         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
27072         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
27073         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
27074         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
27075         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27076         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27077         (HP_TIMING_ACCUM): Remove.
27078         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27079         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
27080         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27082         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
27083         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
27084         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
27085         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
27086         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
27087         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27088         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
27089         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27091         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
27093 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
27095         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
27097 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27099         Sync up with gettext.
27100         * intl/loadmsgcat.c: Define O_BINARY if not defined.
27101         [_MSC_VER]: Include malloc.h
27102         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
27103         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
27104         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
27105         TEMP_FAILURE_RETRY.  Cast return of alloca.
27106         [!_LIBC] Call gl_rwlock_init.
27107         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
27109 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27111         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
27112         before checking its value.
27114 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27116         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
27118         * debug/memcpy_chk.c: Don't include pagecopy.h.
27119         * debug/mempcpy_chk.c: Likewise.
27120         * string/memcpy.c: Likewise.
27121         * string/memmove.c: Likewise.
27122         * sysdeps/powerpc/memmove.c: Likewise.
27123         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
27124         definition of PAGE_COPY_FWD_MAYBE here...
27125         * sysdeps/generic/pagecopy.h: ... from here.
27126         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
27128 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27129             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27131         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
27132         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
27133         optimizations.
27134         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27135         (__libc_ifunc_impl_list): Likewise.
27136         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
27137         multiarch strcat for PPC64.
27138         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
27139         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
27141 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27143         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
27145 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27147         * intl/loadmsgcat.c: Remove declaration of
27148         get_sysdep_segment_value.
27149         (get_sysdep_segment_value): Use ISO C style.
27150         (_nl_load_domain): Use ISO C style.  Get rid of redundant
27151         semicolon.  Fix typo and formatting in comment.
27152         (_nl_unload_domain): Use ISO C style.
27154         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
27156 2014-07-02  Will Newton  <will.newton@linaro.org>
27158         * malloc/obstack.c: Merge from gnulib master.
27159         [HAVE_CONFIG_H]: Remove conditional code.
27160         [!_LIBC]: Include config.h.
27161         [!ELIDE_CODE]: Don't include inttypes.h, include
27162         stdint.h unconditionally.
27163         (print_and_abort): Mark as _Noreturn.
27164         (_obstack_allocated_p): Mark as __attribute_pure__.
27165         (obstack_free): Rename to __obstack_free.
27166         [!__attribute__]: Remove conditional code.
27167         * malloc/obstack.h: Merge from gnulib master.
27168         [__cplusplus]: Move conditional down.
27169         [!__attribute_pure__]: Define __attribute_pure__ here
27170         if it is not already defined.
27171         (_obstack_memory_used): Mark as __attribute_pure__.
27172         [!__obstack_free]: Define as obstack_free.
27173         [__GNUC__]: Remove check for ancient NeXT gcc.
27175 2014-07-02  Will Newton  <will.newton@linaro.org>
27176             Paul Eggert  <eggert@cs.ucla.edu>
27178         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
27180 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27182         * resolv/gethnamaddr.c: Add comment warning that the file is
27183         not maintained.
27185 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
27187         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
27188         entries.
27190         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
27191         entry for aio_cancel and aio_cancel64.
27192         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
27193         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
27194         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
27195         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
27196         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
27197         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
27198         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
27199         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
27200         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
27201         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
27202         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
27203         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
27204         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
27206 2014-07-01  Roland McGrath  <roland@hack.frob.com>
27208         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
27209         * nptl/pthread_mutex_lock.c: Likewise.
27210         * nptl/pthread_mutex_timedlock.c: Likewise.
27211         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
27213 2014-07-01  Richard henderson  <rth@redhat.com>
27215         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
27216         (__isnan, __isnanl): Remove.
27217         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
27219         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27221 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27223         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27225 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27227         * resolv/nss_dns/dns-host.c (getanswer_r)
27228         [MULTI_PTRS_ARE_ALIASES]: Remove code.
27230 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
27232         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27233         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
27234         undefine.
27235         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
27236         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
27238 2014-07-01  Roland McGrath <roland@hack.frob.com>
27240         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
27241         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
27243         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
27244         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
27246         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
27247         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
27248         ... here.
27249         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
27250         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
27252         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
27253         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
27254         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
27255         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
27257         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
27258         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
27259         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
27260         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
27261         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
27262         Moved ...
27263         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
27264         ... here.
27265         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
27266         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
27267         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
27268         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
27269         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
27270         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
27271         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
27272         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
27273         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
27274         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
27275         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
27276         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
27277         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
27278         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
27279         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
27280         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
27281         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
27282         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
27283         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
27284         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
27285         ... here.
27286         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
27287         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
27288         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
27289         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
27290         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
27291         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
27292         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
27293         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
27295 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
27297         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
27298         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
27299         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
27300         Add sysdep.
27302 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27304         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27306 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
27308         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27309         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27311         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27313         * sysdeps/arm/libm-test-ulps: Regenerated.
27315 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
27316             Roland McGrath <roland@hack.frob.com>
27318         * test-skeleton.c (signal_handler): Kill the whole process group
27319         before killing the child individually.
27320         (main): Report any failure on `setpgid'.
27322 2014-06-30  Roland McGrath  <roland@hack.frob.com>
27324         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
27325         from _TLS_H to _ARM_NPTL_TLS_H.
27326         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
27327         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
27329 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
27331         [BZ #16539]
27332         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
27333         (__expm1l): Return argument unchanged when small but not
27334         subnormal.
27336         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
27337         include macro name.
27338         (_FP_UNPACK_RAW_1_P): Likewise.
27339         (_FP_PACK_RAW_1): Likewise.
27340         (_FP_PACK_RAW_1_P): Likewise.
27341         (_FP_MUL_MEAT_1_wide): Likewise.
27342         (_FP_MUL_MEAT_DW_1_hard): Likewise.
27343         (_FP_MUL_MEAT_1_hard): Likewise.
27344         (_FP_DIV_MEAT_1_imm): Likewise.
27345         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
27346         (_FP_DIV_MEAT_1_udiv): Likewise.
27347         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
27348         (_FP_UNPACK_RAW_2): Likewise.
27349         (_FP_UNPACK_RAW_2_P): Likewise.
27350         (_FP_PACK_RAW_2): Likewise.
27351         (_FP_PACK_RAW_2_P): Likewise.
27352         (_FP_MUL_MEAT_DW_2_wide): Likewise.
27353         (_FP_MUL_MEAT_2_wide): Likewise.
27354         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
27355         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
27356         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
27357         (_FP_MUL_MEAT_2_gmp): Likewise.
27358         (_FP_DIV_MEAT_2_udiv): Likewise.
27359         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
27360         (_FP_FRAC_SRL_4): Likewise.
27361         (_FP_FRAC_SRST_4): Likewise.
27362         (_FP_FRAC_SRS_4): Likewise.
27363         (_FP_UNPACK_RAW_4): Likewise.
27364         (_FP_UNPACK_RAW_4_P): Likewise.
27365         (_FP_PACK_RAW_4): Likewise.
27366         (_FP_PACK_RAW_4_P): Likewise.
27367         (_FP_MUL_MEAT_DW_4_wide): Likewise.
27368         (_FP_MUL_MEAT_4_wide): Likewise.
27369         (_FP_MUL_MEAT_4_gmp): Likewise.
27370         (umul_ppppmnnn): Likewise.
27371         (_FP_DIV_MEAT_4_udiv): Likewise.
27372         (__FP_FRAC_ADD_4): Likewise.
27373         (__FP_FRAC_SUB_3): Likewise.
27374         (__FP_FRAC_SUB_4): Likewise.
27375         (__FP_FRAC_DEC_3): Likewise.
27376         (__FP_FRAC_DEC_4): Likewise.
27377         (__FP_FRAC_ADDI_4): Likewise.
27378         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
27379         (_FP_FRAC_SRL_8): Likewise.
27380         (_FP_FRAC_SRS_8): Likewise.
27382         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
27383         include macro name.
27384         (FP_UNPACK_RAW_EP): Likewise.
27385         (FP_PACK_RAW_E): Likewise.
27386         (FP_PACK_RAW_EP): Likewise.
27387         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
27388         (_FP_ISSIGNAN): Likewise.
27389         (_FP_ADD_INTERNAL): Likewise.
27390         (_FP_FMA): Likewise.
27391         (_FP_CMP): Likewise.
27392         (_FP_SQRT): Likewise.
27393         (_FP_TO_INT): Likewise.
27394         (_FP_FROM_INT): Likewise.
27395         (FP_EXTEND): Likewise.
27396         (_FP_DIV_MEAT_N_loop): Likewise.
27398 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
27400         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
27401         throughout.
27403 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
27405         [BZ #17097]
27406         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
27407         result with correct sign in case of exponents that produce
27408         overflow except for X very close to 1.
27410 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
27412         mktime: merge #if/#ifdef usage from glibc
27413         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
27414         as that works with both Glibc's and Gnulib's style.
27415         See thread starting at Siddhesh Poyarekar's bug report at:
27416         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
27418 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27420         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
27421         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
27422         * sysdeps/tile/tilegx/memmove.c: Remove file.
27424 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
27426         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
27427         abi-name definition.
27428         * scripts/soversions.awk: Do not handle or generate ABI lines.
27429         * shlib-versions: Remove ABI entries.
27430         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
27431         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
27433 2014-06-27  Roland McGrath  <roland@hack.frob.com>
27435         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
27436         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
27437         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
27438         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
27439         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
27440         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
27441         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
27442         Moved ...
27443         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
27444         ... here.
27445         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
27446         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
27447         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
27448         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
27449         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
27450         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
27451         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
27452         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
27453         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
27454         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
27455         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
27456         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
27457         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
27458         Moved ...
27459         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
27460         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
27461         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
27462         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
27463         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
27464         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
27465         Moved ...
27466         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
27467         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
27468         Moved ...
27469         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
27470         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
27471         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
27472         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
27473         Moved ...
27474         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
27475         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
27476         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
27477         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
27478         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
27479         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
27480         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
27481         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
27482         Moved ...
27483         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
27484         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
27485         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
27486         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
27487         Moved ...
27488         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
27489         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
27490         Moved ...
27491         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
27492         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
27493         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
27494         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
27495         Moved ...
27496         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
27497         ... here.
27498         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
27499         Identical file removed.
27500         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
27501         Moved ...
27502         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
27503         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
27504         Identical file removed.
27505         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
27506         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
27507         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
27508         Moved ...
27509         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
27510         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
27511         Identical file removed.
27512         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
27513         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
27514         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
27515         Identical file removed.
27516         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
27517         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
27518         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
27519         Identical file removed.
27520         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
27521         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
27522         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
27523         Identical file removed.
27524         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
27525         Moved ...
27526         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
27527         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
27528         Identical file removed.
27529         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
27530         Moved ...
27531         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
27532         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
27533         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
27534         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
27535         Identical file removed.
27536         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
27537         Moved ...
27538         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
27539         ... here.
27540         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
27541         Identical file removed.
27542         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
27543         Moved ...
27544         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
27545         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
27546         Identical file removed.
27547         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
27548         Moved ...
27549         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
27550         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
27551         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
27552         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
27553         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
27554         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
27555         Moved ...
27556         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
27557         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
27558         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
27560         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
27561         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
27562         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
27563         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
27564         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
27566 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
27568         [BZ #17092]
27569         * nscd/nscd.c (monitor_child): Return exit status of child
27570         instead of return value from wait syscall.
27572 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
27574         * configure.ac (libc_commonpagesize): Remove variable.
27575         (libc_relro_required): Likewise.
27576         (libc_cv_z_relro): Remove configure test.
27577         * configure: Regenerated.
27578         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
27579         variable.
27580         (libc_relro_required): Likewise.
27581         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
27582         (libc_relro_required): Likewise.
27583         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
27584         (libc_relro_required): Likewise.
27585         * sysdeps/arm/preconfigure: Regenerated.
27586         * sysdeps/ia64/preconfigure: Remove file.
27587         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
27588         variable.
27589         (libc_relro_required): Likewise.
27591         [BZ #16561]
27592         [BZ #16562]
27593         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
27594         (__ieee754_yn): Set FE_TONEAREST mode internally and then
27595         recompute overflowing results in original rounding mode.
27596         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
27597         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
27598         recompute overflowing results in original rounding mode.
27599         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
27600         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27601         recompute overflowing results in original rounding mode.
27602         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
27603         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27604         recompute overflowing results in original rounding mode.
27605         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
27606         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27607         recompute overflowing results in original rounding mode.
27608         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
27609         (libc_feholdsetround_ctx): New macro.
27610         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
27611         * sysdeps/i386/fpu/libm-test-ulps: Update.
27612         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
27614 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27616         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
27617         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
27618         corresponding .cpsetup call.
27620 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27622         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
27623         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
27624         * sysdeps/arm/Makefile [$(subdir) = csu]
27625         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
27626         (static-only-routines): Add aeabi_read_tp here.
27627         (shared-only-routines): Add libc-aeabi_read_tp here.
27628         (CFLAGS-libc-start.c): Add -fexceptions here.
27629         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
27630         (sysdep_routines, static-only-routines, shared-only-routines):
27631         Don't add to these here.
27632         (CFLAGS-libc-start.c): Likewise.
27634         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
27635         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
27636         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
27637         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
27638         * sysdeps/arm/Makefile [$(subdir) = rt]
27639         (librt-sysdep_routines, librt-shared-only-routines):
27640         Append rt-aeabi_unwind_cpp_pr1 here.
27641         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
27642         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
27643         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
27644         (libpthread-sysdep_routines, libpthread-shared-only-routines):
27645         Append nptl-aeabi_unwind_cpp_pr1 here.
27646         (tests): Filter out tst-cleanupx4 here.
27647         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
27648         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
27649         Don't do those here.
27651 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27653         * scripts/list-sources.sh: Do not handle ports specially.
27655 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27657         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
27658         * sysdeps/arm/feupdateenv.c: Likewise.
27660         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
27662 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27664         * manual/texinfo.tex: Update to version 2014-05-05.10 with
27665         trailing whitespace removed.
27666         * scripts/config.guess: Update to version 2014-03-23.
27667         * scripts/config.sub: Update to version 2014-05-01
27668         * scripts/install-sh: Update to version 2013-12-25.23.
27669         * scripts/move-if-change: Update from gnulib.
27671 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27673         * debug/memmove_chk.c: Remove pagecopy.h include.
27675 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
27677         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
27678         identical to gnulib mktime.
27680 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27682         * configure.ac: Do not test for machine being rs6000.  Do not test
27683         for powerpc*-*soft.
27684         * configure: Regenerated.
27686         [BZ #11505]
27687         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
27688         test.
27689         * configure: Regenerated.
27690         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
27691         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
27692         Remove configure test.
27693         * sysdeps/arm/configure: Regenerated.
27694         * sysdeps/nptl/configure.ac: Do not check
27695         libc_cv_asm_cfi_directives.
27696         * sysdeps/nptl/configure: Regenerated.
27697         * sysdeps/x86_64/nptl/configure.ac: Remove file.
27698         * sysdeps/x86_64/nptl/configure: Remove generated file.
27699         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
27700         unconditional.
27701         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
27703 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27705         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
27706         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
27707         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
27708         it is defined.
27710         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
27711         instead of whether it is defined.
27712         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
27713         * sysdeps/hppa/dl-machine.h: Likewise.
27714         * sysdeps/ia64/dl-machine.h: Likewise.
27715         * sysdeps/m68k/dl-machine.h: Likewise.
27716         * sysdeps/microblaze/dl-machine.h: Likewise.
27717         * sysdeps/mips/dl-machine.: Likewise.
27718         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27719         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27720         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27721         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27722         * sysdeps/sh/dl-machine.h: Likewise.
27723         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27724         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27725         * sysdeps/tile/dl-machine.h: Likewise.
27726         * sysdeps/x86_64/dl-machine.h: Likewise.
27728         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
27729         code.
27730         (verify_persistent_db): Likewise.
27732 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27734         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
27735         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
27736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
27737         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
27738         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27739         Moved ...
27740         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
27741         ... here.
27742         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
27743         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
27744         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
27745         Identical file removed.
27746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
27747         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
27748         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
27749         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
27750         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
27751         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
27752         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
27753         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
27754         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
27755         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
27756         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27757         Moved ...
27758         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
27759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
27760         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
27761         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
27762         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
27763         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27764         Moved ...
27765         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
27766         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
27767         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
27768         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
27769         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
27770         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27771         Identical file removed.
27772         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
27773         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
27774         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
27775         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
27776         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27777         Moved ...
27778         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
27779         ... here.
27780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
27781         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
27782         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
27783         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
27784         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
27785         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
27786         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
27787         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
27788         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
27789         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
27790         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27791         Moved ...
27792         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
27793         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
27794         Moved ...
27795         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
27796         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
27797         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
27798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27799         Moved ...
27800         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
27801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
27802         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
27804         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
27805         folded into ...
27806         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
27807         * sysdeps/unix/sysv/linux/s390/Versions
27808         (libpthread: GLIBC_2.19): New version set.
27809         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
27810         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
27811         (librt: GLIBC_2.3.3): New version set.
27812         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
27813         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
27814         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
27815         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
27816         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
27817         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
27818         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
27819         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
27820         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
27821         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
27822         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
27823         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
27824         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
27825         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
27826         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
27827         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
27828         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
27829         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
27830         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
27831         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
27832         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
27833         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
27834         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
27835         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
27836         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
27837         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
27838         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
27839         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
27840         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
27841         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
27842         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
27843         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
27844         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
27845         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
27846         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
27847         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
27848         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
27849         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
27850         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
27851         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
27852         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
27853         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
27854         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
27855         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
27856         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
27858         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
27859         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
27860         (__libc_vfork): Define the function under this name.
27861         [!NOT_IN_libc] (__vfork): Make this an alias.
27862         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
27863         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
27864         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
27865         (__libc_vfork): Define the function under this name.
27866         [!NOT_IN_libc] (__vfork): Make this an alias.
27867         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
27868         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
27869         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
27870         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
27871         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
27872         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27874         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
27875         code that was previously under [RESET_PID].
27876         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
27877         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
27878         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
27880         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
27881         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
27882         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
27883         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
27884         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
27885         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
27886         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
27887         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
27888         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
27889         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
27890         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
27891         Moved ...
27892         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
27893         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
27894         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
27895         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
27896         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
27897         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
27898         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
27899         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
27900         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
27901         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
27902         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
27903         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
27904         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
27905         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
27906         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
27907         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
27908         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
27909         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
27910         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
27911         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
27912         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
27913         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
27914         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
27915         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
27916         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
27917         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
27918         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
27919         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
27920         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
27922 2014-06-25  Roland McGrath  <roland@hack.frob.com>
27924         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
27925         that was previously under [RESET_PID].
27926         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
27928 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27930         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
27931         not undefine and redefine.
27932         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
27933         [O_CLOEXEC]: Make code unconditional.
27934         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
27935         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
27936         <kernel-features.h>.
27937         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
27938         conditional variable definition.
27939         (shm_open) [O_CLOEXEC]: Make code unconditional.
27940         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
27941         code.
27943         * configure.ac (USE_REGPARMS): Don't define here.
27944         * configure: Regenerated.
27945         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
27946         * sysdeps/i386/configure: Regenerated.
27948         * nptl/createthread.c: Don't include kernel-features.h.
27949         * nptl/pthread_cancel.c: Likewise.
27950         * nptl/pthread_condattr_setclock.c: Likewise.
27951         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
27952         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
27953         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
27954         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
27955         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
27956         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
27957         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27958         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
27959         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27960         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
27961         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
27962         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
27963         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
27964         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
27965         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
27966         * nscd/gai.c: Likewise.
27967         * nss/nss_db/db-open.c: Likewise.
27968         * sysdeps/generic/ldsodefs.h: Likewise.
27969         * sysdeps/sh/nptl/tls.h: Likewise.
27970         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
27971         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
27972         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
27973         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
27974         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
27975         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
27976         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
27977         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27978         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27979         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
27980         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
27981         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27982         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
27983         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
27984         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
27985         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
27986         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
27987         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
27988         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
27989         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
27990         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
27991         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
27992         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
27993         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
27994         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
27995         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
27996         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
27997         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
27998         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27999         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
28000         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
28001         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
28002         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
28003         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28004         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28005         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28006         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28007         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
28008         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
28009         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
28010         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28011         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
28012         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
28013         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28014         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
28015         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
28016         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
28017         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
28018         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
28019         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
28020         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
28021         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
28022         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
28023         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28024         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
28025         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28026         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
28027         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
28028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
28029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
28030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
28031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
28032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
28033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
28034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
28035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
28036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
28039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
28040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
28041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
28042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
28048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
28049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
28050         * sysdeps/unix/sysv/linux/pread.c: Likewise.
28051         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
28052         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
28053         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
28054         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
28055         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
28056         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
28057         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
28058         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
28059         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
28060         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
28061         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
28062         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
28063         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
28064         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
28065         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
28066         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28067         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
28068         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
28069         * sysdeps/unix/sysv/linux/system.c: Likewise.
28070         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
28071         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
28072         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28073         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28074         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28075         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28076         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28078         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
28079         * configure: Regenerated.
28080         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
28082         * configure.ac (base_machine): Do not set specially for particular
28083         machines here.
28084         * configure: Regenerated.
28085         * sysdeps/powerpc/preconfigure: Move machine and base_machine
28086         settings from configure.ac.
28087         * sysdeps/i386/preconfigure: New file.
28088         * sysdeps/s390/preconfigure: Likewise.
28089         * sysdeps/sh/preconfigure: Likewise.
28090         * sysdeps/sparc/preconfigure: Likewise.
28092 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28094         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
28095         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
28096         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
28097         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
28098         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
28099         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
28100         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
28101         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
28102         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
28103         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
28104         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
28105         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
28106         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
28107         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
28108         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
28109         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
28110         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
28111         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
28112         * sysdeps/sparc/sparc64/Makefile: ... appended here.
28114         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
28115         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
28116         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
28117         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
28118         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
28119         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
28120         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
28121         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
28122         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
28123         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
28124         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
28125         * sysdeps/sparc/sparc32/sem_post.c: ... here.
28126         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
28127         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
28128         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
28129         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
28130         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
28131         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
28132         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
28133         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
28134         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
28135         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
28136         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
28137         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
28138         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
28139         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
28140         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
28141         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
28142         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
28143         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
28144         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
28145         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
28146         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
28147         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
28148         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
28149         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
28150         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
28151         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
28153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
28154         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
28155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
28156         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
28157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28158         Moved ...
28159         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
28160         ... here.
28161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
28162         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
28163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
28164         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
28165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
28166         Moved ...
28167         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
28168         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
28169         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
28170         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
28171         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
28172         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
28173         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
28174         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28175         Moved ...
28176         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
28177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28178         Moved ...
28179         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
28180         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
28181         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
28182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28183         Moved ...
28184         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
28185         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
28186         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
28187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
28188         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
28189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
28190         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
28191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
28192         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
28193         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28194         Moved ...
28195         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
28196         ... here.
28197         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
28198         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
28199         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
28200         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
28201         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
28202         Moved ...
28203         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
28204         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
28205         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
28206         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
28207         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
28208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
28209         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
28210         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28211         Moved ...
28212         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
28213         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28214         Moved ...
28215         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
28216         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
28217         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
28218         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28219         Moved ...
28220         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
28221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
28222         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
28223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
28224         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
28226 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28228         * timezone/checktab.awk: Update from tzcode 2014e.
28229         * timezone/private.h: Likewise.
28230         * timezone/tzfile.h: Likewise.
28231         * timezone/zdump.c: Likewise.
28232         * timezone/zic.c: Likewise.
28234         * sysdeps/unix/sysv/linux/kernel-features.h
28235         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
28236         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
28237         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
28238         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28239         Remove conditional code.
28241 2014-06-25  Will Newton  <will.newton@linaro.org>
28243         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
28244         (_dl_arm_cap_flags): Add HWCAP2 values.
28245         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
28246         (_DL_HWCAP_COUNT): Increase to 37.
28247         (_DL_HWCAP_LAST): New define.
28248         (_DL_HWCAP2_LAST): New define.
28249         (_dl_procinfo): Add support for printing
28250         AT_HWCAP2 entries.
28251         (_dl_string_hwcap): Use _dl_hwcap_string.
28253 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28257 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28259         * README: Do not mention ports directory.
28261         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
28262         Remove macro.
28263         * sysdeps/unix/sysv/linux/futimes.c: Do not include
28264         <kernel-features.h>.
28265         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
28266         conditional variable definition.
28267         (__futimes): Update comment.
28268         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
28269         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
28271         [BZ #16560]
28272         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
28273         arguments close to 0.
28274         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
28275         Likewise.
28276         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
28277         Likewise.
28278         * math/auto-libm-test-in: Add more tests of exp10.
28279         * math/auto-libm-test-out: Regenerated.
28280         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28282         * sysdeps/unix/sysv/linux/kernel-features.h
28283         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
28284         * sysdeps/unix/sysv/linux/readv.c: Do not include
28285         <kernel-features.h>.
28286         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
28287         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
28288         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
28289         unconditional.
28290         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
28291         conditional code.
28292         * sysdeps/unix/sysv/linux/writev.c: Do not include
28293         <kernel-features.h>.
28294         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
28295         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
28296         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
28297         unconditional.
28298         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
28299         conditional code.
28301 2014-06-25  Will Newton  <will.newton@linaro.org>
28303         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
28304         comment changes throughout the file.  Remove checks
28305         for HAVE_*_H definitions that are not required.
28306         (__gen_tempname): Call abort if an unknown kind value is
28307         passed.
28309 2014-06-25  Andreas Schwab  <schwab@suse.de>
28311         [BZ #17086]
28312         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
28313         scalbln, scalblnf, scalblnl in libc.
28315 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28317         [BZ #17086]
28318         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
28319         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
28320         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
28322 2014-06-24  Roland McGrath  <roland@hack.frob.com>
28324         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
28325         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
28326         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
28327         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
28328         Update #include.
28329         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
28330         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
28331         Update #include.
28332         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
28333         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
28334         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
28335         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
28336         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
28337         * sysdeps/x86/bits/pthreadtypes.h: ... here.
28338         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
28339         * sysdeps/x86/bits/semaphore.h: ... here.
28340         * sysdeps/x86/nptl/elide.h: Moved ...
28341         * sysdeps/x86/elide.h: ... here.
28342         * sysdeps/x86_64/nptl/Implies: File removed.
28343         * sysdeps/i386/nptl/Implies: File removed.
28345 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
28347         [BZ #16539]
28348         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
28349         return the argument for normal arguments with exponent below -64.
28350         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28351         Likewise.
28352         * math/auto-libm-test-in: Add another test of expm1.
28353         * math/auto-libm-test-out: Regenerated.
28355         [BZ #16287]
28356         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
28357         calling __erfcl for arguments at least 16.
28358         * math/auto-libm-test-in: Add more tests of erf.
28359         * math/auto-libm-test-out: Regenerated.
28361         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
28362         individual architectures.
28363         * sysdeps/unix/sysv/linux/configure: Regenerated.
28364         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
28365         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
28366         * sysdeps/unix/sysv/linux/powerpc/configure.ac
28367         (ldd_rewrite_script): Define variable.
28368         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
28370         file.
28371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
28372         generated file.
28373         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
28374         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
28375         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
28376         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
28377         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
28378         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
28379         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
28380         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
28382 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28384         [BZ #17084]
28385         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
28386         Rename member __data.d to __data.__elision_data.
28388 2014-06-24  Wilco  <wdijkstr@arm.com>
28390         * NEWS: Add 16918 to fixed bug list.
28392 2014-06-24  Wilco  <wdijkstr@arm.com>
28394         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
28396 2014-06-24  Wilco  <wdijkstr@arm.com>
28398         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
28399         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
28400         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
28401         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
28402         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
28403         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
28404         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
28405         Use _FPU_MASK_RM.
28407 2014-06-24  Wilco  <wdijkstr@arm.com>
28409         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
28411 2014-06-24  Wilco  <wdijkstr@arm.com>
28413         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
28414         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
28415         * sysdeps/arm/fesetround.c (fesetround): Remove space.
28416         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
28418 2014-06-24  Wilco  <wdijkstr@arm.com>
28420         [BZ #16918]
28421         * sysdeps/arm/feupdateenv.c (feupdateenv):
28422         Rewrite to reduce FPSCR accesses and fix return value.
28424 2014-06-24  Wilco  <wdijkstr@arm.com>
28426         * sysdeps/arm/fclrexcpt.c (feclearexcept):
28427         Optimize to avoid unnecessary FPSCR writes.
28428         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
28429         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
28430         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
28431         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
28433 2014-06-24  Wilco  <wdijkstr@arm.com>
28435         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
28436         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
28437         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
28438         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
28439         Call libc_fetestexcept_vfp.
28440         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
28441         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
28442         __SOFTFP__ ifdef so that they can be built for softfp.
28444 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28446         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
28447         argument type signed char.
28449         * Makerules (check-abi): Dump diff of symlist if the test
28450         fails.
28452 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28454         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
28455         using abort.
28457         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
28458         Remove unused variable ST.
28460 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
28462         [BZ #16354]
28463         [BZ #17061]
28464         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
28465         small arguments before calling __expm1.
28466         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
28467         small arguments before calling __expm1f.
28468         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
28469         small arguments before calling __expm1l.
28470         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
28471         Likewise.
28472         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
28473         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
28474         spurious underflow for some cosh tests.
28475         * math/auto-libm-test-out: Regenerated.
28476         * sysdeps/i386/fpu/libm-test-ulps: Update.
28478         [BZ #17050]
28479         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
28480         (__ieee754_y1): Set errno if return value overflows.
28481         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
28482         (__ieee754_y1f): Set errno if return value overflows.
28483         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
28484         (__ieee754_y1l): Set errno if return value overflows.
28485         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
28486         (__ieee754_y1l): Set errno if return value overflows.
28487         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
28488         * math/auto-libm-test-out: Regenerated.
28490         * math/gen-auto-libm-tests.c: Document use of
28491         ignore-zero-inf-sign.
28492         (input_flag_type): Add value flag_ignore_zero_inf_sign.
28493         (input_flags): Add ignore-zero-inf-sign.
28494         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
28495         * math/gen-libm-test.pl (generate_testfile): Handle
28496         ignore-zero-inf-sign.
28497         * math/auto-libm-test-in: Mark some cpow tests with
28498         ignore-zero-inf-sign and some with xfail-rounding.
28499         * math/auto-libm-test-out: Regenerated.
28500         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
28501         * sysdeps/i386/fpu/libm-test-ulps: Update.
28502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28504         [BZ #16315]
28505         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
28506         overflowing or underflowing operations take place with sign of
28507         result.
28508         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28509         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28510         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
28511         (__ieee754_pow): Recompute overflowing and underflowing results in
28512         original rounding mode.
28513         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
28514         (__powl_helper): Allow negative argument X and scale negated value
28515         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
28516         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
28517         overflowing or underflowing operations take place with sign of
28518         result.
28519         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
28520         Include <math.h>.
28521         * math/auto-libm-test-in: Add more tests of pow.
28522         * math/auto-libm-test-out: Regenerated.
28523         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
28524         (pow_tonearest_test_data): Remove.
28525         (pow_test_tonearest): Likewise.
28526         (pow_towardzero_test_data): Likewise.
28527         (pow_test_towardzero): Likewise.
28528         (pow_downward_test_data): Likewise.
28529         (pow_test_downward): Likewise.
28530         (pow_upward_test_data): Likewise.
28531         (pow_test_upward): Likewise.
28532         (main): Don't call removed functions.
28533         * sysdeps/i386/fpu/libm-test-ulps: Update.
28534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28536 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
28539         Moved ...
28540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
28541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28542         Moved ...
28543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
28544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
28545         Moved ...
28546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
28547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28548         Moved ...
28549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
28550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28551         File removed.
28552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
28553         File removed.
28554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
28555         File removed.
28556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
28557         File removed.
28558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
28559         File removed.
28560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
28561         File removed.
28562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
28563         File removed.
28564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28565         File removed.
28566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
28567         File removed.
28568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
28569         File removed.
28570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
28571         File removed.
28572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
28573         File removed.
28574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
28575         Moved ...
28576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
28577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
28578         Moved ...
28579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
28580         ... here.
28581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
28582         Moved ...
28583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
28584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
28585         Moved ...
28586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
28587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
28588         Moved ...
28589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
28590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
28591         Moved ...
28592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
28593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
28594         Moved ...
28595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
28596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
28597         Moved ...
28598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
28599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
28600         Moved ...
28601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
28602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
28603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
28604         ... here.
28605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
28606         Moved ...
28607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
28608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28609         Moved ...
28610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
28611         ... here.
28612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
28613         Moved ...
28614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28615         ... here.
28616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28617         Moved ...
28618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28619         ... here.
28620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28621         Moved ...
28622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
28623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
28624         Moved ...
28625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
28626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
28627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
28628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
28629         Moved ...
28630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
28631         ... here.
28632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28633         Moved ...
28634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
28635         ... here.
28636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
28637         Moved ...
28638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
28639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28640         Moved ...
28641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
28642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
28643         Moved ...
28644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
28645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28646         Moved ...
28647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
28648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
28649         Moved ...
28650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
28651         ... here.
28652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28653         Moved ...
28654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
28655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
28656         Moved ...
28657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
28658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28659         Moved ...
28660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
28661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
28662         Moved ...
28663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
28664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
28665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
28666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
28667         Moved ...
28668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
28669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28670         Moved ...
28671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
28672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
28673         Moved ...
28674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
28675         ... here.
28676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28677         Moved ...
28678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
28679         ... here.
28680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
28681         Moved ...
28682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
28683         ... here.
28684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28685         Moved ...
28686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
28687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
28688         Moved ...
28689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
28690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28691         Moved ...
28692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
28693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
28694         Moved ...
28695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
28696         ... here.
28697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28698         Moved ...
28699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
28700         ... here.
28701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
28702         Moved ...
28703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
28704         ... here.
28705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28706         Moved ...
28707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
28708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28709         Moved ...
28710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
28712 2014-06-23  Will Newton  <will.newton@linaro.org>
28713             Wilco  <wdijkstr@arm.com>
28715         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
28716         implementation.  Include get-rounding-mode.h.
28717         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
28718         [!libc_feholdsetround_noex_ctx]: Define
28719         libc_feholdsetround_noex_ctx.
28720         [!libc_feholdsetround_noexf_ctx]: Define
28721         libc_feholdsetround_noexf_ctx.
28722         [!libc_feholdsetround_noexl_ctx]: Define
28723         libc_feholdsetround_noexl_ctx.
28724         (libc_feholdsetround_ctx): New function.
28725         (libc_feresetround_ctx): New function.
28726         (libc_feholdsetround_noex_ctx): New function.
28727         (libc_feresetround_noex_ctx): New function.
28729 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28731         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
28732         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
28733         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
28734         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
28735         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
28736         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
28738         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
28739         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
28740         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
28741         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
28742         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
28743         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
28744         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
28745         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
28746         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
28747         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
28748         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
28749         Moved ...
28750         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
28751         ... here.
28752         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
28753         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
28754         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
28755         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
28756         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
28757         Moved ...
28758         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
28759         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
28760         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
28761         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
28762         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
28763         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
28764         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
28765         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
28766         Moved ...
28767         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
28768         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
28769         Moved ...
28770         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
28771         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
28772         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
28773         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
28774         Moved ...
28775         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
28776         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
28777         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
28778         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
28779         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
28780         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
28781         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
28782         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
28783         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
28784         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
28785         Moved ...
28786         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
28787         ... here.
28788         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
28789         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
28790         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
28791         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
28792         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
28793         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
28794         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
28795         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
28796         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
28797         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
28798         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
28799         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
28800         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
28801         Moved ...
28802         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
28803         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
28804         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
28805         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
28806         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
28807         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
28808         Moved ...
28809         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
28810         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
28811         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
28812         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
28813         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
28815         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
28816         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
28817         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
28818         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
28819         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
28820         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
28821         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
28822         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
28823         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
28824         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
28825         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
28826         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
28827         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
28828         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
28829         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
28830         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
28831         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
28832         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
28833         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
28834         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
28835         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
28836         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
28837         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
28838         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
28839         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
28840         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
28841         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
28842         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
28844 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
28846         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28847         (FALLOC_FL_COLLAPSE_RANGE): New macro.
28848         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
28849         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
28850         (IPV6_PMTUDISC_INTERFACE): Likewise.
28851         (IPV6_PMTUDISC_OMIT): Likewise.
28853 2014-06-23  Andreas Schwab  <schwab@suse.de>
28855         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
28856         Remove unused errout label.
28858 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28860         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
28861         macro: hardware supports Vector Crypto instructions.
28863 2014-06-23  Will Newton  <will.newton@linaro.org>
28865         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
28866         rather than __builtin_expect.
28868         * elf/dl-lookup.c (undefined_msg): Remove variable.
28869         (_dl_lookup_symbol_x): Replace undefined_msg with string
28870         literal.
28872         * elf/dl-lookup.c (do_lookup_unique): New function.
28873         (do_lookup_x): Move STB_GNU_UNIQUE handling code
28874         to a separate function.
28876 2014-06-23  Andreas Schwab  <schwab@suse.de>
28878         [BZ #17079]
28879         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
28880         before reading the next line.
28882 2014-06-23  Will Newton  <will.newton@linaro.org>
28884         * test-skeleton.c (signal_handler): Use printf and %m
28885         rather than perror.  Use printf rather than fprintf to
28886         stderr.  Use puts rather than fputs to stderr.
28887         (main): Likewise.
28889 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
28891         * nscd/nscd.c (thread_info_t): Remove typedef.
28892         (thread_info): Remove variable.
28894 2014-06-21  Allan McRae  <allan@archlinux.org>
28896         * NEWS: Mention CVE-2014-4043.
28898 2014-06-20  Roland McGrath  <roland@hack.frob.com>
28900         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
28901         * nptl/smp.h: ... here.
28903         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
28905         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
28906         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
28907         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
28908         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
28910         * nptl/allocatestack.c: Include <stack-aliasing.h>.
28911         * nptl/stack-aliasing.h: New file.
28912         * sysdeps/i386/i686/stack-aliasing.h: New file.
28913         * sysdeps/i386/i686/nptl/Makefile: File removed.
28914         * sysdeps/x86_64/stack-aliasing.h: New file.
28915         * sysdeps/x86_64/nptl/Makefile
28916         (CFLAGS-pthread_create.c): Variable removed.
28918         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
28919         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
28920         old file.
28921         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
28922         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
28923         old file.
28925 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
28927         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28928         (__ASSUME_SIGFRAME_V2): Remove macro.
28929         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
28930         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
28931         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
28932         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
28933         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
28934         Declare as function.  Remove conditional macro definitions.
28935         (__default_rt_sa_restorer): Likewise.
28936         (__default_sa_restorer_v1): Remove declaration.
28937         (__default_sa_restorer_v2): Likewise.
28938         (__default_rt_sa_restorer_v1): Likewise.
28939         (__default_rt_sa_restorer_v2): Likewise.
28940         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
28941         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
28942         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
28944 2014-06-20  Roland McGrath  <roland@hack.frob.com>
28946         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
28947         (libpthread-routines): Add sysdep.
28948         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
28949         * sysdeps/unix/sysv/linux/sparc/Versions
28950         (libpthread: GLIBC_2.3.3): New version set.
28951         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
28952         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
28953         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
28954         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
28955         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
28956         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
28957         Moved ...
28958         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
28959         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
28960         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
28961         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
28962         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
28963         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
28964         * sysdeps/sparc/nptl/sem_init.c: ... here.
28965         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
28966         * sysdeps/sparc/nptl/sem_post.c: ... here.
28967         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
28968         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
28969         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
28970         * sysdeps/sparc/nptl/sem_wait.c: ... here.
28971         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
28972         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
28973         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
28974         (libpthread-routines): Add cpu_relax.
28975         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
28976         File removed.
28977         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
28978         (librt: GLIBC_2.3.3): New version set.
28979         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
28980         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
28981         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
28982         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
28983         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
28984         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
28985         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
28986         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
28987         Moved ...
28988         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
28989         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
28990         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
28991         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
28992         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
28993         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
28994         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
28995         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
28996         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
28997         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
28998         Moved ...
28999         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
29000         Update #include.
29001         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
29002         Moved ...
29003         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
29004         Update #include.
29005         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
29006         Moved ...
29007         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
29008         Update #include.
29009         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
29010         Moved ...
29011         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
29012         Update #include.
29013         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
29014         Moved ...
29015         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
29016         Update #include.
29017         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
29018         Moved ...
29019         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
29020         Update #include.
29021         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
29022         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
29023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
29024         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
29025         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
29026         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
29027         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
29028         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
29029         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
29030         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
29031         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
29032         Moved ...
29033         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
29034         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
29035         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
29036         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
29037         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
29039 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29041         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
29042         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
29043         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29044         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
29045         * nscd/nscd.c: Likewise.
29046         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
29047         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
29048         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
29049         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
29051         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
29052         <kernel-features.h>.
29053         (init_mq_netlink): Remove conditional have_sock_cloexec
29054         definitions.  Remove code conditional on have_sock_cloexec < 0.
29055         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
29056         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
29057         * sysdeps/unix/sysv/linux/opensock.c: Do not include
29058         <kernel-features.h>.
29059         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
29060         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
29062 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29064         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29065         Add tests for memset_chk and memset.
29067         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
29068         with AVX2_Usable.
29070 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29072         [BZ #16046]
29073         * elf/tst-dl-iter-static.c: New file.
29074         * elf/Makefile (tests-static): Add tst-dl-iter-static.
29076         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
29077         error.
29079 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29081         * sysdeps/unix/sysv/linux/kernel-features.h
29082         (__ASSUME_F_GETOWN_EX): Remove macro.
29083         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
29084         <kernel-features.h>.
29085         (miss_F_GETOWN_EX): Remove variable or macro.
29086         (do_fcntl): Do not check miss_F_GETOWN_EX.
29087         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
29089         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
29090         Remove macro.
29091         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
29092         [!__ASSUME_AT_RANDOM]: Remove conditional code.
29093         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
29095         * sysdeps/unix/sysv/linux/kernel-features.h
29096         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
29097         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
29098         [ADJ_OFFSET_SS_READ]: Make code unconditional.
29099         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
29101 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29103         [BZ #17075]
29104         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
29105         Fix calculation of the symbol's value.
29106         * sysdeps/arm/tst-armtlsdescloc.c: New file.
29107         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
29108         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
29109         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
29110         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
29111         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
29112         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
29113         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
29114         (modules-names): Add `tst-armtlsdescmod',
29115         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
29116         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
29117         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29118         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
29119         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
29120         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29121         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
29122         ($(objpfx)tst-armtlsdescloc): New dependency.
29123         ($(objpfx)tst-armtlsdescextnow): Likewise.
29124         ($(objpfx)tst-armtlsdescextlazy): Likewise.
29125         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
29126         TLS scheme support.
29127         * sysdeps/arm/configure: Regenerate.
29129 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29131         * include/fcntl.h (__atfct_seterrno): Remove prototype.
29132         (__atfct_seterrno_2): Likewise.
29133         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
29134         <kernel-features.h>.
29135         (__ASSUME_ATFCTS): Do not undefine and redefine.
29136         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
29137         (__have_atfcts): Remove conditional definition.
29138         (__fxstatat([__NR_fstatat64]: Make code unconditional.
29139         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
29140         unreachable if [__ASSUME_ATFCTS].
29141         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
29142         not undefine and redefine.
29143         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
29144         <kernel-features.h>.
29145         (faccessat) [__NR_faccessat]: Make code unconditional.
29146         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
29147         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
29148         <kernel-features.h>.
29149         (fchmodat) [__NR_fchmodat]: Make code unconditional.
29150         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29151         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
29152         <kernel-features.h>.
29153         (fchownat) [__NR_fchownat]: Make code unconditional.
29154         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
29155         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
29156         <kernel-features.h>.
29157         (futimesat) [__NR_futimesat]: Make code unconditional.
29158         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
29159         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29160         <kernel-features.h>.
29161         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29162         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29163         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29164         <kernel-features.h>.
29165         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
29166         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29167         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
29168         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29169         <kernel-features.h>.
29170         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
29171         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29172         * sysdeps/unix/sysv/linux/linkat.c: Do not include
29173         <kernel-features.h>.
29174         (linkat) [__NR_linkat]: Make code unconditional.
29175         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29176         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
29177         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
29178         <kernel-features.h>.
29179         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
29180         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29181         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
29182         <kernel-features.h>.
29183         (mkdirat) [__NR_mkdirat]: Make code unconditional.
29184         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
29185         * sysdeps/unix/sysv/linux/openat.c: Do not include
29186         <kernel-features.h>.
29187         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
29188         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
29189         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
29190         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
29191         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
29192         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
29193         <kernel-features.h>.
29194         (readlinkat) [__NR_readlinkat]: Make code unconditional.
29195         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
29196         result of INLINE_SYSCALL directly, not via int variable.
29197         * sysdeps/unix/sysv/linux/renameat.c: Do not include
29198         <kernel-features.h>.
29199         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
29200         (renameat) [__NR_renameat]: Make code unconditional.
29201         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
29202         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
29203         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
29204         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
29205         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
29206         (__ASSUME_ATFCTS): Do not undefine and redefine.
29207         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
29208         <kernel-features.h>.
29209         (symlinkat) [__NR_symlinkat]: Make code unconditional.
29210         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29211         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
29212         <kernel-features.h>.
29213         (unlinkat) [__NR_unlinkat]: Make code unconditional.
29214         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29215         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
29216         (__ASSUME_ATFCTS): Do not undefine and redefine.
29217         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29218         <kernel-features.h>.
29219         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29220         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29221         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29222         <kernel-features.h>.
29223         (__xmknodat) [__NR_mknodat]: Make code unconditional.
29224         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29226 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29228         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
29230 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
29232         [BZ #17069]
29233         * posix/regcomp.c (parse_reg_exp): Deallocate partially
29234         constructed tree before returning error.
29235         * posix/bug-regexp36.c: Expand test case.
29237 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
29239         [BZ #6803]
29240         * math/libm-test.inc (scalbln_test_date):
29241         Add errno expectations.
29242         * math/w_scalblnf.c: New File.
29243         Add wrapper which checks for setting errno to ERANGE.
29244         Add weak_alias for corresponding scalbln function.
29245         * math/w_scalbln.c: Likewise.
29246         * math/w_scalblnl.c: Likewise.
29247         * math/Makefile (libm-calls): Add w_scalbln.
29248         * sysdeps/ieee754/flt-32/s_scalblnf.c:
29249         Remove weak_alias for corresponding scalbln function.
29250         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29251         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29252         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29253         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29254         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
29255         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
29256         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
29257         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
29258         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
29259         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
29260         Remove long_double_symbol for scalblnl function in libm, libc.
29261         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
29262         Add wrapper which checks for setting errno to ERANGE.
29263         Add long_double_symbol for scalblnl function in libm, libc.
29264         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
29265         Remove long_double_symbol for scalblnl in libm.
29266         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
29267         Add wrapper which checks for setting errno to ERANGE.
29268         Add long_double_symbol for scalblnl function in libm.
29269         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
29270         Do not use wrapper because of own implementation.
29272 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
29274         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
29275         3 bytes for __pad1 for x32.
29276         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
29278 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
29279             H.J. Lu  <hongjiu.lu@intel.com>
29281         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
29282         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
29283         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29284         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29285         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
29287 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
29289         [BZ #17069]
29290         * posix/regcomp.c (parse_expression): Deallocate partially
29291         constructed tree before returning error.
29292         * posix/Makefile.c (tests): Add bug-regex36.
29293         (generated): Add bug-regex36.mtrace.
29294         (tests-special): Add $(objpfx)bug-regex36-mem.out
29295         (bug-regex36-ENV): New variable.
29296         ($(objpfx)bug-regex36-mem.out): New rule.
29297         * posix/bug-regex36.c: New file.
29299 2014-06-19  Will Newton  <will.newton@linaro.org>
29301         * malloc/malloc.c (systrim): If extra is zero then return
29302         early.
29304 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29306         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
29308 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
29310         * sysdeps/aarch64/strchr.S: New file.
29312 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
29314         [BZ #17022]
29315         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
29316         from arguments -2 or below.
29317         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
29318         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
29320 2014-06-18  Andreas Schwab  <schwab@suse.de>
29322         [BZ #17062]
29323         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
29324         of a bracket expr not to run off the end of the string.
29325         * posix/Makefile (tests): Add tst-fnmatch3.
29326         * posix/tst-fnmatch3.c: New file.
29328 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
29330         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
29331         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29332         [$(cross-compiling) = no]: Likewise.
29333         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29334         [$(cross-compiling) = no]: Likewise.
29336 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29338         [BZ #17031]
29339         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
29340         double, adjusted for any remainder from the high double.
29341         * math/libm-test.inc (nearbyint): Add tests.
29342         (rint): Likewise.
29344 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29346         * nptl/sysdeps/powerpc/Makefile: Moved ...
29347         * sysdeps/powerpc/nptl/Makefile: ... here.
29348         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
29349         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
29350         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
29351         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
29352         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
29353         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
29354         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
29355         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
29356         * nptl/sysdeps/powerpc/tls.h: Moved ...
29357         * sysdeps/powerpc/nptl/tls.h: ... here.
29359 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
29361         [BZ #16681]
29362         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
29363         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
29364         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
29365         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
29366         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
29367         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
29368         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
29369         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
29370         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
29372 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
29374         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29376 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
29378         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
29379         defined operator.
29381         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
29382         $TIMEOUTFACTOR.
29384 2014-06-16  Florian Weimer  <fweimer@redhat.com>
29386         [BZ #17058]
29387         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
29388         non-executed part of the test.
29390 2014-06-16  Andreas Schwab  <schwab@suse.de>
29392         * string/bits/string2.h (strdup, strndup): Update feature guard.
29394 2014-06-14  David S. Miller  <davem@davemloft.net>
29396         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29398 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
29400         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
29401         that was previously under [RESET_PID].
29402         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
29404         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
29405         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
29406         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
29407         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29408         (__libc_vfork): New strong alias.
29409         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
29411 2014-06-14 Andi Kleen  <ak@linux.intel.com>
29413         * sysdeps/generic/elide.h: New file.
29415 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29417         * Makefile (installed-headers): Adjust path of pthread.h header.
29419 2014-06-13  Roland McGrath  <roland@hack.frob.com>
29421         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
29422         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
29423         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
29424         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
29426         * nptl/sysdeps/s390/Makefile: Moved ...
29427         * sysdeps/s390/nptl/Makefile: ... here.
29428         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
29429         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
29430         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
29431         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
29432         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
29433         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
29434         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
29435         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
29436         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
29437         * sysdeps/s390/nptl/pthreaddef.h: ... here.
29438         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
29439         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
29440         * nptl/sysdeps/s390/tls.h: Moved ...
29441         * sysdeps/s390/nptl/tls.h: ... here.
29443         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
29444         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
29446 2014-06-13  David S. Miller  <davem@davemloft.net>
29448         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
29449         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
29450         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
29451         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
29452         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
29453         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
29454         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
29455         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
29456         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
29457         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
29458         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
29459         Remove RESET_PID cpp guards.
29460         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
29461         Remove RESET_PID cpp guards.
29462         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
29464 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
29466         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
29467         __sp to uintptr_t.
29469 2014-06-13  Andi Kleen  <ak@linux.intel.com>
29471         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
29472         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
29473         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
29474         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
29475         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
29476         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
29477         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
29478         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
29479         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
29480         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
29481         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
29482         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
29483         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
29484         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
29485         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
29486         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
29487         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
29488         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
29489         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
29490         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
29492         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
29493         (pthread_rwlock_rdlock): Add elision.
29494         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
29495         (pthread_rwlock_wrlock): Add elision.
29496         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
29497         (pthread_rwlock_trywrlock): Add elision.
29498         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
29499         (pthread_rwlock_tryrdlock): Add elision.
29500         * nptl/pthread_rwlock_unlock.c: Include elide.h.
29501         (pthread_rwlock_tryrdlock): Add elision unlock.
29502         * nptl/sysdeps/pthread/pthread.h:
29503         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
29504         (PTHREAD_RWLOCK_INITIALIZER,
29505         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
29506         Handle new elision field.
29507         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
29508         * sysdeps/arm/nptl/bits/pthreadtypes.h
29509         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29510         * sysdeps/sh/nptl/bits/pthreadtypes.h
29511         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29512         * sysdeps/tile/nptl/bits/pthreadtypes.h
29513         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29514         * sysdeps/a/nptl/bits/pthreadtypes.h
29515         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29516         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
29517         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29518         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
29519         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29520         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
29521         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29522         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
29523         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29524         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
29525         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29526         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
29527         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29528         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
29529         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29530         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
29531         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29532         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
29533         (elision_init): Set try_xbegin to zero when no RTM.
29534         * sysdeps/x86/nptl/bits/pthreadtypes.h
29535         (pthread_rwlock_t): Change __pad1 to __rwelision.
29536         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29538 2014-06-13  Andi Kleen  <ak@linux.intel.com>
29540         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
29541         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
29542         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
29543         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
29545 2014-06-13  Meador Inge  <meadori@codesourcery.com>
29547         [BZ #16996]
29548         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
29549         that the cached result has been set before returning it.
29551 2014-06-12  Roland McGrath  <roland@hack.frob.com>
29553         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
29554         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
29555         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
29556         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
29557         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
29558         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
29560         * nptl/sysdeps/sparc/Makefile: Moved ...
29561         * sysdeps/sparc/nptl/Makefile: ... here.
29562         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
29563         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
29564         * nptl/sysdeps/sparc/tls.h: Moved ...
29565         * sysdeps/sparc/nptl/tls.h: ... here.
29566         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
29567         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
29568         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
29569         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
29570         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
29571         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
29572         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
29573         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
29574         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
29575         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
29576         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
29577         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
29578         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
29579         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
29580         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
29581         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
29582         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
29583         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
29584         Update #include.
29585         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
29586         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
29587         Update #include.
29588         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
29589         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
29590         Update #include.
29591         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
29592         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
29593         Update #include.
29595         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
29597         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
29598         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
29600         * sysdeps/pthread/posix-timer.h: Include <list.h>.
29601         (struct list_links): Type removed.
29602         (struct thread_node, struct timer_node): Replace struct list_links
29603         with struct list_head.
29604         (list_unlink_ip): Likewise.
29605         * sysdeps/pthread/timer_routines.c
29606         (timer_free_list, thread_free_list, thread_active_list): Likewise.
29607         (list_append, list_insbefore): Likewise.
29608         (list_init): Function removed.
29609         (thread_init, init_module): Use INIT_LIST_HEAD instead.
29610         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
29611         * sysdeps/pthread/Makefile: ... here, new file.
29613         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
29614         * sysdeps/nptl/Implies: ... here.
29615         * sysdeps/unix/sysv/linux/Implies: Add nptl.
29616         * nptl/sysdeps/pthread/list.h: Moved ...
29617         * include/list.h: ... here.
29618         * nptl/sysdeps/pthread/createthread.c: Moved ...
29619         * nptl/createthread.c: ... here.
29620         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
29621         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
29622         * nptl/pt-longjmp.c: ... here.
29623         * nptl/sysdeps/pthread/Makefile: Moved ...
29624         * sysdeps/nptl/Makefile: ... here.
29625         * nptl/sysdeps/pthread/Subdirs: Moved ...
29626         * sysdeps/nptl/Subdirs: ... here.
29627         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
29628         * sysdeps/nptl/aio_misc.h: ... here.
29629         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
29630         * sysdeps/nptl/bits/libc-lock.h: ... here.
29631         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
29632         * sysdeps/nptl/bits/libc-lockP.h: ... here.
29633         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
29634         * sysdeps/nptl/bits/stdio-lock.h: ... here.
29635         * nptl/sysdeps/pthread/configure: Moved ...
29636         * sysdeps/nptl/configure: ... here.
29637         * nptl/sysdeps/pthread/configure.ac: Moved ...
29638         * sysdeps/nptl/configure.ac: ... here.
29639         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
29640         * sysdeps/nptl/gai_misc.h: ... here.
29641         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
29642         * sysdeps/nptl/librt-cancellation.c: ... here.
29643         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
29644         * sysdeps/nptl/malloc-machine.h: ... here.
29645         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
29646         * sysdeps/nptl/pthread-functions.h: ... here.
29647         * nptl/sysdeps/pthread/pthread.h: Moved ...
29648         * sysdeps/nptl/pthread.h: ... here.
29649         * nptl/sysdeps/pthread/setxid.h: Moved ...
29650         * sysdeps/nptl/setxid.h: ... here.
29651         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
29652         * sysdeps/nptl/sigfillset.c: ... here.
29653         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
29654         * sysdeps/nptl/tcb-offsets.h: ... here.
29655         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
29656         * sysdeps/nptl/tst-mqueue8x.c: ... here.
29657         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
29658         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
29659         * nptl/sysdeps/pthread/allocalim.h: Moved ...
29660         * sysdeps/pthread/allocalim.h: ... here.
29661         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
29662         * sysdeps/pthread/bits/sigthread.h: ... here.
29663         * nptl/sysdeps/pthread/flockfile.c: Moved ...
29664         * sysdeps/pthread/flockfile.c: ... here.
29665         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
29666         * sysdeps/pthread/ftrylockfile.c: ... here.
29667         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
29668         * sysdeps/pthread/funlockfile.c: ... here.
29669         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
29670         * sysdeps/pthread/posix-timer.h: ... here.
29671         * nptl/sysdeps/pthread/timer_create.c: Moved ...
29672         * sysdeps/pthread/timer_create.c: ... here.
29673         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
29674         * sysdeps/pthread/timer_delete.c: ... here.
29675         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
29676         * sysdeps/pthread/timer_getoverr.c: ... here.
29677         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
29678         * sysdeps/pthread/timer_gettime.c: ... here.
29679         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
29680         * sysdeps/pthread/timer_routines.c: ... here.
29681         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
29682         * sysdeps/pthread/timer_settime.c: ... here.
29683         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
29684         * sysdeps/pthread/tst-timer.c: ... here.
29685         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
29686         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
29688         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
29689         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
29691         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
29692         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
29693         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
29694         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
29695         Update #include target.
29696         * nptl/sysdeps/i386/i686/Makefile: Moved ...
29697         * sysdeps/i386/i686/nptl/Makefile: ... here.
29698         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
29699         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
29700         Update #include target.
29701         * nptl/sysdeps/i386/i686/tls.h: Moved ...
29702         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
29703         * nptl/sysdeps/i386/Makefile: Moved ...
29704         * sysdeps/i386/nptl/Makefile: ... here.
29705         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
29706         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
29707         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
29708         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
29709         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
29710         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
29711         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
29712         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
29713         * sysdeps/i386/nptl/pthreaddef.h: ... here.
29714         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
29715         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
29716         * nptl/sysdeps/i386/tls.h: Moved ...
29717         * sysdeps/i386/nptl/tls.h: ... here.
29719         * sysdeps/sh/Makefile [$(subdir) = csu]
29720         (gen-as-const-headers): Add tcb-offsets.sym.
29721         * nptl/sysdeps/sh/Makefile: File removed.
29722         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
29723         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
29724         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
29725         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
29726         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
29727         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
29728         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
29729         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
29730         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
29731         * sysdeps/sh/nptl/pthreaddef.h: ... here.
29732         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
29733         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
29734         * nptl/sysdeps/sh/tls.h: Moved ...
29735         * sysdeps/sh/nptl/tls.h: ... here.
29736         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
29737         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
29738         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
29739         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
29740         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
29741         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
29742         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
29743         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
29744         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
29745         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
29746         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
29747         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
29748         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
29749         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
29750         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
29751         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
29752         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
29753         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
29754         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
29755         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
29756         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
29757         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
29758         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
29759         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
29760         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
29761         Moved ...
29762         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
29763         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
29764         Moved ...
29765         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
29766         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
29767         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
29768         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
29769         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
29770         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
29771         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
29772         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
29773         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
29774         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
29775         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
29776         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
29777         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
29778         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
29779         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
29780         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
29781         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
29782         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
29783         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
29785 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29787         * posix/spawn_faction_addopen.c: Include string.h.
29789 2014-06-11  Roland McGrath  <roland@hack.frob.com>
29791         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
29792         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
29793         * nptl/sysdeps/x86_64/Makefile: Moved ...
29794         * sysdeps/x86_64/nptl/Makefile: ... here.
29795         * nptl/sysdeps/x86_64/configure: Moved ...
29796         * sysdeps/x86_64/nptl/configure: ... here.
29797         * nptl/sysdeps/x86_64/configure.ac: Moved ...
29798         * sysdeps/x86_64/nptl/configure.ac: ... here.
29799         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
29800         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
29801         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
29802         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
29803         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
29804         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
29805         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
29806         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
29807         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
29808         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
29809         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
29810         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
29811         * nptl/sysdeps/x86_64/tls.h: Moved ...
29812         * sysdeps/x86_64/nptl/tls.h: ... here.
29813         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
29814         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
29815         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
29816         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
29818         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
29820 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29822         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29824 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
29826         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
29827         type.
29828         [POSIX] (off_t): Likewise.
29829         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
29830         [POSIX] (S_ISBLK): Require macro.
29831         [POSIX] (S_ISCHR): Likewise.
29832         [POSIX] (S_ISDIR): Likewise.
29833         [POSIX] (S_ISFIFO): Likewise.
29834         [POSIX] (S_ISREG): Likewise.
29835         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
29836         optional-macro.
29837         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
29838         type.
29839         [POSIX] (time_t): Likewise.
29840         [POSIX] (timer_t): Likewise.
29842 2014-06-11  Florian Weimer  <fweimer@redhat.com>
29844         [BZ #17048]
29845         * posix/spawn_int.h (struct __spawn_action): Make the path string
29846         non-const to support deallocation.
29847         * posix/spawn_faction_addopen.c
29848         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
29849         * posix/spawn_faction_destroy.c
29850         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
29851         path in all spawn_do_open actions.
29852         * posix/tst-spawn.c (do_test): Exercise the copy operation in
29853         posix_spawn_file_actions_addopen.
29855 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
29857         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
29858         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
29859         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
29860         conditional code always true.
29861         (__libc_vfork): New alias.
29863 2014-06-11  Roland McGrath  <roland@hack.frob.com>
29865         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29866         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
29868         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
29870         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29871         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
29873         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
29874         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
29876         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29877         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
29879 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29881         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
29882         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
29883         multiarch strcmp for PPC64.
29884         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
29885         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
29886         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
29887         multiarch optimizations.
29888         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29889         (__libc_ifunc_impl_list): Likewise.
29891 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29893         * benchtests/scripts/validate_benchout.py: New script.
29894         * benchtests/Makefile (bench-func): Call it.
29895         * benchtests/scripts/benchout.schema.json: New file.
29897 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
29899         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
29900         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
29901         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
29902         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
29903         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
29904         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
29905         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
29906         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
29907         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
29908         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
29909         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
29910         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
29911         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
29912         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
29913         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
29914         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
29915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
29916         Moved ...
29917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
29918         ... here.
29919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
29920         Moved ...
29921         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
29922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
29923         Moved ...
29924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
29925         ... here.
29926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
29927         Moved ...
29928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
29929         ... here.
29930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
29931         Moved ...
29932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
29933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
29934         Moved ...
29935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
29936         ... here.
29937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
29938         Moved ...
29939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
29940         ... here.
29941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
29942         Moved ...
29943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
29944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
29945         Moved ...
29946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
29947         ... here.
29948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
29949         Moved ...
29950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
29951         ... here.
29952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
29953         Moved ...
29954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
29955         ... here.
29956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
29957         Moved ...
29958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
29959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
29960         Moved ...
29961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
29962         ... here.
29963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
29964         Moved ...
29965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
29966         ... here.
29967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
29968         Moved ...
29969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
29970         ... here.
29971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
29972         Moved ...
29973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
29974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
29975         Moved ...
29976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
29977         ... here.
29978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
29979         Moved ...
29980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
29981         ... here.
29982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
29983         Moved ...
29984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
29985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
29986         Moved ...
29987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
29988         ... here.
29989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
29990         Moved ...
29991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
29992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
29993         Moved ...
29994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
29995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
29996         Moved ...
29997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
29998         ... here.
29999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
30000         Moved ...
30001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
30002         ... here.
30003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
30004         Moved ...
30005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
30006         ... here.
30007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
30008         Moved ...
30009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
30010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
30011         Moved ...
30012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
30013         ... here.
30014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
30015         Moved ...
30016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
30017         ... here.
30018         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
30019         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
30020         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
30021         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
30022         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
30023         Moved ...
30024         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
30025         ... here.
30026         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
30027         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
30028         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
30029         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
30030         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
30031         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
30032         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
30033         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
30034         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
30035         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
30036         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
30037         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
30038         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
30039         Moved ...
30040         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
30041         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
30042         Moved ...
30043         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
30044         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
30045         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
30046         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
30047         Moved ...
30048         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
30049         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
30050         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
30051         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
30052         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
30053         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
30054         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
30056 2014-06-10  Wilco  <wdijkstr@arm.com>
30058         * math/test-fenv-return.c: New file.
30059         * math/Makefile: Add new test test-fenv-return.
30061 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
30063         [BZ #17042]
30064         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
30065         when x - 1 is zero.
30066         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
30067         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
30068         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
30069         0.0L for an argument of 1.0L.
30070         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
30071         Likewise.
30072         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
30073         value when x - 1 is zero.
30074         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
30075         * sysdeps/i386/fpu/libm-test-ulps: Update.
30076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30078 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
30080         [BZ #15119]
30081         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
30083 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30085         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
30086         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
30088 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30090         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30091         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
30093         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30094         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
30096         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30097         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
30099         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30100         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
30102         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
30103         if not already defined.
30104         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
30105         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
30106         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
30107         (TLS_INIT_TP): Use it.
30108         (TLS_DEFINE_INIT_TP): New macro.
30109         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
30111 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
30113         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
30114         constant.
30115         [POSIX] (IXANY): Likewise.
30116         [POSIX] (OLCUC): Likewise.
30117         [POSIX || POSIX2008] (CBAUD): Do not allow.
30118         [POSIX || POSIX2008] (DEFECHO): Likewise.
30119         [POSIX || POSIX2008] (ECHOCTL): Likewise.
30120         [POSIX || POSIX2008] (ECHOKE): Likewise.
30121         [POSIX || POSIX2008] (ECHOPRT): Likewise.
30122         [POSIX || POSIX2008] (EXTA): Likewise.
30123         [POSIX || POSIX2008] (EXTB): Likewise.
30124         [POSIX || POSIX2008] (FLUSHO): Likewise.
30125         [POSIX || POSIX2008] (LOBLK): Likewise.
30126         [POSIX || POSIX2008] (PENDIN): Likewise.
30127         [POSIX || POSIX2008] (SWTCH): Likewise.
30128         [POSIX || POSIX2008] (VDISCARD): Likewise.
30129         [POSIX || POSIX2008] (VDSUSP): Likewise.
30130         [POSIX || POSIX2008] (VLNEXT): Likewise.
30131         [POSIX || POSIX2008] (VREPRINT): Likewise.
30132         [POSIX || POSIX2008] (VSTATUS): Likewise.
30133         [POSIX || POSIX2008] (VWERASE): Likewise.
30134         (B*): Change to B[0123456789]*.
30135         * conform/data/time.h-data [POSIX || UNIX98]
30136         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
30137         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30138         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
30139         [POSIX] (tm_*): Do not allow.
30141 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
30143         * Makefile (install): Don't set LANGUAGE.
30144         * Makefile.in (install): Likewise.
30145         * assert/Makefile (test-assert-ENV): Remove variable.
30146         (test-assert-perr-ENV): Likewise.
30147         * elf/Makefile (neededtest4-ENV): Likewise.
30148         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30149         [$(cross-compiling) = no]: Don't set LANGUAGE.
30150         * io/ftwtest-sh (LANG): Remove variable.
30151         * libio/Makefile (tst-widetext-ENV): Likewise.
30152         * manual/install.texi (Running make install): Don't refer to
30153         environment settings for make install.
30154         * INSTALL: Regenerated.
30155         * nptl/tst-tls6.sh: Don't set LANG.
30156         * posix/globtest.sh (LANG): Remove variable.
30157         * string/Makefile (tester-ENV): Likewise.
30158         (inl-tester-ENV): Likewise.
30159         (noinl-tester-ENV): Likewise.
30160         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30161         [$(cross-compiling) = no]: Don't set LANGUAGE.
30162         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
30163         without explicit environment settings.
30165 2014-06-06  Roland McGrath  <roland@hack.frob.com>
30167         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
30168         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
30169         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
30170         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
30172 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
30174         * crypt/crypt-private.h [DOS]: Add some includes taken from the
30175         other files in the crypt directory.
30176         * crypt/crypt.c: Remove duplicate includes.
30177         * crypt/crypt-entry.c: Likewise.
30178         * crypt/crypt_util.c: Likewise.
30180 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
30182         * Makeconfig (run-program-env): New variable.
30183         (run-program-prefix-before-env): Likewise.
30184         (run-program-prefix-after-env): Likewise.
30185         (run-program-prefix): Define in terms of new variables.
30186         (built-program-cmd-before-env): New variable.
30187         (built-program-cmd-after-env): Likewise.
30188         (built-program-cmd): Define in terms of new variables.
30189         (test-program-prefix-before-env): New variable.
30190         (test-program-prefix-after-env): Likewise.
30191         (test-program-prefix): Define in terms of new variables.
30192         (test-program-cmd-before-env): New variable.
30193         (test-program-cmd-after-env): Likewise.
30194         (test-program-cmd): Define in terms of new variables.
30195         * Rules (make-test-out): Use $(run-program-env).
30196         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
30197         (help): Do not mention environment variables.  Mention
30198         --timeoutfactor option.
30199         (timeoutfactor): New variable.
30200         (blacklist_exports): Remove function.
30201         (exports): Remove variable.
30202         (command): Do not include ${exports}.
30203         * manual/install.texi (Configuring and compiling): Do not mention
30204         test wrappers preserving environment variables.  Mention that last
30205         assignment to a variable must take precedence.
30206         * INSTALL: Regenerated.
30207         * benchtests/Makefile (run-bench): Use $(run-program-env).
30208         * catgets/Makefile ($(objpfx)test1.cat): Use
30209         $(built-program-cmd-before-env), $(run-program-env) and
30210         $(built-program-cmd-after-env).
30211         ($(objpfx)test2.cat): Do not specify environment variables
30212         explicitly.
30213         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
30214         $(run-program-env) and $(built-program-cmd-after-env).
30215         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
30216         $(run-program-env) and $(test-program-cmd-after-env).
30217         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
30218         explicitly.
30219         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
30220         run_program_env and test_program_cmd_after_env arguments.
30221         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
30222         * elf/tst-pathopt.sh: Use run_program_env argument.
30223         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
30224         $(test-wrapper-env) and $(run-program-env).
30225         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
30226         run_program_env arguments.
30227         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
30228         * intl/Makefile ($(objpfx)tst-gettext.out): Use
30229         $(test-program-prefix-before-env), $(run-program-env) and
30230         $(test-program-prefix-after-env).
30231         ($(objpfx)tst-gettext2.out): Likewise.
30232         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
30233         run_program_env and test_program_prefix_after_env arguments.
30234         * intl/tst-gettext2.sh: Likewise.
30235         * intl/tst-gettext4.sh: Do not set environment variables
30236         explicitly.
30237         * intl/tst-gettext6.sh: Likewise.
30238         * intl/tst-translit.sh: Likewise.
30239         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
30240         $(test-program-prefix-before-env), $(run-program-env) and
30241         $(test-program-prefix-after-env).
30242         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
30243         run_program_env and test_program_prefix_after_env arguments.
30244         * math/Makefile (run-regen-ulps): Use $(run-program-env).
30245         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
30246         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
30247         explicitly with each use of ${test_wrapper_env}.
30248         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
30249         $(test-program-prefix-before-env), $(run-program-env) and
30250         $(test-program-prefix-after-env).
30251         * posix/tst-getconf.sh: Do not set environment variables
30252         explicitly.
30253         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
30254         run_program_env and test_program_prefix_after_env arguments.
30255         * stdio-common/tst-printf.sh: Do not set environment variables
30256         explicitly.
30257         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
30258         $(test-program-prefix-before-env), $(run-program-env) and
30259         $(test-program-prefix-after-env).
30260         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
30261         run_program_env and test_program_prefix_after_env arguments.
30262         Split $test calls into $test_pre and $test.
30263         * timezone/Makefile (build-testdata): Use
30264         $(built-program-cmd-before-env), $(run-program-env) and
30265         $(built-program-cmd-after-env).
30267 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30269         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
30270         strlen for non SHARED builds.
30272 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30274         * nptl/allocatestack.c (check_list): Inlined function...
30275         (__reclaim_stacks): ... here.
30277 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
30279         [BZ #15698]
30280         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30281         memory overrun.
30283 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
30285         * Rules (make-test-out): Include
30286         LOCPATH=$(common-objpfx)localedata in default environment.
30287         * debug/Makefile (tst-chk1-ENV): Remove variable.
30288         (tst-chk2-ENV): Likewise.
30289         (tst-chk3-ENV): Likewise.
30290         (tst-chk4-ENV): Likewise.
30291         (tst-chk5-ENV): Likewise.
30292         (tst-chk6-ENV): Likewise.
30293         (tst-lfschk1-ENV): Likewise.
30294         (tst-lfschk2-ENV): Likewise.
30295         (tst-lfschk3-ENV): Likewise.
30296         (tst-lfschk4-ENV): Likewise.
30297         (tst-lfschk5-ENV): Likewise.
30298         (tst-lfschk6-ENV): Likewise.
30299         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
30300         (tst-iconv7-ENV): Likewise.
30301         * intl/Makefile (LOCPATH-ENV): Likewise.
30302         (tst-codeset-ENV): Likewise.
30303         (tst-gettext3-ENV): Likewise.
30304         (tst-gettext5-ENV): Likewise.
30305         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
30306         (tst-fopenloc-ENV): Likewise.
30307         (tst-fgetws-ENV): Remove variable.
30308         (tst-ungetwc1-ENV): Likewise.
30309         (tst-ungetwc2-ENV): Likewise.
30310         (bug-ungetwc2-ENV): Likewise.
30311         (tst-swscanf-ENV): Likewise.
30312         (bug-ftell-ENV): Likewise.
30313         (tst-fgetwc-ENV): Likewise.
30314         (tst-fseek-ENV): Likewise.
30315         (tst-ftell-partial-wide-ENV): Likewise.
30316         (tst-ftell-active-handler-ENV): Likewise.
30317         (tst-ftell-append-ENV): Likewise.
30318         * posix/Makefile (tst-fnmatch-ENV): Likewise.
30319         (tst-regexloc-ENV): Likewise.
30320         (bug-regex1-ENV): Likewise.
30321         (tst-regex-ENV): Likewise.
30322         (tst-regex2-ENV): Likewise.
30323         (bug-regex5-ENV): Likewise.
30324         (bug-regex6-ENV): Likewise.
30325         (bug-regex17-ENV): Likewise.
30326         (bug-regex18-ENV): Likewise.
30327         (bug-regex19-ENV): Likewise.
30328         (bug-regex20-ENV): Likewise.
30329         (bug-regex22-ENV): Likewise.
30330         (bug-regex23-ENV): Likewise.
30331         (bug-regex25-ENV): Likewise.
30332         (bug-regex26-ENV): Likewise.
30333         (bug-regex30-ENV): Likewise.
30334         (bug-regex32-ENV): Likewise.
30335         (bug-regex33-ENV): Likewise.
30336         (bug-regex34-ENV): Likewise.
30337         (bug-regex35-ENV): Likewise.
30338         (tst-rxspencer-ENV): Likewise.
30339         (tst-rxspencer-no-utf8-ENV): Likewise.
30340         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
30341         (tst-sscanf-ENV): Likewise.
30342         (tst-swprintf-ENV): Likewise.
30343         (tst-swscanf-ENV): Likewise.
30344         (test-vfprintf-ENV): Likewise.
30345         (scanf13-ENV): Likewise.
30346         (bug14-ENV): Likewise.
30347         (tst-grouping-ENV): Likewise.
30348         * stdlib/Makefile (tst-strtod-ENV): Likewise.
30349         (tst-strtod3-ENV): Likewise.
30350         (tst-strtod4-ENV): Likewise.
30351         (tst-strtod5-ENV): Likewise.
30352         (testmb2-ENV): Likewise./
30353         * string/Makefile (tst-strxfrm-ENV): Likewise.
30354         (tst-strxfrm2-ENV): Likewise.
30355         (bug-strcoll1-ENV): Likewise.
30356         (test-strcasecmp-ENV): Likewise.
30357         (test-strncasecmp-ENV): Likewise.
30358         * time/Makefile (tst-strptime-ENV): Likewise.
30359         (tst-ftime_l-ENV): Likewise.
30360         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
30361         (tst-mbrtowc-ENV): Likewise.
30362         (tst-wcrtomb-ENV): Likewise.
30363         (tst-mbrtowc2-ENV): Likewise.
30364         (tst-c16c32-1-ENV): Likewise.
30365         (tst-mbsnrtowcs-ENV): Likewise.
30367 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
30369         * manual/resource.texi (How to get information about the memory
30370         subsystem?): Fix typo.
30371         Reported by Peon de la Parra Ivan <peon@keba.com>
30373 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
30375         [BZ #16882]
30376         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
30377         (pthread_spin_lock): Branch out of spin loop to proper location.
30378         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
30379         (pthread_spin_lock): Likewise.
30381         * nptl/tst-spin4.c: New test.
30382         * nptl/Makefile (tests): Add tst-spin4.
30384 2014-06-03  Andreas Schwab  <schwab@suse.de>
30386         [BZ #15946]
30387         * resolv/res_send.c (send_dg): Reload file descriptor after
30388         calling reopen.
30390 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
30392         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30394 2014-06-03  Richard Henderson  <rth@redhat.com>
30396         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
30397         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
30398         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
30399         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
30400         in the SAVE_PID block.
30401         (__libc_vfork): New alias.
30402         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
30404         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
30405         child in registers, not on the stack.  Remove RESET_PID conditionals.
30406         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
30408 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30410         * sysdeps/aarch64/libm-test-ulps: Regenerate.
30412 2014-06-03  Wilco  <wdijkstr@arm.com>
30414         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
30415         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
30416         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
30417         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
30418         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
30419         Likewise.
30421 2014-06-03  Wilco  <wdijkstr@arm.com>
30423         * sysdeps/aarch64/fpu/math_private.h
30424         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
30425         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
30426         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
30427         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
30428         Fix declarations.
30430 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30432         * crypt/crypt-private.h: Include ufc-crypt.h.
30433         (__b64_from_24bit): Declare extern.
30434         * crypt/crypt_util.c(__b64_from_24bit): New function.
30435         (b64t): New static const variable.
30436         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
30437         (b64t): Remove variable.
30438         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
30439         * crypt/sha256-crypt.c: Include crypt-private.h.
30440         (b64t): Remove variable.
30441         (__sha256_crypt_r): Remove b64_from_24bit and replace
30442         with __b64_from_24bit.
30443         * crypt/sha512-crypt.c: Likewise.
30445 2014-06-02  Roland McGrath  <roland@hack.frob.com>
30447         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
30448         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
30449         Label the code __libc_vfork rather than __vfork.
30450         [!NOT_IN_libc] (vfork): Define as weak alias.
30451         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
30452         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
30453         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
30455 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30457         * malloc/malloc.c (malloc_info): Fix format specifier for
30458         n_mmaps.
30460 2014-06-02  Wilco  <wdijkstr@arm.com>
30462         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
30463         FPCR write.
30465 2014-06-02  Wilco  <wdijkstr@arm.com>
30467         [BZ #17009]
30468         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
30469         Rewrite to reduce FPCR/FPSR accesses.
30471 2014-06-01  David S. Miller  <davem@davemloft.net>
30473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30475 2014-05-31  David S. Miller  <davem@davemloft.net>
30477         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
30478         to occur in round to nearest mode when |x| >= 2.0
30480 2014-05-30  Richard Henderson  <rth@twiddle.net>
30482         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
30483         (PSEUDO_RET_NOERRNO): Remove.
30484         (ret): Don't redefine.
30485         (ret_NOERRNO): Define in terms of ret.
30486         (ret_ERRVAL): Likewise.
30488         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
30489         use of PSEUDO_RET; perform the error check directly.
30491 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
30493         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
30494         with __int128_t.
30496 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30498         * malloc/malloc (malloc_info): Fix formatting.
30500 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30501             Roland McGrath  <roland@hack.frob.com>
30503         * malloc/malloc (malloc_info): Also print mmapped statistics.
30505 2014-05-30  Roland McGrath  <roland@hack.frob.com>
30507         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
30508         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
30510 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
30512         * malloc/malloc.c (malloc_info): Inline mi_arena.
30514 2014-05-29  Richard Henderson  <rth@twiddle.net>
30516         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
30517         Remove comma before expanding ASM_ARGS_##nr.
30518         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
30519         Make _x0 a strict output; make _x8 a strict input; adjust expansion
30520         of ASM_ARGS_##nr.
30521         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
30522         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
30523         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
30524         (ASM_ARGS_1): Add leading comma.
30526         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
30527         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
30528         to __errno_location.
30529         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
30530         Remove the expected plt for __errno_location.
30532         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30533         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
30534         call to __read_tp.
30536         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30537         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
30538         it and break it down.
30539         (DOCARGS_0, DOCARGS_1): Do nothing.
30540         (DOCARGS_2): Update to store into the new stack frame.
30541         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
30542         (UNDOCARGS_1): Update to restore from the new stack frame.
30543         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
30544         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
30546         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30547         (SINGLE_THREAD_P): New parameter for result regno.
30548         (PSEUDO): Update to match; use cbz instead of beq.
30550         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30551         Use ENTRY to define the _nocancel entry point.  Share the syscall
30552         and syscall error check paths with the cancel path.
30553         (PSEUDO_END): New.
30555         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
30556         whitespace; tabs before and after asm mnemonics.
30558 2014-05-29  Eric Wong  <normalperson@yhbt.net>
30560         [BZ #15132]
30561         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30562         Call fstat64 or stat64 internally, depending on arguments passed.
30563         Replace stat buffer argument with file descriptor argument.
30564         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
30565         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30566         Pass fd to __internal_statvfs instead of calling fstat64.
30567         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
30568         Pass fd to __internal_statvfs64 instead of calling fstat64.
30569         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
30570         Pass -1 to __internal_statvfs instead of calling stat64.
30571         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
30572         Pass -1 to __internal_statvfs64 instead of calling stat64.
30574 2014-05-28  Roland McGrath  <roland@hack.frob.com>
30576         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
30577         that was previously under [RESET_PID].
30578         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
30580         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
30581         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
30583 2014-05-27  Roland McGrath  <roland@hack.frob.com>
30585         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
30587         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
30588         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
30590 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
30592         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
30594 2014-05-27  Andreas Schwab  <schwab@suse.de>
30596         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
30597         TLS_INIT_TP macro.
30598         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
30599         * elf/rtld.c (init_tls, dl_main): Likewise.
30600         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
30601         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
30602         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
30603         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
30604         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
30605         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
30606         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
30607         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
30608         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
30609         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
30610         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
30611         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
30612         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
30613         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
30614         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
30615         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
30616         * sysdeps/generic/tls.h: Update description.
30618 2014-05-27  Will Newton  <will.newton@linaro.org>
30620         [BZ #16990]
30621         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
30622         and restore r2 rather than just restoring.
30624 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30626         [BZ #16724]
30627         * libio/tst-ftell-append.c: New test case.
30628         * libio/Makefile (tests): Add test case.
30629         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
30630         append mode.
30631         * libio/wfileops.c (do_ftell_wide): Likewise.
30633 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30637         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
30638         ...
30639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
30640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30641         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
30642         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
30643         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
30644         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
30645         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
30646         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
30647         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
30648         Moved ...
30649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
30650         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
30651         Moved ...
30652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
30653         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
30654         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
30655         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
30656         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
30657         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
30658         ...
30659         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
30660         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
30661         Moved ...
30662         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
30663         here.
30664         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
30665         ...
30666         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
30667         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
30668         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
30670         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
30671         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
30672         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
30673         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
30675         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
30676         merge into ...
30677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
30678         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
30679         ...
30680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
30681         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
30682         ...
30683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
30684         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
30685         Moved ...
30686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
30687         here.
30688         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
30689         Moved ...
30690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
30691         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
30692         Moved ...
30693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
30695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
30696         conditional [RESET_PID].
30697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
30698         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
30699         removed.
30700         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
30701         removed.
30703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
30704         <tcb-offsets.h>.
30705         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30706         (__libc_vfork): New strong alias.
30707         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
30708         removed.
30709         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
30710         Removed.
30712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
30713         <tcb-offsets.h>.
30714         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
30715         (__libc_vfork): New strong alias.
30716         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
30717         removed.
30718         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
30719         removed.
30721 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
30723         * malloc/malloc.c (mi_arena): New function.
30724         (malloc_info): Remove nested function mi_arena. Call non-nosted
30725         function mi_arena.
30727 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30729         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
30730         by insrwi.
30731         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30732         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30733         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
30734         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
30735         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
30736         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
30737         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
30739 2014-05-26  Andreas Schwab  <schwab@suse.de>
30741         [BZ #16984]
30742         * locale/programs/repertoire.c (repertoire_read): Add slash
30743         between I18NPATH element and file name.
30744         * locale/programs/locfile.c (locfile_read): Likewise.
30746 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30748         * nptl/pthread_mutexattr_settype.c
30749         (__pthread_mutexattr_settype):
30750         Disable lock elision for PTHREAD_MUTEX_NORMAL.
30752 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30754         * nptl/tst-mutex5 (do_test):
30755         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
30757 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30759         * benchtests/README: Document 'init' directive.
30760         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
30761         BENCH_INIT.
30762         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
30763         (parse_file): Recognize 'init' directive.
30765 2014-05-26  Kyle McMartin  <kyle@redhat.com>
30767         [BZ #16796]
30768         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
30769         alignment of struct pthread.
30771 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30773         [BZ #16878]
30774         * nscd/netgroupcache.c (addgetnetgrentX): Look for
30775         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30776         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
30777         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30779 2014-05-25  Richard Henderson  <rth@twiddle.net>
30781         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30782         (SINGLE_THREAD_P_PIC): Remove.
30783         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
30784         (SINGLE_THREAD_P_PIC): Remove.
30786         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
30787         branch to syscall error ...
30788         (PSEUDO): ... here.
30789         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
30790         from __local_syscall_error to .Lsyscall_error.
30791         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
30792         (SYSCALL_ERROR): Update label name.
30794         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30795         Do not use DOARGS/UNDOARGS.
30796         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
30797         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
30798         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
30799         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
30800         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
30802         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
30803         block comment.
30805         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
30806         define if !NOT_IN_libc.
30807         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
30808         define with non-default symbol versions.
30810 2014-05-23  Richard Henderson  <rth@twiddle.net>
30812         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
30813         (vfork, __vfork): Define via compat_symbol.
30815         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
30816         [!HAVE_IFUNC] (vfork_compat): Remove.
30817         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
30819 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
30821         [BZ #16978]
30822         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
30823         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
30824         variable.
30826 2014-05-23  Richard Henderson  <rth@twiddle.net>
30828         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
30829         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
30830         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
30831         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
30833         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
30834         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
30835         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
30836         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
30837         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
30838         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
30839         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
30840         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
30841         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
30842         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
30843         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
30844         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
30845         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
30846         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
30847         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
30848         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
30849         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
30850         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
30851         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
30852         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
30853         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
30854         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
30855         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
30856         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
30857         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
30858         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
30859         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
30860         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
30861         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
30862         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
30863         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
30864         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
30865         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
30866         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
30867         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
30868         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
30869         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
30870         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
30871         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
30872         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
30873         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
30874         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
30875         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
30876         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
30877         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
30878         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
30879         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
30880         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
30881         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
30882         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
30883         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
30884         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
30885         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
30886         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
30887         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
30888         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
30890         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
30891         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
30892         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
30893         before exiting on error.
30894         (__libc_vfork): New strong alias.
30895         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
30896         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
30898         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
30899         that was previously under [RESET_PID].
30900         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
30902         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
30904 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
30906         [BZ #16977]
30907         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
30908         value when x - 1 is zero.
30909         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
30910         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
30911         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
30912         0.0L for an argument of 1.0L.
30913         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
30914         Likewise.
30915         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
30916         value when x - 1 is zero.
30917         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
30918         * sysdeps/i386/fpu/libm-test-ulps: Update.
30919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30921 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30923         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
30924         alphasort and versionsort.
30926 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30928         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
30929         macro.
30930         [copysignf]: Likewise.
30932 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30934         * crypt/md5-crypt.c: Fix formatting.
30936 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30938         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
30939         (b64_from_24bit): New function.
30941 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30943         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
30944         libc_hidden_builtin_def to ifunc.
30945         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
30946         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
30948 2014-05-21  Roland McGrath  <roland@hack.frob.com>
30950         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
30951         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
30953 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
30955         * nscd/Depend (linuxthreads): Remove.
30956         (nptl): Add.
30957         * resolv/Depend (linuxthreads): Remove.
30958         * rt/Depend (linuxthreads): Remove.
30960         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
30961         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
30962         $(common-objpfx)elf/.
30963         (link-libc-before-gnulib): Likewise.
30964         (elfobjdir): Remove variable.
30965         * Makefile (install): Use $(elf-objpfx) instead of
30966         $(common-objpfx)elf/.
30967         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
30968         $(elfobjdir)/.
30969         (link-libc-deps): Likewise.
30970         ($(common-objpfx)libc.so): Likewise.
30971         ($(common-objpfx)linkobj/libc.so): Likewise.
30972         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
30973         instead of $(common-objpfx)elf/.
30974         (symbolic-link-list): Likewise.
30975         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30976         [$(cross-compiling) = no]: Likewise.
30977         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
30978         $(elfobjdir)/.
30979         (static-gnulib-arch): Likewise.
30980         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30981         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
30982         $(common-objpfx)elf/.
30984 2014-05-21  Richard Henderson  <rth@redhat.com>
30986         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30987         (SINGLE_THREAD_P): Use the correct width load.  Fold
30988         into the ldr offset.
30990         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
30991         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
30993 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
30995         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
30996         (libgcc_s_resume): Use __attribute_used__.
30997         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
30998         Likewise.
31000 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31002         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
31003         optimization when used with float constants.
31005         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31007 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
31009         [BZ #16915]
31010         * locale/nl_langinfo_l.c: Make direct reference to every
31011         _nl_current_CATEGORY symbol.
31012         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
31013         (tests-static): Add tst-langinfo-static.
31014         (tests-special): Add tst-langinfo-static.out.
31015         ($(objpfx)tst-langinfo.out): Redirect output.
31016         ($(objpfx)tst-langinfo-static.out): New.
31017         * localedata/tst-langinfo.sh: Send output to stdout.
31018         * localedata/tst-langinfo-static.c: New file.
31020         [BZ #16965]
31021         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
31022         when the shift amount is modulo the limb size.
31024 2014-05-20  Richard Henderson  <rth@redhat.com>
31026         [BZ #16967]
31027         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
31028         Change type of sa_flags from unsigned int to int.
31030         [BZ #16966]
31031         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
31033         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
31035 2014-05-20  Will Newton  <will.newton@linaro.org>
31037         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31038         Test the return value of the system call in the nocancel case.
31040 2014-05-20  Will Newton  <will.newton@linaro.org>
31041             Yvan Roux  <yvan.roux@linaro.org>
31043         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
31044         #include of asm/ptrace.h.
31045         (PTRACE_GET_THREAD_AREA): Remove #undef.
31046         (PTRACE_GETHBPREGS): Likewise.
31047         (PTRACE_SETHBPREGS): Likewise.
31048         (struct user_regs_struct): New structure.
31049         (struct user_fpsimd_struct): New structure.
31050         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
31051         #include of asm/ptrace.h and second #include of sys/user.h.
31052         (PTRACE_GET_THREAD_AREA): Remove #undef.
31053         (PTRACE_GETHBPREGS): Likewise.
31054         (PTRACE_SETHBPREGS): Likewise.
31055         (ELF_NGREG): Use new struct user_regs_struct.
31056         (elf_fpregset_t): Use new struct user_fpsimd_struct.
31058 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31060         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
31061         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
31063 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
31065         [BZ #16958]
31066         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
31067         membar to avoid block loads/stores to overlap previous stores.
31069 2014-05-17  Richard Henderson  <rth@redhat.com>
31071         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
31072         Create the __##syscall_name##_nocancel entry point.
31073         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
31074         Remove; let the sysdep-cancel.h code create it.
31076 2014-05-17  David S. Miller  <davem@davemloft.net>
31078         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
31079         Protect with __USE_GNU.
31080         (TIOCSET_TEMPT): Likewise.
31081         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31082         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
31083         these are already provided in bits/ioctl-types.h
31085 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31087         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
31088         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
31090         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
31091         Use wait4 regardless of [__NR_waitpid].
31093 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
31095         PR libgcc/60166
31096         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31097         (_FP_NANSIGN_Q): Set the quiet bit.
31099 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
31101         * benchtests/Makefile
31102         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
31103         not $(common-objpfx)math/libm.so.
31104         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
31105         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
31106         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
31107         $(common-objpfx)dlfcn/libdl.so.
31108         ($(objpfx)tst-audit8): Depend on $(libm), not
31109         $(common-objpfx)math/libm.so.
31110         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
31111         not $(common-objpfx)dlfcn/libdl.so.
31112         * math/Makefile
31113         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31114         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
31115         [$(build-shared) = yes].
31116         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
31117         $(common-objpfx)nptl/libpthread.so.
31118         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
31119         $(common-objpfx)math/libm.so$(libm.so-version) or
31120         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
31121         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
31122         $(common-objpfx)dlfcn/libdl.so.
31123         * setjmp/Makefile (link-libm): Remove variable.
31124         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
31125         * stdio-common/Makefile (link-libm): Remove variable.
31126         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
31127         * stdlib/Makefile (link-libm): Remove variable.
31128         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
31129         ($(objpfx)tst-strtod-round): Likewise.
31130         ($(objpfx)tst-tininess): Likewise.
31131         ($(objpfx)tst-strtod-underflow): Likewise.
31132         ($(objpfx)tst-strtod6): Likewise.
31133         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
31134         $(libdl), not $(common-objpfx)nptl/libpthread.so and
31135         $(common-objpfx)dlfcn/libdl.so.
31137 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31139         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
31140         BSD terminal modes definitions.
31142 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31144         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
31145         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
31147         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
31148         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
31149         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
31150         Don't do #include_next.
31151         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
31152         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
31153         Don't do #include_next.
31154         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
31155         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
31156         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
31157         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
31159 2014-05-16  Allan McRae  <allan@archlinux.org>
31161         * po/sv.po: Update Swedish translation from translation project.
31163         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
31164         in sed expression.
31166 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
31168         [BZ #16917]
31169         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
31170         errno if the TIOCGPTN ioctl fails with an error different than
31171         EINVAL.
31172         * login/tst-ptsname.c: New file.
31173         * login/Makefile (tests): Add tst-ptsname.
31175         [BZ #16943]
31176         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
31177         and prlimit64.
31179 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31181         [BZ #16849]
31182         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
31183         herrno to return EAI_AGAIN.
31185 2014-05-14  Roland McGrath  <roland@hack.frob.com>
31187         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
31188         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
31189         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
31190         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
31191         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
31192         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
31193         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
31194         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
31195         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
31196         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
31197         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
31198         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
31199         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
31200         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
31201         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
31202         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
31203         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
31204         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
31205         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
31206         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
31207         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
31208         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
31209         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
31210         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
31211         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
31212         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
31213         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
31214         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
31215         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
31216         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
31217         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
31218         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
31219         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
31220         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
31221         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31222         Moved ...
31223         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
31224         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
31225         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
31226         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
31227         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
31228         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
31229         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
31230         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
31231         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
31232         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
31233         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
31234         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
31235         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
31236         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
31237         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
31238         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
31239         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
31240         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
31241         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
31242         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
31243         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
31244         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
31245         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
31246         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
31247         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
31248         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
31249         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
31250         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31251         Moved ...
31252         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
31253         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
31254         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
31255         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
31256         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
31257         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
31258         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
31259         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
31260         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
31261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
31262         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
31263         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
31264         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
31265         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
31266         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
31267         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
31268         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
31269         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
31270         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
31271         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31272         Moved ...
31273         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
31274         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
31275         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
31277         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
31278         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
31279         (libpthread-sysdep_routines): Add elision-related stuff here instead.
31280         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
31281         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
31282         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
31283         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
31284         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
31285         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
31286         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
31287         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
31288         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
31289         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
31290         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
31291         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
31292         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
31293         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
31294         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
31295         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
31296         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
31297         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
31298         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
31299         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
31300         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
31301         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
31302         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
31303         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
31304         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
31305         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
31306         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
31307         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
31309         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
31310         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
31312         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
31313         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
31314         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
31315         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
31316         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
31317         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
31318         Moved ...
31319         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
31320         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
31321         Moved ...
31322         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
31323         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
31324         Moved ...
31325         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
31326         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
31327         Moved ...
31328         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
31329         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
31330         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
31331         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
31332         Moved ...
31333         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
31334         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
31335         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
31336         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
31337         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
31338         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
31339         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
31340         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
31341         Moved ...
31342         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
31343         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
31344         Moved ...
31345         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
31346         ... here.
31347         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
31348         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
31349         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
31350         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
31351         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
31352         Moved ...
31353         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
31354         ... here.
31355         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
31356         Moved ...
31357         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
31358         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
31359         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
31360         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
31361         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
31362         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
31363         Moved ...
31364         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
31365         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
31366         Moved ...
31367         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
31368         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
31369         Moved ...
31370         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
31371         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
31372         Moved ...
31373         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
31374         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
31375         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
31376         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
31377         Moved ...
31378         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
31379         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
31380         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
31381         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
31382         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
31383         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
31384         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
31385         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
31386         Moved ...
31387         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
31388         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
31389         Moved ...
31390         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
31391         ... here.
31392         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
31393         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
31394         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
31395         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
31396         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
31397         Moved ...
31398         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
31399         ... here.
31400         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
31401         Moved ...
31402         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
31403         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
31404         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
31405         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
31406         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
31407         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
31408         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
31409         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
31410         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
31411         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
31412         Moved ...
31413         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
31414         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
31415         Moved ...
31416         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
31417         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
31418         Moved ...
31419         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
31420         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
31421         Moved ...
31422         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
31423         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
31424         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
31425         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
31426         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
31427         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
31428         Moved ...
31429         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
31430         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
31431         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
31432         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
31433         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
31434         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
31435         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
31436         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
31437         Moved ...
31438         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
31439         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
31440         Moved ...
31441         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
31442         ... here.
31443         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
31444         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
31445         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
31446         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
31447         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
31448         Moved ...
31449         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
31450         ... here.
31451         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
31452         Moved ...
31453         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
31454         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
31455         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
31456         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
31457         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
31458         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
31459         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
31460         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
31461         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
31462         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
31463         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
31465         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
31466         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
31468         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
31469         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
31471         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
31472         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
31473         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
31474         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
31475         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
31476         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
31477         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
31478         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
31479         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
31480         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
31481         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
31482         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
31483         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
31484         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
31485         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
31486         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
31487         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
31488         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
31489         Moved ...
31490         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
31491         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
31492         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
31493         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
31494         Moved ...
31495         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
31496         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
31497         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
31498         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
31499         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
31500         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
31501         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
31502         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
31503         Moved ...
31504         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
31505         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
31506         Moved ...
31507         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
31508         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
31509         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
31510         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
31511         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
31512         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
31513         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
31514         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
31515         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
31516         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
31517         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
31518         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
31519         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
31520         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
31521         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
31522         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
31523         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
31525         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
31526         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
31527         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
31528         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
31529         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
31531         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
31532         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
31533         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
31534         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
31535         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
31536         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
31537         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
31538         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
31539         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
31540         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
31542         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
31543         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
31545         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
31546         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
31547         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
31548         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
31549         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
31550         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
31551         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
31552         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
31553         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
31554         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
31555         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
31556         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
31557         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
31558         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
31559         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
31560         Update #include.
31561         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
31562         Likewise.
31563         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
31564         Likewise.
31565         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
31566         Likewise.
31567         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
31568         Likewise.
31569         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
31570         Likewise.
31571         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
31572         Likewise.
31573         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
31574         Likewise.
31575         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
31576         Likewise.
31577         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
31578         Likewise.
31579         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
31580         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
31581         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
31582         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
31583         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
31584         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
31585         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
31586         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
31587         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
31588         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
31589         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
31590         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
31591         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
31592         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
31593         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
31595         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
31596         that was previously under [RESET_PID].
31597         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31598         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
31599         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
31601         * sysdeps/i386/nptl/Implies: New file.
31602         * sysdeps/x86_64/nptl/Implies: New file.
31603         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
31604         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
31605         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
31606         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
31608         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
31609         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31610         (__libc_vfork): New strong alias.
31611         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
31612         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
31614         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
31615         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31616         (__libc_vfork): New strong alias.
31617         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
31618         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
31620         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
31621         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31622         (__libc_vfork): New strong alias.
31623         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
31624         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
31625         * nptl/pt-vfork.c: New file.
31626         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
31627         (libpthread: GLIBC_2.20): New version set (empty).
31629 2014-05-14  Will Newton  <will.newton@linaro.org>
31631         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
31632         rather than #if.
31634 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
31636         [BZ #16564]
31637         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
31638         arguments with exponent 65 or above.
31639         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
31640         arguments 0x1p113L or above.
31641         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
31642         to arguments 0x1p107L or above.
31643         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
31644         positive arguments with exponent 65 or above.
31645         * math/auto-libm-test-in: Add more tests of log1p.
31646         * math/auto-libm-test-out: Regenerated.
31648         [BZ #16928]
31649         * math/s_cacos.c (__cacos): Ensure zero real part of result from
31650         non-finite arguments is +0.
31651         * math/s_cacosf.c (__cacosf): Likewise.
31652         * math/s_cacosl.c (__cacosl): Likewise.
31653         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
31654         * sysdeps/i386/fpu/libm-test-ulps: Update.
31655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31657         [BZ #16927]
31658         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
31659         value.
31660         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
31661         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
31662         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
31663         for explicit high bit of mantissa when testing for argument equal
31664         to 1.
31665         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
31666         * sysdeps/i386/fpu/libm-test-ulps: Update.
31667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31669         [BZ #16516]
31670         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
31671         (__erf): Scale by 16 instead of 8 in potentially underflowing
31672         case.  Ensure exception if result actually underflows.
31673         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
31674         (__erff): Scale by 16 instead of 8 in potentially underflowing
31675         case.  Ensure exception if result actually underflows.
31676         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
31677         (efx8): Remove variable.
31678         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31679         case.  Ensure exception if result actually underflows.
31680         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
31681         (efx8): Remove variable.
31682         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31683         case.  Ensure exception if result actually underflows.
31684         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
31685         (efx8): Remove variable.
31686         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31687         case.  Ensure exception if result actually underflows.
31688         * math/auto-libm-test-in: Add more tests of erf.
31689         * math/auto-libm-test-out: Regenerated.
31691 2014-05-14  Andreas Schwab  <schwab@suse.de>
31693         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
31694         Remove code conditionalized on USE___THREAD.
31696         * config.h.in (HAVE_PT_CHOWN): Define as 0.
31697         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
31698         not definedness.
31700 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
31702         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
31703         Define unconditionally.
31704         (__ASSUME_O_CLOEXEC): Likewise.
31705         (__ASSUME_SOCK_CLOEXEC): Likewise.
31706         (__ASSUME_IN_NONBLOCK): Likewise.
31707         (__ASSUME_PIPE2): Likewise.
31708         (__ASSUME_EVENTFD2): Likewise.
31709         (__ASSUME_SIGNALFD4): Likewise.
31710         (__ASSUME_DUP3): Likewise.
31711         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31712         (__ASSUME_DUP3): Do not define.
31713         (__ASSUME_EVENTFD2): Likewise.
31714         (__ASSUME_IN_NONBLOCK): Likewise.
31715         (__ASSUME_O_CLOEXEC): Likewise.
31716         (__ASSUME_PIPE2): Likewise.
31717         (__ASSUME_SIGNALFD4): Likewise.
31718         (__ASSUME_SOCK_CLOEXEC): Likewise.
31719         (__ASSUME_UTIMES): Undefine.
31720         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31721         (__ASSUME_UTIMES): Do not define.
31722         (__ASSUME_O_CLOEXEC): Likewise.
31723         (__ASSUME_SOCK_CLOEXEC): Likewise.
31724         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
31725         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
31726         0x020621].
31727         (__ASSUME_PIPE2): Likewise.
31728         (__ASSUME_EVENTFD2): Likewise.
31729         (__ASSUME_SIGNALFD4): Likewise.
31730         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
31731         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
31732         Do not define.
31733         (__ASSUME_EVENTFD2): Likewise.
31734         (__ASSUME_SIGNALFD4): Likewise.
31735         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31736         (__ASSUME_32BITUIDS): Likewise.
31737         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31738         (__ASSUME_IPC64): Likewise.
31739         (__ASSUME_ST_INO_64_BIT): Likewise.
31740         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
31741         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
31742         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31743         (__ASSUME_UTIMES): Do not define.
31744         (__ASSUME_PSELECT): Likewise.
31745         (__ASSUME_PPOLL): Likewise.
31746         (__ASSUME_O_CLOEXEC): Likewise.
31747         (__ASSUME_SOCK_CLOEXEC): Likewise.
31748         (__ASSUME_IN_NONBLOCK): Likewise.
31749         (__ASSUME_PIPE2): Likewise.
31750         (__ASSUME_EVENTFD2): Likewise.
31751         (__ASSUME_SIGNALFD4): Likewise.
31752         (__ASSUME_DUP3): Likewise.
31753         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31754         (__ASSUME_UTIMES): Likewise.
31755         (__ASSUME_O_CLOEXEC): Likewise.
31756         (__ASSUME_SOCK_CLOEXEC): Likewise.
31757         (__ASSUME_IN_NONBLOCK): Likewise.
31758         (__ASSUME_PIPE2): Likewise.
31759         (__ASSUME_EVENTFD2): Likewise.
31760         (__ASSUME_SIGNALFD4): Likewise.
31761         (__ASSUME_DUP3): Likewise.
31762         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31763         (__ASSUME_UTIMES): Likewise.
31764         (__ASSUME_O_CLOEXEC): Likewise.
31765         (__ASSUME_SOCK_CLOEXEC): Likewise.
31766         (__ASSUME_IN_NONBLOCK): Likewise.
31767         (__ASSUME_PIPE2): Likewise.
31768         (__ASSUME_EVENTFD2): Likewise.
31769         (__ASSUME_SIGNALFD4): Likewise.
31770         (__ASSUME_DUP3): Likewise.
31771         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
31772         Likewise.
31773         (__ASSUME_UTIMES): Likewise.
31774         (__ASSUME_EVENTFD2): Likewise.
31775         (__ASSUME_SIGNALFD4): Likewise.
31776         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31777         (__ASSUME_O_CLOEXEC): Likewise.
31778         (__ASSUME_SOCK_CLOEXEC): Likewise.
31779         (__ASSUME_IN_NONBLOCK): Likewise.
31780         (__ASSUME_PIPE2): Likewise.
31781         (__ASSUME_EVENTFD2): Likewise.
31782         (__ASSUME_SIGNALFD4): Likewise.
31783         (__ASSUME_DUP3): Likewise.
31784         (__ASSUME_UTIMES): Undefine.
31786         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
31787         feclearexcept.  Remove symbol versioning code.
31788         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
31789         symbol versioning code.
31790         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
31791         symbol versioning code.
31792         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
31793         feupdateenv.  Remove symbol versioning code.
31794         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
31795         fegetexceptflag.  Remove symbol versioning code.
31796         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
31797         fesetexceptflag.  Remove symbol versioning code.
31798         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
31799         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
31800         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
31801         (__posix_fadvise64_l32): Remove prototype.
31802         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
31803         code.
31805 2014-05-13  Roland McGrath  <roland@hack.frob.com>
31807         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
31808         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
31809         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
31810         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
31812 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
31814         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
31815         current working directory
31817 2014-05-13  Roland McGrath  <roland@hack.frob.com>
31819         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
31820         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
31821         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
31822         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
31823         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
31824         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
31825         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
31826         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
31827         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
31828         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
31829         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
31830         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
31831         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
31832         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
31833         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
31834         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
31835         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
31836         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
31837         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
31838         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
31839         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
31840         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
31841         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
31842         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
31843         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
31844         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
31845         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
31846         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
31847         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
31848         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
31849         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
31850         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
31851         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
31852         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
31853         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
31854         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
31855         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
31856         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
31857         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
31858         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
31859         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
31860         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
31862         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
31863         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
31865         * sysdeps/unix/sysv/linux/arm/Makefile
31866         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
31867         Add rt-aeabi_unwind_cpp_pr1.
31868         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
31869         Add nptl-aeabi_unwind_cpp_pr1.
31870         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
31871         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
31872         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
31873         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
31874         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
31875         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
31877         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
31878         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
31879         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
31880         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
31882         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
31883         Deconditionalize the code that was previously under [RESET_PID].
31884         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
31886         * sysdeps/generic/exit-thread.h: New file.
31887         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
31888         * include/unistd.h (__exit_thread): Remove declaration.
31889         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
31890         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
31891         * csu/libc-start.c: Include <exit-thread.h>.
31892         (LIBC_START_MAIN): Pass no argument to __exit_thread.
31893         * nptl/pthread_create.c: Include <exit-thread.h>.
31894         (start_thread): Call __exit_thread in place of __exit_thread_inline.
31895         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
31896         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
31897         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
31898         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
31899         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
31900         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
31901         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
31902         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
31903         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
31904         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
31905         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
31906         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
31907         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
31908         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
31909         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
31910         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
31912 2014-05-13  Andreas Schwab  <schwab@suse.de>
31914         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
31916 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
31918         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31919         (__ASSUME_UTIMES): Do not condition on kernel version.
31920         (__ASSUME_PSELECT): Define unconditionally.
31921         (__ASSUME_PPOLL): Likewise.
31922         (__ASSUME_ATFCTS): Likewise.
31923         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
31924         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
31925         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
31926         (__ASSUME_UTIMENSAT): Define unconditionally.
31927         (__ASSUME_PRIVATE_FUTEX): Likewise.
31928         (__ASSUME_FALLOCATE): Likewise.
31929         (__ASSUME_O_CLOEXEC): Likewise.
31930         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
31931         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
31932         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
31933         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
31934         (__ASSUME_IN_NONBLOCK): Likewise.
31935         (__ASSUME_PIPE2): Likewise.
31936         (__ASSUME_EVENTFD2): Likewise.
31937         (__ASSUME_SIGNALFD4): Likewise.
31938         (__ASSUME_DUP3): Likewise.
31939         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31940         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
31941         (__ASSUME_AT_RANDOM): Likewise.
31942         (__ASSUME_PREADV): Likewise.
31943         (__ASSUME_PWRITEV): Likewise.
31944         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
31945         (__ASSUME_F_GETOWN_EX): Define unconditionally.
31946         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
31947         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31948         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
31949         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31950         (__ASSUME_O_CLOEXEC): Define unconditionally.
31951         (__ASSUME_PSELECT): Do not undefine conditionally.
31952         (__ASSUME_PPOLL): Likewise.
31953         (__ASSUME_ATFCTS): Likewise.
31954         (__ASSUME_SET_ROBUST_LIST): Likewise.
31955         (__ASSUME_UTIMENSAT): Likewise.
31956         (__ASSUME_FDATASYNC): Define unconditionally.
31957         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31958         (__ASSUME_SIGFRAME_V2): Likewise.
31959         )__ASSUME_EVENTFD2): Likewise.
31960         (__ASSUME_SIGNALFD4): Likewise.
31961         (__ASSUME_PSELECT): Do not undefine conditionally.
31962         (__ASSUME_PPOLL): Likewise.
31963         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31964         (__ASSUME_PSELECT): Define unconditionally.
31965         (__ASSUME_PPOLL): Likewise.
31966         (__ASSUME_O_CLOEXEC): Likewise.
31967         (__ASSUME_SOCK_CLOEXEC): Likewise.
31968         (__ASSUME_IN_NONBLOCK): Likewise.
31969         (__ASSUME_PIPE2): Likewise.
31970         (__ASSUME_EVENTFD2): Likewise.
31971         (__ASSUME_SIGNALFD4): Likewise.
31972         (__ASSUME_DUP3): Likewise.
31973         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31974         (__ASSUME_O_CLOEXEC): Likewise.
31975         (__ASSUME_SOCK_CLOEXEC): Likewise.
31976         (__ASSUME_IN_NONBLOCK): Likewise.
31977         (__ASSUME_PIPE2): Likewise.
31978         (__ASSUME_EVENTFD2): Likewise.
31979         (__ASSUME_SIGNALFD4): Likewise.
31980         (__ASSUME_DUP3): Likewise.
31981         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31982         (__ASSUME_EVENTFD2): Likewise.
31983         (__ASSUME_SIGNALFD4): Likewise.
31984         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31986 2014-05-12  Andreas Schwab  <schwab@suse.de>
31988         [BZ #16932]
31989         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
31990         (_nss_nis_gethostbyname4_r): Return error if item length is larger
31991         than maximum RPC packet size.
31992         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
31993         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
31994         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
31995         (_nss_nis_getservbyport_r): Likewise.
31997 2014-05-12  Will Newton  <will.newton@linaro.org>
31999         * malloc/Makefile (tests): Add tst-mallopt.
32000         * malloc/tst-mallopt.c: New file.
32002 2014-05-09  Roland McGrath  <roland@hack.frob.com>
32004         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
32005         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
32007 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32009         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
32010         (tst-tlsmod6.so): Likewise.
32012 2014-05-09  Roland McGrath  <roland@hack.frob.com>
32014         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
32016 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
32018         [BZ #16064]
32019         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
32020         and <dl-procinfo.h>.
32021         (__fegetenv): Save SSE state in envp->__eip if supported.
32022         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
32023         envp->__eip if supported.
32024         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
32025         and <dl-procinfo.h>.
32026         (__fesetenv): Always set __eip, __cs_selector, __opcode,
32027         __data_offset and __data_selector in environment to 0.  Set SSE
32028         state if supported.
32029         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
32030         test-fenv-sse.
32031         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
32032         -mfpmath=sse.
32033         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
32035 2014-05-09  Will Newton  <will.newton@linaro.org>
32037         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
32038         and libc_relro_required for ARM.
32039         * sysdeps/arm/preconfigure: Regenerate.
32041 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
32042             Stefan Liebler  <stli@linux.vnet.ibm.com>
32044         * config.make.in (enable-lock-elision): New Makefile variable.
32045         * configure.ac: Likewise.
32046         * configure: Regenerate.
32047         * sysdeps/s390/configure.ac:
32048         Add check for gcc transactions support.
32049         * sysdeps/s390/configure: Regenerate.
32050         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
32051         Build elision files if enabled.
32052         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
32053         Add lock elision support for s390.
32054         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
32055         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
32056         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
32057         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
32058         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
32059         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
32060         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32061         Likewise.
32062         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
32063         Likewise.
32064         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
32065         Likewise.
32066         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
32067         Likewise.
32068         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
32069         (__lll_timedlock_elision, __lll_lock_elision)
32070         (__lll_unlock_elision, __lll_trylock_elision)
32071         (lll_timedlock_elision, lll_lock_elision)
32072         (lll_unlock_elision, lll_trylock_elision): Add.
32073         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32074         (pthread_mutex_t): Add lock elision support for s390.
32076 2014-05-14  Wilco  <wdijkstr@arm.com>
32078         * sysdeps/arm/fclrexcpt.c: Cleanup.
32079         * sysdeps/arm/fedisblxcpt.c: Cleanup.
32080         * sysdeps/arm/feenablxcpt.c: Cleanup.
32081         * sysdeps/arm/fegetenv.c: Cleanup.
32082         * sysdeps/arm/fegetexcept.c: Cleanup.
32083         * sysdeps/arm/fegetround.c: Cleanup.
32084         * sysdeps/arm/feholdexcpt.c: Cleanup.
32085         * sysdeps/arm/fesetenv.c: Cleanup.
32086         * sysdeps/arm/fesetround.c: Cleanup.
32087         * sysdeps/arm/feupdateenv.c: Cleanup.
32088         * sysdeps/arm/fgetexcptflg.c: Cleanup.
32089         * sysdeps/arm/fraiseexcpt.c: Cleanup.
32090         * sysdeps/arm/fsetexcptflg.c: Cleanup.
32091         * sysdeps/arm/ftestexcept.c: Cleanup.
32092         * sysdeps/arm/get-rounding-mode.h: Cleanup.
32093         * sysdeps/arm/setfpucw.c: Cleanup.
32095 2014-05-09  Will Newton  <will.newton@linaro.org>
32097         * sysdeps/arm/armv7/strcmp.S: New file.
32098         * NEWS: Mention addition of ARMv7 optimized strcmp.
32100 2014-05-08  Roland McGrath  <roland@hack.frob.com>
32102         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
32103         look for %.ac rather than %.in.
32105         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
32106         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
32107         * sysdeps/mach/hurd/configure: Regenerated.
32108         * sysdeps/unix/sysv/linux/configure: Regenerated.
32110         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
32112 2014-05-07  Steve Ellcey  <sellcey@mips.com>
32114         [BZ# 16922]
32115         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
32116         (LONG_SUB): Ditto.
32117         (PTR_SUB): Ditto.
32119 2014-05-07  Andreas Schwab  <schwab@suse.de>
32121         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
32122         when skipping over non-matching result from nscd.
32124 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
32126         [BZ #16876]
32127         * nptl/sockperf.c (client): Check socket return value.
32129         [BZ #16877]
32130         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
32131         nscd security class.
32133 2014-05-06  Roland McGrath  <roland@hack.frob.com>
32135         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
32136         * sysdeps/arm/unwind.h: ... here.
32138 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
32140         [BZ# 16916]
32141         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
32142         Define.
32144 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32146         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
32147         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
32148         multiarch strncpy for PPC64.
32149         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
32150         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
32151         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
32152         multiarch optimizations.
32153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32154         (__libc_ifunc_impl_list): Likewise.
32155         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
32156         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
32157         multiarch stpncpy for PPC64.
32158         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
32159         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
32161 2014-05-06  Andreas Schwab  <schwab@suse.de>
32163         [BZ #16912]
32164         * gmon/mcount.c (_MCOUNT_DECL): Use
32165         atomic_compare_and_exchange_bool_acq instead of
32166         catomic_compare_and_exchange_bool_acq.
32168 2014-05-05  Roland McGrath  <roland@hack.frob.com>
32170         * elf/Makefile (others, install-bin): Remove pldd.
32171         (pldd-modules): Variable removed.
32172         ($(objpfx)pldd): Target removed.
32173         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
32174         (others, install-bin): Append pldd here.
32175         ($(objpfx)pldd): New target.
32177         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
32178         to 0, so the first #if test emitted later doesn't see it undefined.
32179         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
32180         * sysdeps/gnu/errlist.c: Regenerated.
32182 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32184         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32185         [libc_hidden_builtin_def]: Define to empty value.
32186         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
32187         [libc_hidden_builtin_def]: Likewise.
32188         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
32189         [libc_hidden_builtin_def]: Likewise.
32190         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
32191         [libc_hidden_builtin_def]: Likewise.
32192         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
32193         __redirect_memcpy and define ifunc as default hidden symbol.
32194         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
32195         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
32197 2014-05-04  Adam Conrad  <adconrad@0c3.net>
32199         * locale/iso-4217.def: Reintroduce XDR currency.
32201 2014-05-04  Allan McRae  <allan@archlinux.org>
32203         * po/eo.po: Update Esperanto translation from translation project.
32205 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
32207         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
32208         and FEATURE_INDEX_MAX to 1.
32209         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
32211 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32213         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
32214         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
32215         * iconvdata/big5.c (ONE_DIRECTION): Define.
32216         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
32217         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
32218         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
32219         * iconvdata/cp932.c (ONE_DIRECTION): Define.
32220         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
32221         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
32222         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
32223         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
32224         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
32225         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
32226         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
32227         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
32228         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
32229         * iconvdata/gbk.c (ONE_DIRECTION): Define.
32230         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
32231         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
32232         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
32233         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
32234         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
32235         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
32236         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
32237         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
32238         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
32239         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
32240         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
32241         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
32242         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
32243         * iconvdata/iso646.c (ONE_DIRECTION): Define.
32244         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
32245         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
32246         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
32247         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
32248         * iconvdata/johab.c (ONE_DIRECTION): Define.
32249         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
32250         * iconvdata/sjis.c (ONE_DIRECTION): Define.
32251         * iconvdata/t.61.c (ONE_DIRECTION): Define.
32252         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
32253         * iconvdata/tscii.c (ONE_DIRECTION): Define.
32254         * iconvdata/uhc.c (ONE_DIRECTION): Define.
32255         * iconvdata/unicode.c (ONE_DIRECTION): Define.
32256         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
32257         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
32258         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
32260 2014-05-01  Roland McGrath  <roland@hack.frob.com>
32262         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
32263         (_IO_JUMPS_OFFSET): Define to 0.
32265         * nptl/sysdeps/pthread/bits/libc-lock.h
32266         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32267         (__libc_lock_define_initialized_recursive): Always define using
32268         initializer.  Modern compilers treat uninitialized (implicit zero) and
32269         explicit zero initializers the same (i.e. put the datum in bss).
32271 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32273         * nscd/nscd-client.h: Include <string.h>.
32275 2014-05-01  David S. Miller  <davem@davemloft.net>
32277         [BZ #16885]
32278         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
32279         multiple zero bytes exist at the end of a string.
32280         Reported by Aurelien Jarno <aurelien@aurel32.net>
32282         * string/test-strcmp.c (check): Add explicit test for situations where
32283         there are multiple zero bytes after the first.
32285 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32287         [BZ #16890]
32288         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
32289         when compiling wprintf.
32290         * stdio-common/tstdiomisc.c (t3): New function.
32291         (main): Call it.
32293 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32295         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
32296         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
32297         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
32298         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
32300 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32302         * stdlib/longlong.h: Updated from GCC.
32304 2014-05-01  Will Newton  <will.newton@linaro.org>
32305             Bernard Ogden  <bernie.ogden@linaro.org>
32307         * NEWS: Update fixed bug list.
32309         [BZ #15119]
32310         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
32312 2014-04-30  David S. Miller  <davem@davemloft.net>
32314         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
32315         (libc_feholdexcept_setround_sparc_ctx): New function.
32316         (libc_fesetenv_sparc_ctx): Likewise.
32317         (libc_feupdateenv_sparc_ctx): Likewise.
32318         (libc_feholdsetround_sparc_ctx): Likewise.
32319         (libc_feholdexcept_setround_ctx): Define.
32320         (libc_feholdexcept_setroundf_ctx): Likewise.
32321         (libc_feholdexcept_setroundl_ctx): Likewise.
32322         (libc_fesetenv_ctx): Likewise.
32323         (libc_fesetenvf_ctx): Likewise.
32324         (libc_fesetenvl_ctx): Likewise.
32325         (libc_feupdateenv_ctx): Likewise.
32326         (libc_feupdateenvf_ctx): Likewise.
32327         (libc_feupdateenvl_ctx): Likewise.
32328         (libc_feresetround_ctx): Likewise.
32329         (libc_feresetroundf_ctx): Likewise.
32330         (libc_feresetroundl_ctx): Likewise.
32331         (libc_feholdsetround_ctx): Likewise.
32332         (libc_feholdsetroundf_ctx): Likewise.
32333         (libc_feholdsetroundl_ctx): Likewise.
32335         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
32336         with __USE_GNU instead of XOPEN cpp guards.
32338         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
32339         0.
32341         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
32342         with XOPEN cpp guards.
32344 2014-04-30  Julian Brown  <julian@codesourcery.com>
32346         [BZ #16888]
32347         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
32348         handling.
32350 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
32352         [BZ #9894]
32353         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
32354         Change to 2.6.32.
32355         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
32356         * sysdeps/unix/sysv/linux/configure: Regenerated.
32357         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
32358         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
32359         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
32360         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
32361         * README: Update reference to required Linux kernel version.
32362         * manual/install.texi (Linux): Update reference to required Linux
32363         kernel headers version.
32364         * INSTALL: Regenerated.
32366         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
32367         header inclusion.
32368         [POSIX] (limits.h): Likewise.
32369         [POSIX] (math.h): Likewise.
32370         [POSIX] (sys/wait.h): Likewise.
32371         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
32372         function.
32373         [POSIX] (stddef.h): Do not allow header inclusion.
32375 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32377         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
32379 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
32381         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
32382         Return immediately after lll_futex_wake.
32384 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32386         [BZ #16791]
32387         * nscd/nscd-client.h (datahead_init_common): Initialize entire
32388         structure.
32389         (datahead_init_pos): Call datahead_init_common early.
32390         (datahead_init_neg): Likewise.
32392         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
32393         datahead_init_neg): New functions.
32394         * nscd/aicache.c (addhstaiX): Use them.
32395         * nscd/grpcache.c (cache_addgr): Likewise.
32396         * nscd/hstcache.c (cache_addhst): Likewise.
32397         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32398         * nscd/netgroupcache.c (do_notfound): Likewise.
32399         (addgetnetgrentX): Likewise.
32400         (addinnetgrX): Likewise.
32401         * nscd/pwdcache.c (cache_addpw): Likewise.
32402         * nscd/servicescache.c (cache_addserv): Likewise.
32404 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32405             Atsushi Onoe  <atsushi@onoe.org>
32407         [BZ #14308]
32408         [BZ #12994]
32409         [BZ #13651]
32410         * resolv/res_query.c (__libc_res_nsearch): Return if at least
32411         one response is valid.
32412         * resolv/res_send.c (send_dg): Check for validity of other
32413         response if the current response is a referral.
32415 2014-04-29  Steve Ellcey  <sellcey@mips.com>
32417         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
32419 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
32421         [BZ #16823]
32422         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
32423         Always divide by positive zero when computing -Inf result.
32424         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
32425         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
32427 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32429         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
32430         FPSCR if value do not change.
32431         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32432         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
32433         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32434         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
32435         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
32436         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
32437         function.
32439 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
32441         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
32442         * sysdeps/unix/sysv/linux/hppa: Move directory from
32443         ports/systeps/unix/sysv/linux/hppa.
32444         * README: Update listing for hppa-*-linux-gnu.
32446 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
32448         [BZ #16754]
32449         * manual/stdio.texi (Hook functions): Fix types of stream hook
32450         functions.
32451         [BZ #16854]
32452         * socket/sys/socket.h: Fix typo in comment.
32454 2014-04-28  Wilco  <wdijkstr@arm.com>
32456         * sysdeps/arm/fenv_private.h: New file.
32457         * sysdeps/arm/math_private.h: New file.
32458         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
32460 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
32462         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
32463         with __int128_t.
32464         (La_x86_64_retval): Likewise.
32466 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
32468         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
32469         fpsr if value didn't change.
32470         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
32471         to fpcr if value didn't change.
32472         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
32473         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
32474         fpsr or fpcr if value didn't change.
32475         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
32476         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
32477         fpcr if value didn't change.
32478         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
32479         to fpsr if value didn't change.
32481 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
32483         * nptl/tst-sem3.c: Use test-skeleton.c
32484         (main): Rename to do_test.  Use return instead of
32485         exit.
32486         * nptl/tst-sem4.c: Use test-skeleton.c
32487         (main): Rename to do_test.
32489 2014-04-22  David S. Miller  <davem@davemloft.net>
32491         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32492         (struct sigaction): New struct member __glibc_reserved0, change
32493         type of sa_flags to int.
32495 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
32497         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
32498         (COUNT_LEADING_ZEROS_0): Define for AArch64.
32500 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32502         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
32503         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
32505 2014-04-22  Will Newton  <will.newton@linaro.org>
32506             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
32508         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
32509         (__longjmp): Add longjmp and longjmp_target SystemTap
32510         probes.
32511         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
32512         (__sigsetjmp): Add setjmp SystemTap probe.
32514 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
32516         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
32517         match manual order.
32519 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32521         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
32523         * sysdeps/powerpc/fpu/fenv_private.h
32524         (libc_feholdexcept_setroundl_ctx): Define to
32525         libc_feholdexcept_setround_ppc_ctx.
32526         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
32527         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
32528         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
32529         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
32531 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
32533         * sysdeps/aarch64/math-tests.h: New file.
32535 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
32537         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
32538         New.
32539         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32540         Check and set bit_AVX2_Usable.
32541         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
32542         macro.
32543         (bit_AVX2): Likewise.
32544         (index_AVX2_Usable): Likewise.
32545         (CPUID_AVX2): Likewise.
32546         (HAS_AVX2): Likewise.
32548 2014-04-17  Will Newton  <will.newton@linaro.org>
32550         * manual/setjmp.texi (System V contexts): Add note that
32551         calling setcontext on a context created by a call to a
32552         signal handler is undefined.  Update text to note that
32553         setcontext from a signal handler is possible but not
32554         recommended.
32556         [BZ #16629]
32557         * stdlib/tst-setcontext.c: Include signal.h.
32558         (main): Check that the signal stack before and
32559         after swapcontext is the same.
32561         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
32562         Re-implement to restore registers in user code and avoid
32563         rt_sigreturn system call.
32565 2014-04-17  Wilco  <wdijkstr@arm.com>
32567         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
32568         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
32569         * math/test-fenv.c: Skip exception trap tests on targets which only
32570         support non-stop mode.
32572 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
32573             Wilco Dijkstra  <wilco.dijkstra@arm.com>
32575         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
32576         (libc_feholdsetround_aarch64_ctx)
32577         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
32578         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
32579         (libc_feresetround_ctx, libc_feresetroundf_ctx)
32580         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
32581         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
32582         (libc_feresetround_noexl_ctx): Define.
32584 2014-04-16  Richard Henderson  <rth@redhat.com>
32586         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
32588         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
32589         unwind tables.
32591         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
32592         const from the non-libc, non-ldso copy.
32594         * sysdeps/alpha/libm-test-ulps: Regenerate.
32596 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
32597             Wilco Dijkstra  <wilco.dijkstra@arm.com>
32599         * sysdeps/aarch64/fpu/math_private.h: New file.
32601 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32603         * sysdeps/aarch64/libm-test-ulps: Regenerate.
32605 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
32607         [BZ #16275]
32608         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
32609         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
32610         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
32611         Intel MPX bound registers before _dl_profile_fixup.
32612         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
32613         registers after _dl_profile_fixup.  Save and restore bound
32614         registers bnd0/bnd1 when calling _dl_call_pltexit.
32615         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
32616         (LR_BND_OFFSET): Likewise.
32617         (LRV_BND0_OFFSET): Likewise.
32618         (LRV_BND1_OFFSET): Likewise.
32620 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32622         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
32623         to...
32624         * sysdeps/mach/hurd/i386/tls.h: ... here.
32625         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
32626         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
32627         fields.
32629 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32631         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
32633 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32635         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32637 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32639         [BZ #14770]
32640         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
32641         * sysdeps/s390/configure: Regenerate.
32643         [BZ #16824]
32644         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
32645         Set round-to-nearest internally to reduce error accumulation.
32647 2014-04-16  Alan Modra  <amodra@gmail.com>
32649         [BZ #16740]
32650         [BZ #16619]
32651         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
32652         * math/libm-test.inc (frexp_test_data): Add tests.
32653         * NEWS: Update fixed bug list.
32655 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32657         * benchtests/Makefile: Depend on libraries in build directory.
32658         (bench-math): Separate out math tests.
32659         (bench-pthread): Separate out pthread tests.
32660         (bench): Include math and pthread tests.
32662 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
32664         [BZ #16831]
32665         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
32666         _dl_debug_initialize.
32668         * configure.ac: Remove SELinux header check.
32669         * configure: Regenerate.
32670         * nscd/selinux.c (perms): Array of const char* to permission names.
32671         (nscd_request_avc_has_perm): Call security_deny_unknown to find
32672         default policy. Call string_to_security_class and string_to_av_perm to
32673         translate strings. Enforce default policy and call avs_has_perm with
32674         results of translated strings.
32676 2014-04-13  David S. Miller  <davem@davemloft.net>
32678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32680 2014-04-12  Allan McRae  <allan@archlinux.org>
32682         [BZ #16838]
32683         * manual/string.texi (Collation Functions): Fix qsort argument
32684         order in example.
32685         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32687 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
32689         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
32690         Make the test a no-op if there are no exceptions defined.
32692 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32694         * elf/Makefile (tests): make tst-dlopen-aout conditional on
32695         enable-hardcoded-path-in-tests
32697 2014-04-11  Will Newton  <will.newton@linaro.org>
32699         * benchtests/Makefile (extra-objs): Add json-lib.o.
32700         (bench-func): Tidy up JSON output.
32701         * benchtests/bench-skeleton.c: Include json-lib.h.
32702         (main): Use JSON library functions to do output of
32703         benchmark results.
32704         * benchtests/bench-timing-type.c (main): Output the
32705         timing type simply, leaving formatting to the user.
32706         * benchtests/json-lib.c: New file.
32707         * benchtests/json-lib.h: Likewise.
32709 2014-04-11  Torvald Riegel  <triegel@redhat.com>
32711         [BZ #15215]
32712         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
32713         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
32714         memory barriers.  Add comments.
32715         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
32716         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
32717         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
32718         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
32719         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
32720         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
32722 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32724         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
32725         * sysdeps/s390/s390-64/configure.ac: ... this ...
32726         * sysdeps/s390/configure.ac: ... to here.
32727         * sysdeps/s390/s390-32/configure: Delete file.
32728         * sysdeps/s390/s390-64/configure: Delete file.
32729         * sysdeps/s390/configure: Regenerate.
32731 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
32733         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
32735 2014-04-11  Will Newton  <will.newton@linaro.org>
32737         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
32738         to zero if it is not defined elsewhere.  (mtrim): Test
32739         the value of MALLOC_DEBUG with #if rather than #ifdef.
32741 2014-04-10 Torvald Riegel  <triegel@redhat.com>
32743         * benchtests/pthread_once-inputs: New file.
32744         * benchtests/pthread_once-source.c: New file.
32745         * benchtests/README: Update documentation.
32747 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
32748             H.J. Lu  <hongjiu.lu@intel.com>
32750         [BZ #16275]
32751         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
32752         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
32753         * sysdeps/x86_64/configure: Regenerated.
32754         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
32755         macro.
32756         (REGISTER_SAVE_RAX): Likewise.
32757         (REGISTER_SAVE_RCX): Likewise.
32758         (REGISTER_SAVE_RDX): Likewise.
32759         (REGISTER_SAVE_RSI): Likewise.
32760         (REGISTER_SAVE_RDI): Likewise.
32761         (REGISTER_SAVE_R8): Likewise.
32762         (REGISTER_SAVE_R9): Likewise.
32763         (REGISTER_SAVE_BND0): Likewise.
32764         (REGISTER_SAVE_BND1): Likewise.
32765         (REGISTER_SAVE_BND2): Likewise.
32766         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
32767         bound registers when calling _dl_fixup.
32769 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32771         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
32772         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
32773         of its definition.
32774         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
32775         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
32776         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
32777         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
32778         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
32779         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
32780         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
32782 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
32784         [BZ #15514]
32785         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
32786         pathconf(_PC_NAME_MAX).
32788 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32790         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
32791         Remove macro usage.
32792         (__PTHREAD_SPINS): Move definition to ...
32793         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32794         (__PTHREAD_SPINS): ... here.
32795         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32796         (__PTHREAD_SPIN): Likewise.
32797         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
32798         (__PTHREAD_SPIN): Likewise.
32799         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
32800         (__PTHREAD_SPIN): Likewise.
32801         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
32802         (__PTHREAD_SPIN): Likewise.
32803         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
32804         (__PTHREAD_SPIN): Likewise.
32805         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
32806         (__PTHREAD_SPIN): Likewise.
32807         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
32808         (__PTHREAD_SPIN): Likewise.
32809         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
32810         (__PTHREAD_SPIN): Likewise.
32811         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
32812         (__PTHREAD_SPIN): Likewise.
32813         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
32814         (__PTHREAD_SPIN): Likewise.
32815         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
32816         (__PTHREAD_SPIN): Likewise.
32817         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
32818         (__PTHREAD_SPIN): Likewise.
32820         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
32821         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
32822         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
32823         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
32824         imply folder.
32825         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
32826         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
32827         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
32828         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
32829         correct imply path.
32830         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
32831         strlen symbol for non multi-arch builds.
32832         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
32833         missing hidden_def and weak_alias.
32835 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
32837         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
32839 2014-04-07  Will Newton  <will.newton@linaro.org>
32841         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
32842         and contents.  [!_LIBC] Remove #ifndef and contents.
32843         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
32844         * string/memccpy.c (__memccpy): Use ANSI prototype.
32845         * string/memfrob.c (memfrob): Likewise.
32846         * string/strcoll.c (STRCOLL): Likewise.
32847         * string/strlen.c (strlen): Likewise.
32848         * string/strtok.c (STRTOK): Likewise.
32849         * string/strcat.c: Remove unused #include of memcopy.h.
32850         (strcat): Use ANSI prototype.
32851         * string/strchr.c: Remove unused #include of memcopy.h.
32852         (strchr): Use ANSI prototype.
32853         * string/strcmp.c: Remove unused #include of memcopy.h.
32854         (strcmp): Use ANSI prototype.
32855         * string/strcpy.c: Remove unused #include of memcopy.h.
32856         (strcpy): Use ANSI prototype.
32858 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32860         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
32861         * config.make.in (config-extra-cppflags): Set it from
32862         libc_extra_cppflags.
32863         * configure.ac (libc_extra_cflags): Make it accumulate over
32864         configure fragments.
32865         (libc_extra_cppflags): New flag.
32866         * configure. Regenerate.
32867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
32868         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
32869         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
32870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
32872         [BZ #16815]
32873         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
32874         result for FE_DOWNWARD rounding mode.
32875         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
32876         Likewise.
32877         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32879 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
32881         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
32882         in function argument name.
32884 2014-04-03  David Svoboda  <svoboda@cert.org>
32886         [BZ #5666]
32887         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
32888         explicitly.
32890 2014-04-03  Roland McGrath  <roland@hack.frob.com>
32892         * elf/dl-unmap-segments.h: New file.
32893         * sysdeps/generic/ldsodefs.h
32894         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
32895         * elf/dl-close.c: Include <dl-unmap-segments.h>.
32896         * elf/dl-fptr.c: Likewise.
32897         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
32898         * sysdeps/aarch64/tlsdesc.c: Likewise.
32899         * sysdeps/arm/tlsdesc.c: Likewise.
32900         * sysdeps/i386/tlsdesc.c: Likewise.
32901         * sysdeps/tile/dl-runtime.c: Likewise.
32902         * sysdeps/x86_64/tlsdesc.c: Likewise.
32903         * elf/dl-load.h: New file.
32904         * elf/dl-load.c: Include it.
32905         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
32906         Macros moved to dl-load.h.
32907         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
32908         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
32909         Use _dl_unmap_segments in place of __munmap.
32910         Break out segment-mapping loop into ...
32911         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
32913 2014-04-03  Will Newton  <will.newton@linaro.org>
32915         * elf/dl-lookup.c (do_lookup_x): Remove comment
32916         referring to nested function and move variable
32917         declarations down to before first use.
32919 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
32921         [BZ #16799]
32922         [BZ #16800]
32923         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
32924         with 0 numerator.
32925         * math/s_catanf.c (__catanf): Likewise.
32926         * math/s_catanh.c (__catanh): Likewise.
32927         * math/s_catanhf.c (__catanhf): Likewise.
32928         * math/s_catanhl.c (__catanhl): Likewise.
32929         * math/s_catanl.c (__catanl): Likewise.
32930         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
32931         by positive zero when computing -Inf result.
32932         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
32933         (catanh_test): Likewise.
32934         * sysdeps/i386/fpu/libm-test-ulps: Update.
32935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32937         [BZ #16789]
32938         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
32939         instead of using underflowing value in computing result.
32940         * math/s_clog10.c (__clog10): Likewise.
32941         * math/s_clog10f.c (__clog10f): Likewise.
32942         * math/s_clog10l.c (__clog10l): Likewise.
32943         * math/s_clogf.c (__clogf): Likewise.
32944         * math/s_clogl.c (__clogl): Likewise.
32945         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
32946         (clog10_test): Likewise.
32947         * sysdeps/i386/fpu/libm-test-ulps: Update.
32948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32950 2014-04-02  Alan Modra  <amodra@gmail.com>
32952         [BZ #16739]
32953         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
32954         output when value is near a power of two.  Use int64_t for lx and
32955         remove casts.  Use decimal rather than hex exponent constants.
32956         Don't use long double multiplication when double will suffice.
32957         * math/libm-test.inc (nextafter_test_data): Add tests.
32958         * NEWS: Add 16739 and 16786 to bug list.
32960         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
32962         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
32964 2014-04-01  Will Newton  <will.newton@linaro.org>
32966         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
32967         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
32969 2014-04-01  Florian Weimer  <fweimer@redhat.com>
32971         [BZ #13347]
32972         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
32973         * nptl/tst-setuid2.c: New file.
32974         * nptl/Makefile (xtests): Add tst-setuid2.
32976 2014-04-01  Alan Modra  <amodra@gmail.com>
32978         [BZ #16786]
32979         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
32981 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
32983         [BZ #6803]
32984         [BZ #6804]
32985         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
32986         set errno as appropriate.
32987         * math/w_scalbf.c (__scalbf): Likewise.
32988         * math/w_scalbl.c (__scalbl): Likewise.
32989         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
32990         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
32991         * math/libm-test.inc (scalb_test_data): Add errno expectations.
32992         Add more NaN tests.
32994         [BZ #16349]
32995         * math/w_atan2.c: Include <errno.h>.
32996         (__atan2): Set errno for result underflowing to zero.
32997         * math/w_atan2f.c: Include <errno.h>.
32998         (__atan2f): Set errno for result underflowing to zero.
32999         * math/w_atan2l.c: Include <errno.h>.
33000         (__atan2l): Set errno for result underflowing to zero.
33001         * math/auto-libm-test-in: Don't allow missing errno for some atan2
33002         tests.
33003         * math/auto-libm-test-out: Regenerated.
33005 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33007         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
33008         Encode instruction correctly in little endian.
33009         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
33010         Likewise.
33011         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
33012         Likewise.
33013         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
33014         Likewise.
33015         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
33016         Likewise.
33018 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
33020         [BZ #9894]
33021         * sysdeps/unix/sysv/linux/kernel-features.h
33022         [__sparc__ && !__arch64__ && !__sparc_v9__]
33023         (__ASSUME_SET_ROBUST_LIST): Do not define.
33024         [__sparc__ && !__arch64__ && !__sparc_v9__]
33025         (__ASSUME_FUTEX_LOCK_PI): Likewise.
33026         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
33027         Likewise.
33028         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33029         (__ASSUME_FUTEX_LOCK_PI): Undefine.
33030         (__ASSUME_REQUEUE_PI): Likewise.
33031         (__ASSUME_SET_ROBUST_LIST): Likewise.
33032         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33033         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
33034         Undefine.
33035         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33036         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
33037         Likewise.
33038         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
33039         Likewise.
33040         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
33041         Likewise.
33042         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33043         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
33044         Undefine.
33045         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
33046         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
33047         Likewise.
33049         [BZ #16648]
33050         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33051         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
33052         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
33054 2014-03-31  Will Newton  <will.newton@linaro.org>
33056         * benchtests/Makefile (bench): Add ffs and ffsll to list
33057         of tests.
33058         * benchtests/ffs-inputs: New file.
33059         * benchtests/ffsll-inputs: Likewise.
33061 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
33063         [BZ #16770]
33064         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
33065         too large before casting to int.
33066         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
33067         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
33068         * math/libm-test.inc (scalb_test_data): Add more tests.
33070 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33072         * benchtests/Makefile (DETAILED_OPT): New make option.
33073         (bench-func): Run benchmark program with -d if DETAILED_OPT is
33074         set.
33075         * benchtests/bench-skeleton.c: Include stdbool.h.
33076         (main): Store and print timings per input.
33077         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
33078         member to each argument value.
33079         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
33080         (_print_arg_data): Initialize per-input timing to 0.
33082         * benchtests/Makefile (timing-type): New binary.
33083         (bench-clean): Also remove bench-timing-type.
33084         (bench): New target for timing-type.
33085         (bench-func): Print output in JSON format.
33086         * benchtests/bench-skeleton.c (main): Print output in JSON
33087         format.
33088         * benchtests/bench-timing-type.c: New file.
33089         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
33090         (TIMING_PRINT_STATS): Remove.
33091         * benchtests/scripts/bench.py (_print_arg_data): Store variant
33092         name separately.
33094         * benchtests/bench-modf.c: Remove.
33095         * benchtests/modf-inputs: New inputs file.
33097 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
33099         [BZ #16362]
33100         * math/s_clog10.c (M_PI_LOG10E): New macro.
33101         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
33102         imaginary parts are 0.
33103         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
33104         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
33105         imaginary parts are 0.
33106         * math/s_clog10l.c (M_PI_LOG10El): New macro.
33107         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
33108         imaginary parts are 0.
33109         * math/libm-test.inc (clog10_test_data): Update expected results
33110         for when real and imaginary parts are 0.
33112 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
33114         * elf/dl-load.c: Finish conversion of __builtin_expect into
33115         __glibc_{un}likely.
33117 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
33119         [BZ #16348]
33120         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
33121         1+x for argument with exponent below -67.
33122         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
33123         Likewise.
33124         * math/auto-libm-test-in: Add more tests of exp.
33125         * math/auto-libm-test-out: Regenerated.
33127 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33129         [BZ #16759]
33130         * inet/getnetgrent_r.c (get_nonempty_val): New function.
33131         (nscd_getnetgrent): Use it.
33133         [BZ #16760]
33134         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
33135         of stpcpy.
33137 2014-03-27  Andi Kleen  <ak@linux.intel.com>
33139         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
33140         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33141         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33142         (lll_robust_unlock): Remove out of line section. Use cfi
33143         intrinsics.
33144         (LLL_STUB_UNWIND_INFO*): Remove.
33145         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
33146         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33147         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33148         (lll_robust_unlock): Remove out of line section. Use cfi
33149         intrinsics.
33150         (LLL_STUB_UNWIND_INFO*): Remove.
33152 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33154         [BZ #16758]
33155         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
33156         blank values.
33158 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
33160         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
33162 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
33164         [BZ #16198]
33165         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
33166         fnstenv.
33167         * math/test-fenv-preserve.c: New file.
33168         * math/Makefile (tests): Add test-fenv-preserve.
33170 2014-03-26  Will Newton <will.newton@linaro.org>
33172         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
33174 2014-03-25  Roland McGrath  <roland@hack.frob.com>
33176         * scripts/versionlist.awk: Partition the version sets and emit all
33177         GLIBC_* (sorted) before all others (sorted).
33179 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33181         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
33182         GLIBC_2.2.5 version.
33184 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33186         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
33187         calls.
33189         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
33190         previous change.
33192         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33194 2014-03-25  Andreas Schwab  <schwab@suse.de>
33196         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
33197         label to be used after in6ailist is initialized.
33199 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33201         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33202         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33204 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33206         [BZ #16357]
33207         [BZ #16599]
33208         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
33209         min_plus_half.
33210         (fp_formats): Update initializers.
33211         (init_fp_formats): Initialize new field.
33212         (output_for_one_input_case): Allow underflow for results up to
33213         min_plus_half.
33214         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
33215         * math/auto-libm-test-in: Don't mark some underflows from asin and
33216         atanh as spurious.
33217         * math/auto-libm-test-out: Regenerated.
33218         * sysdeps/i386/fpu/libm-test-ulps: Update.
33219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33221 2014-03-25  Andreas Schwab  <schwab@suse.de>
33223         * libio/Makefile (tst-ftell-partial-wide-ENV)
33224         (tst-ftell-active-handler-ENV): Define.
33226 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
33228         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
33230 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33232         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
33234 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
33236         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
33237         * sysdeps/x86_64/fpu/multiarch/e_exp.c
33238         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
33240 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33242         [BZ #16634]
33243         * elf/dl-load.c (open_verify): Add mode parameter.
33244         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
33245         (open_path): Change from boolean 'secure' to complete flag 'mode'
33246         (_dl_map_object): Adjust.
33247         * elf/Makefile (tests): Add tst-dlopen-aout.
33248         * elf/tst-dlopen-aout.c: New test.
33250 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
33252         [BZ #16714]
33253         * sysdeps/unix/sysv/linux/s390/bits/stat.h
33254         (struct stat): Rename member pad0 to __glibc_reserved0.
33256         [BZ #16712]
33257         * sysdeps/s390/s390-32/bits/wordsize.h
33258         (__WORDSIZE32_SIZE_ULONG): New define.
33259         * sysdeps/s390/s390-64/bits/wordsize.h
33260         (__WORDSIZE32_SIZE_ULONG): Likewise.
33261         * sysdeps/generic/stdint.h (SIZE_MAX):
33262         Define as UL if __WORDSIZE32_SIZE_ULONG.
33264         [BZ #16713]
33265         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33266         (__glibc_reserved0): New variable.
33267         (sa_flags): Change type to int.
33269         * posix/Makefile (before-compile): Use += before-compile instead
33270         of a :=.
33272         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33273         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33275 2014-03-20  Andreas Schwab  <schwab@suse.de>
33277         [BZ #16743]
33278         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
33279         non-matching result from nscd.
33281 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33283         * scripts/bench.py: Moved to ...
33284         * benchtests/scripts/bench.py: ... here.
33285         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
33287 2014-03-24  Andreas Schwab  <schwab@suse.de>
33289         [BZ #16002]
33290         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
33291         alloca_account and account alloca use for struct in6ailist.
33293 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
33295         [BZ #16284]
33296         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
33297         rounding mode to recompute results that overflow to infinity or
33298         underflow to zero.
33299         * math/auto-libm-test-in: Don't mark tests as expected to fail for
33300         bug 16284.
33301         * math/auto-libm-test-out: Regenerated.
33302         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
33303         (ccosh_test): Likewise.
33304         (csin_test_data): Use plus_oflow.
33305         (csin_test): Use ALL_RM_TEST.
33306         (csinh_test_data): Use plus_oflow.
33307         (csinh_test): Use ALL_RM_TEST.
33308         * sysdeps/i386/fpu/libm-test-ulps: Update.
33309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33311 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
33313         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
33314         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
33315         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
33317         [BZ #16731]
33318         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
33319         when x - 1 is zero.
33320         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
33321         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
33322         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33323         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
33324         argument is 1.
33325         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
33326         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
33327         zero.
33328         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
33329         * sysdeps/i386/fpu/libm-test-ulps: Update.
33330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33332 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33334         * scripts/bench.pl: Remove file.
33335         * scripts/bench.py: New benchmark script.
33336         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
33337         * benchtests/README: Mention python dependency.
33338         * scripts/pylintrc: New file.
33339         * scripts/pylint: New file.
33341         * bits/mathdef.h: Use #ifdef instead of #if.
33342         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
33343         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33344         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
33345         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33346         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
33347         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33349 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33350             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33352         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
33353         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
33354         and strpbrk-ppc64 objects.
33355         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33356         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
33357         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
33358         multiarch strpbrk for POWER7.
33359         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
33360         multiarch strpbrk for PPC64.
33361         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
33362         ifunc selector.
33363         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
33364         strpbrk for POWER7.
33366 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
33368         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
33369         (atan_test): Likewise.
33370         (atanh_test_data): Use NO_TEST_INLINE for two tests.
33371         (atanh_test): Use ALL_RM_TEST.
33372         (atan2_test_data): Likewise.
33373         (cabs_test): Likewise.
33374         (cacosh_test): Likewise.
33375         (carg_test): Likewise.
33376         (casin_test): Likewise.
33377         (casinh_test): Likewise.
33378         (cbrt_test): Likewise.
33379         (csqrt_test): Likewise.
33380         (erf_test): Likewise.
33381         (erfc_test): Likewise.
33382         (pow10_test): Likewise.
33383         (exp2_test): Likewise.
33384         (hypot_test): Likewise.
33385         (j0_test): Likewise.
33386         (j1_test): Likewise.
33387         (lgamma_test): Likewise.
33388         (gamma_test): Likewise.
33389         (sincos_test): Likewise.
33390         (tanh_test): Likewise.
33391         (y0_test): Likewise.
33392         (y1_test): Likewise.
33393         * sysdeps/i386/fpu/libm-test-ulps: Update.
33394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33396 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33398         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
33399         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
33400         and strcspn-ppc64 objects.
33401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33402         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
33403         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
33404         multiarch strcspn for POWER7.
33405         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
33406         multiarch strcspn for PPC64.
33407         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
33408         ifunc selector.
33409         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
33410         strcspn for POWER7.
33412 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
33414         * math/gen-libm-test.pl (generate_testfile): Expect only function
33415         name as argument to AUTO_TESTS_* and pass results for all rounding
33416         modes to parse_args.
33417         (parse_auto_input): Separate inputs of automatic tests from
33418         outputs before storing in %auto_tests.
33419         * math/libm-test.inc (acos_test_data): Update call to
33420         AUTO_TESTS_f_f.
33421         (acos_test): Use ALL_RM_TEST.
33422         (acos_tonearest_test_data): Remove.
33423         (acos_test_tonearest): Likewise.
33424         (acos_towardzero_test_data): Likewise.
33425         (acos_test_towardzero): Likewise.
33426         (acos_downward_test_data): Likewise.
33427         (acos_test_downward): Likewise.
33428         (acos_upward_test_data): Likewise.
33429         (acos_test_upward): Likewise.
33430         (acosh_test_data): Update call to AUTO_TESTS_f_f.
33431         (asin_test_data): Likewise.
33432         (asin_test): Use ALL_RM_TEST.
33433         (asin_tonearest_test_data): Remove.
33434         (asin_test_tonearest): Likewise.
33435         (asin_towardzero_test_data): Likewise.
33436         (asin_test_towardzero): Likewise.
33437         (asin_downward_test_data): Likewise.
33438         (asin_test_downward): Likewise.
33439         (asin_upward_test_data): Likewise.
33440         (asin_test_upward): Likewise.
33441         (asinh_test_data): Update call to AUTO_TESTS_f_f.
33442         (atan_test_data): Likewise.
33443         (atanh_test_data): Likewise.
33444         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
33445         (cabs_test_data): Update call to AUTO_TESTS_c_f.
33446         (carg_test_data): Likewise.
33447         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
33448         (ccos_test_data): Update call to AUTO_TESTS_c_c.
33449         (ccosh_test_data): Likewise.
33450         (cexp_test_data): Likewise.
33451         (clog_test_data): Likewise.
33452         (clog10_test_data): Likewise.
33453         (cos_test_data): Update call to AUTO_TESTS_f_f.
33454         (cos_test): Use ALL_RM_TEST.
33455         (cos_tonearest_test_data): Remove.
33456         (cos_test_tonearest): Likewise.
33457         (cos_towardzero_test_data): Likewise.
33458         (cos_test_towardzero): Likewise.
33459         (cos_downward_test_data): Likewise.
33460         (cos_test_downward): Likewise.
33461         (cos_upward_test_data): Likewise.
33462         (cos_test_upward): Likewise.
33463         (cosh_test_data): Update call to AUTO_TESTS_f_f.
33464         (cosh_test): Use ALL_RM_TEST.
33465         (cosh_tonearest_test_data): Remove.
33466         (cosh_test_tonearest): Likewise.
33467         (cosh_towardzero_test_data): Likewise.
33468         (cosh_test_towardzero): Likewise.
33469         (cosh_downward_test_data): Likewise.
33470         (cosh_test_downward): Likewise.
33471         (cosh_upward_test_data): Likewise.
33472         (cosh_test_upward): Likewise.
33473         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
33474         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
33475         (ctan_test_data): Likewise.
33476         (ctan_test): Use ALL_RM_TEST.
33477         (ctan_tonearest_test_data): Remove.
33478         (ctan_test_tonearest): Likewise.
33479         (ctan_towardzero_test_data): Likewise.
33480         (ctan_test_towardzero): Likewise.
33481         (ctan_downward_test_data): Likewise.
33482         (ctan_test_downward): Likewise.
33483         (ctan_upward_test_data): Likewise.
33484         (ctan_test_upward): Likewise.
33485         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
33486         (ctanh_test): Use ALL_RM_TEST.
33487         (ctanh_tonearest_test_data): Remove.
33488         (ctanh_test_tonearest): Likewise.
33489         (ctanh_towardzero_test_data): Likewise.
33490         (ctanh_test_towardzero): Likewise.
33491         (ctanh_downward_test_data): Likewise.
33492         (ctanh_test_downward): Likewise.
33493         (ctanh_upward_test_data): Likewise.
33494         (ctanh_test_upward): Likewise.
33495         (erf_test_data): Update call to AUTO_TESTS_f_f.
33496         (erfc_test_data): Likewise.
33497         (exp_test_data): Likewise.
33498         (exp_test): Use ALL_RM_TEST.
33499         (exp_tonearest_test_data): Remove.
33500         (exp_test_tonearest): Likewise.
33501         (exp_towardzero_test_data): Likewise.
33502         (exp_test_towardzero): Likewise.
33503         (exp_downward_test_data): Likewise.
33504         (exp_test_downward): Likewise.
33505         (exp_upward_test_data): Likewise.
33506         (exp_test_upward): Likewise.
33507         (exp10_test_data): Update call to AUTO_TESTS_f_f.
33508         (exp10_test): Use ALL_RM_TEST.
33509         (exp10_tonearest_test_data): Remove.
33510         (exp10_test_tonearest): Likewise.
33511         (exp10_towardzero_test_data): Likewise.
33512         (exp10_test_towardzero): Likewise.
33513         (exp10_downward_test_data): Likewise.
33514         (exp10_test_downward): Likewise.
33515         (exp10_upward_test_data): Likewise.
33516         (exp10_test_upward): Likewise.
33517         (exp2_test_data): Update call to AUTO_TESTS_f_f.
33518         (expm1_test_data): Likewise.
33519         (expm1_test): Use ALL_RM_TEST.
33520         (expm1_tonearest_test_data): Remove.
33521         (expm1_test_tonearest): Likewise.
33522         (expm1_towardzero_test_data): Likewise.
33523         (expm1_test_towardzero): Likewise.
33524         (expm1_downward_test_data): Likewise.
33525         (expm1_test_downward): Likewise.
33526         (expm1_upward_test_data): Likewise.
33527         (expm1_test_upward): Likewise.
33528         (fma_test_data): Update call to AUTO_TESTS_fff_f.
33529         (fma_test): Use ALL_RM_TEST.
33530         (fma_towardzero_test_data): Remove.
33531         (fma_test_towardzero): Likewise.
33532         (fma_downward_test_data): Likewise.
33533         (fma_test_downward): Likewise.
33534         (fma_upward_test_data): Likewise.
33535         (fma_test_upward): Likewise.
33536         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
33537         (j0_test_data): Update call to AUTO_TESTS_f_f.
33538         (j1_test_data): Likewise.
33539         (jn_test_data): Update call to AUTO_TESTS_if_f.
33540         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
33541         (log_test_data): Update call to AUTO_TESTS_f_f.
33542         (log10_test_data): Likewise.
33543         (log1p_test_data): Likewise.
33544         (log2_test_data): Likewise.
33545         (pow_test_data): Update call to AUTO_TESTS_ff_f.
33546         (pow_tonearest_test_data): Likewise.
33547         (sin_test_data): Update call to AUTO_TESTS_f_f.
33548         (sin_test): Use ALL_RM_TEST.
33549         (sin_tonearest_test_data): Remove.
33550         (sin_test_tonearest): Likewise.
33551         (sin_towardzero_test_data): Likewise.
33552         (sin_test_towardzero): Likewise.
33553         (sin_downward_test_data): Likewise.
33554         (sin_test_downward): Likewise.
33555         (sin_upward_test_data): Likewise.
33556         (sin_test_upward): Likewise.
33557         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
33558         (sinh_test_data): Update call to AUTO_TESTS_f_f.
33559         (sinh_test): Use ALL_RM_TEST.
33560         (sinh_tonearest_test_data): Remove.
33561         (sinh_test_tonearest): Likewise.
33562         (sinh_towardzero_test_data): Likewise.
33563         (sinh_test_towardzero): Likewise.
33564         (sinh_downward_test_data): Likewise.
33565         (sinh_test_downward): Likewise.
33566         (sinh_upward_test_data): Likewise.
33567         (sinh_test_upward): Likewise.
33568         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
33569         (sqrt_test): Use ALL_RM_TEST.
33570         (sqrt_tonearest_test_data): Remove.
33571         (sqrt_test_tonearest): Likewise.
33572         (sqrt_towardzero_test_data): Likewise.
33573         (sqrt_test_towardzero): Likewise.
33574         (sqrt_downward_test_data): Likewise.
33575         (sqrt_test_downward): Likewise.
33576         (sqrt_upward_test_data): Likewise.
33577         (sqrt_test_upward): Likewise.
33578         (tan_test_data): Update call to AUTO_TESTS_f_f.
33579         (tan_test): Use ALL_RM_TEST.
33580         (tan_tonearest_test_data): Remove.
33581         (tan_test_tonearest): Likewise.
33582         (tan_towardzero_test_data): Likewise.
33583         (tan_test_towardzero): Likewise.
33584         (tan_downward_test_data): Likewise.
33585         (tan_test_downward): Likewise.
33586         (tan_upward_test_data): Likewise.
33587         (tan_test_upward): Likewise.
33588         (tanh_test_data): Update call to AUTO_TESTS_f_f.
33589         (tgamma_test_data): Likewise.
33590         (y0_test_data): Likewise.
33591         (y1_test_data): Likewise.
33592         (yn_test_data): Update call to AUTO_TESTS_if_f.
33593         (main): Do not call removed functions.
33595 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
33597         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
33598         (ldexp_test_data): Remove.
33599         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
33600         scalbn_test_data.
33601         (scalb_test): Use ALL_RM_TEST.
33603 2014-03-19  Andreas Schwab  <schwab@suse.de>
33605         * nscd/nscd.service: Also invalidate netgroup cache on reload.
33607 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
33609         [BZ #16649]
33610         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33611         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
33612         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
33613         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33614         (__ASSUME_PREADV): Undefine.
33615         (__ASSUME_PWRITEV): Likewise.
33617 2014-03-18  Roland McGrath  <roland@hack.frob.com>
33619         * bits/mman-linux.h: Add comment about non-Linux use.
33620         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
33621         bits/mman-linux.h resting place.
33623         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
33624         * bits/mman-linux.h: ... here.
33626 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33628         * conform/conformtest.pl: Add standard definition when calling C
33629         preprocessor on data files.
33630         (checknamespace): Remove unused variable.
33632 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
33634         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
33635         minus_oflow, plus_uflow and minus_uflow in expected results.
33636         * math/libm-test.inc (scalbn_test_data): Add more tests of
33637         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
33638         minus_uflow.
33639         (scalbn_test): Use ALL_RM_TEST.
33640         (scalbln_test_data): Add more tests of negative arguments.  Use
33641         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
33642         (scalbln_test): Use ALL_RM_TEST.
33644 2014-03-18  Roland McGrath  <roland@hack.frob.com>
33646         * scripts/abilist.awk: Ignore symbols marked with .hidden.
33648 2014-03-18  Will Newton  <will.newton@linaro.org>
33650         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
33651         inaccurate comment.
33653 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
33655         * Makerules [!subdir] (check-abi): Exit with error status if a
33656         test failed.
33658 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
33660         * math/libm-test.inc (nearbyint_test_data): Include all tests used
33661         for rint.  Include results for all rounding modes.
33662         (nearbyint_test): Use ALL_RM_TEST.
33663         (rint_test_data): Include all tests used for nearbyint.
33665 2014-03-17  Will Newton  <will.newton@linaro.org>
33667         * nptl/sysdeps/pthread/pthread.h: Revert previous
33668         change.
33670         * sysdeps/generic/ldsodefs.h: Revert previous
33671         change.
33673         * libio/genops.c: Revert previous change.
33674         * libio/libioP.h: Likewise.
33675         * stdio-common/vfprintf.c: Likewise.
33677         * sysdeps/generic/math_private.h: Revert previous
33678         change.
33680         * sysdeps/generic/math_private.h: Check whether
33681         HAVE_RM_CTX is defined with #ifdef rather
33682         than #if.
33684         * argp/argp-fmtstream.h: Check whether
33685         __STRICT_ANSI__ is defined with #ifdef rather
33686         than #if.
33687         * argp/argp.h: Likewise.
33689         * libio/genops.c: Check whether
33690         _IO_JUMPS_OFFSET is defined with #ifdef rather
33691         than #if.
33692         * libio/libioP.h: Likewise.
33693         * stdio-common/vfprintf.c: Likewise.
33695         * sysdeps/generic/ldsodefs.h: Check whether
33696         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
33697         than #if.
33699         * nptl/sysdeps/pthread/pthread.h: Check
33700         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
33701         its value.
33703 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33705         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
33706         setting O_APPEND.
33707         * libio/tst-ftell-active-handler.c (do_append_test): Add a
33708         test case.
33710         [BZ #16680]
33711         * libio/fileops.c (_IO_file_open): Seek to end of file but
33712         don't cache the offset.
33713         (get_file_offset): Remove function.
33714         (do_ftell): Use cached offset when available.
33715         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
33716         don't cache the offset.
33717         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
33718         case.
33719         (do_one_test): Call it.
33720         (do_ftell_test): Fix up expected old offset for a+ mode.
33721         * libio/wfileops.c (do_ftell_wide): Used cached offset when
33722         available.
33724         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
33725         up test status with function return status.
33726         (do_write_test): Likewise.
33727         (do_append_test): Likewise.
33729         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
33730         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
33731         Remove.
33733 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
33735         * math/gen-libm-test.pl (parse_args): Handle results specified for
33736         each rounding mode separately.
33737         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
33738         tests and results from lrint_tonearest_test_data,
33739         lrint_towardzero_test_data, lrint_downward_test_data and
33740         lrint_upward_test_data.
33741         (lrint_test): Use ALL_RM_TEST.
33742         (lrint_tonearest_test_data): Remove.
33743         (lrint_test_tonearest): Likewise.
33744         (lrint_towardzero_test_data): Likewise.
33745         (lrint_test_towardzero): Likewise.
33746         (lrint_downward_test_data): Likewise.
33747         (lrint_test_downward): Likewise.
33748         (lrint_upward_test_data): Likewise.
33749         (lrint_test_upward): Likewise.
33750         (llrint_test_data): Merge in per-rounding-mode tests and results
33751         from llrint_tonearest_test_data, llrint_towardzero_test_data,
33752         llrint_downward_test_data and llrint_upward_test_data.
33753         (llrint_test): Use ALL_RM_TEST.
33754         (llrint_tonearest_test_data): Remove.
33755         (llrint_test_tonearest): Likewise.
33756         (llrint_towardzero_test_data): Likewise.
33757         (llrint_test_towardzero): Likewise.
33758         (llrint_downward_test_data): Likewise.
33759         (llrint_test_downward): Likewise.
33760         (llrint_upward_test_data): Likewise.
33761         (llrint_test_upward): Likewise.
33762         (rint_test_data): Merge in per-rounding-mode tests and results
33763         from rint_tonearest_test_data, rint_towardzero_test_data,
33764         rint_downward_test_data and rint_upward_test_data.  Add
33765         per-rounding-mode results for tests not in those arrays.
33766         (rint_test): Use ALL_RM_TEST.
33767         (rint_tonearest_test_data): Remove.
33768         (rint_test_tonearest): Likewise.
33769         (rint_towardzero_test_data): Likewise.
33770         (rint_test_towardzero): Likewise.
33771         (rint_downward_test_data): Likewise.
33772         (rint_test_downward): Likewise.
33773         (rint_upward_test_data): Likewise.
33774         (rint_test_upward): Likewise.
33775         (main): Don't call removed functions.
33777 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33779         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
33780         "Compiled on ..." crapola.  It is anti-useful.
33782 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
33784         * scripts/evaluate-test.sh: Handle fourth argument to determine
33785         whether test run should stop on failure.
33786         * Makeconfig (stop-on-test-failure): New variable.
33787         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
33788         $(stop-on-test-failure).
33789         * Makefile (tests): Give a summary of results from testing and
33790         exit with failure status if they include an ERROR or FAIL.
33791         (xtests): Likewise.
33792         * manual/install.texi (Configuring and compiling): Mention
33793         stop-on-test-failure=y.
33794         * INSTALL: Regenerated.
33796 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33798         * scripts/versionlist.awk: New file.
33799         * Makerules [$(build-shared) = yes]
33800         (postclean-generated): Add Versions.def, not Versions.def.v and
33801         Versions.def.v.i.
33802         ($(common-objpfx)Versions.def.v.i): Target removed.
33803         ($(common-objpfx)Versions.def): New target.
33804         ($(common-objpfx)Versions.all): Depend on that rather that
33805         $(common-objpfx)Versions.def.v.
33806         * Versions.def: File removed.
33808         * Makeconfig (+gccwarn): Add -Wundef.
33809         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
33810         a dl-sysdep.h breaking its contract.
33811         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
33812         * include/stackinfo.h: New file.
33813         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
33814         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
33815         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
33816         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
33817         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
33818         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
33819         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33820         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33821         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33822         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33823         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33824         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
33825         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33826         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33827         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33829 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33831         [BZ #16707]
33832         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
33833         implementation.
33834         * math/libm-test.inc (round_test_data): Add more tests.
33836         [BZ #16706]
33837         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
33838         implementation.
33839         * math/libm-test.inc (nearbyint_test_data): Add more tests.
33841         [BZ #16701]
33842         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
33843         implementation.
33844         * math/libm-test.inc (ceil_test_data): Add more tests.
33846         * math/libm-test.inc (trunc_test_data): Add more tests related to
33847         BZ#16414.
33849 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33851         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
33852         with #if rather than #ifdef.
33853         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
33855 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
33857         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
33858         first.  Disable AVX-512 GCC support if assembler doesn't support
33859         it.
33860         * sysdeps/x86_64/configure: Regenerated.
33862 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
33864         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
33865         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
33866         (__old_pthread_attr_setstack): Likewise.
33867         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
33868         [!_STACK_GROWS_DOWN]: Likewise.
33870 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
33872         * config.make.in (have-bash2): Delete.
33873         * configure.ac (libc_cv_have_bash2): Delete.
33874         * configure: Regenerate.
33875         * elf/Makefile (common-ldd-rewrite): Rename to ...
33876         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
33877         (sh-ldd-rewrite): Delete.
33878         (bash-ldd-rewrite): Delete.
33879         (have-bash2): Delete checks.
33880         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
33881         ldd-rewrite.
33883         * config.make.in (have-ksh): Delete.
33884         (KSH): Delete.
33885         * configure.ac (libc_cv_have_ksh): Delete.
33886         * configure: Regenerate.
33888         * elf/Makefile: Delete $(have-ksh) check.
33889         ($(objpfx)sotruss): Change KSH to BASH.
33890         * elf/sotruss.ksh: Rename to ...
33891         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
33892         function style to match POSIX.  Drop ksh vim mode setting.
33894         * manual/time.texi (Specifying the Time Zone with TZ): Change
33895         Tuesday to Thursday.
33897         * debug/tst-longjmp_chk2.c: Update header comment.
33898         (stackoverflow_handler): Add comment.  Call assert on pass value.
33900 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
33902         [BZ #16194]
33903         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
33904         (HAVE_AVX512_ASM_SUPPORT): Likewise.
33905         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
33906         (La_x86_64_vector): Add zmm.
33907         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
33908         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
33909         ($(objpfx)tst-audit10): New target.
33910         ($(objpfx)tst-audit10.out): Likewise.
33911         (tst-audit10-ENV): New.
33912         (AVX512-CFLAGS): Likewise.
33913         (CFLAGS-tst-audit10.c): Likewise.
33914         (CFLAGS-tst-auditmod10a.c): Likewise.
33915         (CFLAGS-tst-auditmod10b.c): Likewise.
33916         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
33917         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
33918         * sysdeps/x86_64/configure: Regenerated.
33919         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
33920         AVX-512 zmm register support.
33921         (_dl_x86_64_save_sse): Likewise.
33922         (_dl_x86_64_restore_sse): Likewise.
33923         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
33924         size vector registers.
33925         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
33926         (ZMM_SIZE): Likewise.
33927         * sysdeps/x86_64/tst-audit10.c: New file.
33928         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
33929         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
33931 2014-03-13  Roland McGrath  <roland@hack.frob.com>
33933         * configure.ac (HAVE_EHDR_START): New check.
33934         * configure: Regenerated.
33935         * config.h.in (HAVE_EHDR_START): New #undef.
33936         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
33937         assuming the lowest-addressed segment maps the start of the file.
33939 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
33941         * INSTALL: Regenerated.
33943 2014-03-13  Will Newton  <will.newton@linaro.org>
33945         * manual/setjmp.texi (System V contexts): Improve
33946         clarity and grammar of documentation.
33948 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33950         [BZ #16381]
33951         * elf/Makefile (tests): Add tst-pie2.
33952         (tests-pie): Add tst-pie2.
33953         * elf/tst-pie2.c: New file.
33954         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
33955         for ET_EXEC.
33956         * elf/rtld.c (map_doit): Load executable as lt_executable.
33957         (dl_main): Likewise.
33959 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
33961         [BZ #16642]
33962         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33963         (__ASSUME_PSELECT): Undefine.
33965 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33967         [BZ #16689]
33968         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
33969         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
33970         static build.
33971         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
33972         selector for static builds.
33974 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33976         [BZ #16695]
33977         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
33978         key in the buffer.
33980 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33982         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
33983         IFUNC selector for static builds.
33985 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
33987         * sysdeps/mips/math_private.h [__mips_hard_float]
33988         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
33989         libc_feresetround_mips_ctx.
33990         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
33991         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
33992         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
33994         [BZ #16677]
33995         * math/s_nextafter.c (__nextafter): Do not return value from
33996         overflowing computation.
33997         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33998         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
33999         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34000         Likewise.
34001         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
34002         Likewise.
34003         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34004         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
34006 2014-03-11  Roland McGrath  <roland@hack.frob.com>
34008         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
34009         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
34010         Move sfi_sp use from the load-multiple (that no longer sets sp) to
34011         the new mov targetting sp.
34013 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34015         [BZ #16683]
34016         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
34017         Define it for static builds as well.
34018         (NO_BZERO_IMPL): Likewise.
34020 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34022         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
34023         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
34024         multiarch strspn for PPC64.
34025         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
34026         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
34027         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34028         (__libc_ifunc_impl_list): Likewise.
34029         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
34030         multiarch optimizations
34031         * string/strspn.c (strspn): Using macro to redefine symbol name.
34033 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34034             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34036         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
34037         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
34038         multiarch strncat for PPC64.
34039         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
34040         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
34041         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34042         (__libc_ifunc_impl_list): Likewise.
34043         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
34044         multiarch optimizations
34046 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34048         [BZ #16639]
34049         * nscd/nscd.service: Make service type forking.
34051 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34053         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
34054         sign in non default rounding modes.
34055         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
34057 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
34059         * math/libm-test.inc (ALL_RM_TEST): New macro.
34060         (ceil_test): Use ALL_RM_TEST.
34061         (cimag_test): Likewise.
34062         (conj_test): Likewise.
34063         (copysign_test): Likewise.
34064         (cproj_test): Likewise.
34065         (creal_test): Likewise.
34066         (fabs_test): Likewise.
34067         (floor_test): Likewise.
34068         (fmax_test): Likewise.
34069         (fmin_test): Likewise.
34070         (fmod_test): Likewise.
34071         (fpclassify_test): Likewise.
34072         (frexp_test): Likewise.
34073         (ilogb_test): Likewise.
34074         (isfinite_test): Likewise.
34075         (finite_test): Likewise.
34076         (isgreater_test): Likewise.
34077         (isgreaterequal_test): Likewise.
34078         (isinf_test): Likewise.
34079         (isless_test): Likewise.
34080         (islessequal_test): Likewise.
34081         (islessgreater_test): Likewise.
34082         (isnan_test): Likewise.
34083         (isnormal_test): Likewise.
34084         (issignaling_test): Likewise.
34085         (isunordered_test): Likewise.
34086         (logb_test): Likewise.
34087         (logb_downward_test_data): Remove.
34088         (logb_test_downward): Likewise.
34089         (lround_test): Use ALL_RM_TEST.
34090         (llround_test): Likewise.
34091         (modf_test): Likewise.
34092         (nexttoward_test): Likewise.
34093         (remainder_test): Likewise.
34094         (drem_test): Likewise.
34095         (remainder_tonearest_test_data): Likewise.
34096         (remainder_test_tonearest): Likewise.
34097         (drem_test_tonearest): Likewise.
34098         (remainder_towardzero_test_data): Likewise.
34099         (remainder_test_towardzero): Likewise.
34100         (drem_test_towardzero): Likewise.
34101         (remainder_downward_test_data): Likewise.
34102         (remainder_test_downward): Likewise.
34103         (drem_test_downward): Likewise.
34104         (remainder_upward_test_data): Likewise.
34105         (remainder_test_upward): Likewise.
34106         (drem_test_upward): Likewise.
34107         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
34108         (round_test): Use ALL_RM_TEST.
34109         (signbit_test): Likewise.
34110         (trunc_test): Likewise.
34111         (significand_test): Likewise.
34112         (main): Don't call removed functions.
34114 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
34116         [BZ #16674]
34117         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
34118         || __USE_XOPEN2K8].
34119         (ILL_ILLOPN): Likewise.
34120         (ILL_ILLADR): Likewise.
34121         (ILL_ILLTRP): Likewise.
34122         (ILL_PRVOPC): Likewise.
34123         (ILL_PRVREG): Likewise.
34124         (ILL_COPROC): Likewise.
34125         (ILL_BADSTK): Likewise.
34126         (FPE_INTDIV): Likewise.
34127         (FPE_INTOVF): Likewise.
34128         (FPE_FLTDIV): Likewise.
34129         (FPE_FLTOVF): Likewise.
34130         (FPE_FLTUND): Likewise.
34131         (FPE_FLTRES): Likewise.
34132         (FPE_FLTINV): Likewise.
34133         (FPE_FLTSUB): Likewise.
34134         (SEGV_MAPERR): Likewise.
34135         (SEGV_ACCERR): Likewise.
34136         (BUS_ADRALN): Likewise.
34137         (BUS_ADRERR): Likewise.
34138         (BUS_OBJERR): Likewise.
34139         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34140         (TRAP_TRACE): Likewise.
34141         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34142         __USE_XOPEN2K8].
34143         (CLD_KILLED): Likewise.
34144         (CLD_DUMPED): Likewise.
34145         (CLD_TRAPPED): Likewise.
34146         (CLD_STOPPED): Likewise.
34147         (CLD_CONTINUED): Likewise.
34148         (POLL_IN): Likewise.
34149         (POLL_OUT): Likewise.
34150         (POLL_MSG): Likewise.
34151         (POLL_ERR): Likewise.
34152         (POLL_PRI): Likewise.
34153         (POLL_HUP): Likewise.
34154         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
34155         Likewise.
34156         (ILL_ILLOPN): Likewise.
34157         (ILL_ILLADR): Likewise.
34158         (ILL_ILLTRP): Likewise.
34159         (ILL_PRVOPC): Likewise.
34160         (ILL_PRVREG): Likewise.
34161         (ILL_COPROC): Likewise.
34162         (ILL_BADSTK): Likewise.
34163         (FPE_INTDIV): Likewise.
34164         (FPE_INTOVF): Likewise.
34165         (FPE_FLTDIV): Likewise.
34166         (FPE_FLTOVF): Likewise.
34167         (FPE_FLTUND): Likewise.
34168         (FPE_FLTRES): Likewise.
34169         (FPE_FLTINV): Likewise.
34170         (FPE_FLTSUB): Likewise.
34171         (SEGV_MAPERR): Likewise.
34172         (SEGV_ACCERR): Likewise.
34173         (BUS_ADRALN): Likewise.
34174         (BUS_ADRERR): Likewise.
34175         (BUS_OBJERR): Likewise.
34176         (BUS_MCEERR_AR): Likewise.
34177         (BUS_MCEERR_AO): Likewise.
34178         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34179         (TRAP_TRACE): Likewise.
34180         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34181         __USE_XOPEN2K8].
34182         (CLD_KILLED): Likewise.
34183         (CLD_DUMPED): Likewise.
34184         (CLD_TRAPPED): Likewise.
34185         (CLD_STOPPED): Likewise.
34186         (CLD_CONTINUED): Likewise.
34187         (POLL_IN): Likewise.
34188         (POLL_OUT): Likewise.
34189         (POLL_MSG): Likewise.
34190         (POLL_ERR): Likewise.
34191         (POLL_PRI): Likewise.
34192         (POLL_HUP): Likewise.
34193         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
34194         (ILL_ILLOPN): Likewise.
34195         (ILL_ILLADR): Likewise.
34196         (ILL_ILLTRP): Likewise.
34197         (ILL_PRVOPC): Likewise.
34198         (ILL_PRVREG): Likewise.
34199         (ILL_COPROC): Likewise.
34200         (ILL_BADSTK): Likewise.
34201         (FPE_INTDIV): Likewise.
34202         (FPE_INTOVF): Likewise.
34203         (FPE_FLTDIV): Likewise.
34204         (FPE_FLTOVF): Likewise.
34205         (FPE_FLTUND): Likewise.
34206         (FPE_FLTRES): Likewise.
34207         (FPE_FLTINV): Likewise.
34208         (FPE_FLTSUB): Likewise.
34209         (SEGV_MAPERR): Likewise.
34210         (SEGV_ACCERR): Likewise.
34211         (BUS_ADRALN): Likewise.
34212         (BUS_ADRERR): Likewise.
34213         (BUS_OBJERR): Likewise.
34214         (BUS_MCEERR_AR): Likewise.
34215         (BUS_MCEERR_AO): Likewise.
34216         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34217         (TRAP_TRACE): Likewise.
34218         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34219         __USE_XOPEN2K8].
34220         (CLD_KILLED): Likewise.
34221         (CLD_DUMPED): Likewise.
34222         (CLD_TRAPPED): Likewise.
34223         (CLD_STOPPED): Likewise.
34224         (CLD_CONTINUED): Likewise.
34225         (POLL_IN): Likewise.
34226         (POLL_OUT): Likewise.
34227         (POLL_MSG): Likewise.
34228         (POLL_ERR): Likewise.
34229         (POLL_PRI): Likewise.
34230         (POLL_HUP): Likewise.
34231         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
34232         Likewise.
34233         (ILL_ILLOPN): Likewise.
34234         (ILL_ILLADR): Likewise.
34235         (ILL_ILLTRP): Likewise.
34236         (ILL_PRVOPC): Likewise.
34237         (ILL_PRVREG): Likewise.
34238         (ILL_COPROC): Likewise.
34239         (ILL_BADSTK): Likewise.
34240         (ILL_BADIADDR): Likewise.
34241         (ILL_BREAK): Likewise.
34242         (FPE_INTDIV): Likewise.
34243         (FPE_INTOVF): Likewise.
34244         (FPE_FLTDIV): Likewise.
34245         (FPE_FLTOVF): Likewise.
34246         (FPE_FLTUND): Likewise.
34247         (FPE_FLTRES): Likewise.
34248         (FPE_FLTINV): Likewise.
34249         (FPE_FLTSUB): Likewise.
34250         (FPE_DECOVF): Likewise.
34251         (FPE_DECDIV): Likewise.
34252         (FPE_DECERR): Likewise.
34253         (FPE_INVASC): Likewise.
34254         (FPE_INVDEC): Likewise.
34255         (SEGV_MAPERR): Likewise.
34256         (SEGV_ACCERR): Likewise.
34257         (SEGV_PSTKOVF): Likewise.
34258         (BUS_ADRALN): Likewise.
34259         (BUS_ADRERR): Likewise.
34260         (BUS_OBJERR): Likewise.
34261         (BUS_MCEERR_AR): Likewise.
34262         (BUS_MCEERR_AO): Likewise.
34263         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34264         (TRAP_TRACE): Likewise.
34265         (TRAP_BRANCH): Likewise.
34266         (TRAP_HWBKPT): Likewise.
34267         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34268         __USE_XOPEN2K8].
34269         (CLD_KILLED): Likewise.
34270         (CLD_DUMPED): Likewise.
34271         (CLD_TRAPPED): Likewise.
34272         (CLD_STOPPED): Likewise.
34273         (CLD_CONTINUED): Likewise.
34274         (POLL_IN): Likewise.
34275         (POLL_OUT): Likewise.
34276         (POLL_MSG): Likewise.
34277         (POLL_ERR): Likewise.
34278         (POLL_PRI): Likewise.
34279         (POLL_HUP): Likewise.
34280         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
34281         (ILL_ILLOPN): Likewise.
34282         (ILL_ILLADR): Likewise.
34283         (ILL_ILLTRP): Likewise.
34284         (ILL_PRVOPC): Likewise.
34285         (ILL_PRVREG): Likewise.
34286         (ILL_COPROC): Likewise.
34287         (ILL_BADSTK): Likewise.
34288         (FPE_INTDIV): Likewise.
34289         (FPE_INTOVF): Likewise.
34290         (FPE_FLTDIV): Likewise.
34291         (FPE_FLTOVF): Likewise.
34292         (FPE_FLTUND): Likewise.
34293         (FPE_FLTRES): Likewise.
34294         (FPE_FLTINV): Likewise.
34295         (FPE_FLTSUB): Likewise.
34296         (SEGV_MAPERR): Likewise.
34297         (SEGV_ACCERR): Likewise.
34298         (BUS_ADRALN): Likewise.
34299         (BUS_ADRERR): Likewise.
34300         (BUS_OBJERR): Likewise.
34301         (BUS_MCEERR_AR): Likewise.
34302         (BUS_MCEERR_AO): Likewise.
34303         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34304         (TRAP_TRACE): Likewise.
34305         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34306         __USE_XOPEN2K8].
34307         (CLD_KILLED): Likewise.
34308         (CLD_DUMPED): Likewise.
34309         (CLD_TRAPPED): Likewise.
34310         (CLD_STOPPED): Likewise.
34311         (CLD_CONTINUED): Likewise.
34312         (POLL_IN): Likewise.
34313         (POLL_OUT): Likewise.
34314         (POLL_MSG): Likewise.
34315         (POLL_ERR): Likewise.
34316         (POLL_PRI): Likewise.
34317         (POLL_HUP): Likewise.
34318         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
34319         (ILL_ILLOPN): Likewise.
34320         (ILL_ILLADR): Likewise.
34321         (ILL_ILLTRP): Likewise.
34322         (ILL_PRVOPC): Likewise.
34323         (ILL_PRVREG): Likewise.
34324         (ILL_COPROC): Likewise.
34325         (ILL_BADSTK): Likewise.
34326         (FPE_INTDIV): Likewise.
34327         (FPE_INTOVF): Likewise.
34328         (FPE_FLTDIV): Likewise.
34329         (FPE_FLTOVF): Likewise.
34330         (FPE_FLTUND): Likewise.
34331         (FPE_FLTRES): Likewise.
34332         (FPE_FLTINV): Likewise.
34333         (FPE_FLTSUB): Likewise.
34334         (SEGV_MAPERR): Likewise.
34335         (SEGV_ACCERR): Likewise.
34336         (BUS_ADRALN): Likewise.
34337         (BUS_ADRERR): Likewise.
34338         (BUS_OBJERR): Likewise.
34339         (BUS_MCEERR_AR): Likewise.
34340         (BUS_MCEERR_AO): Likewise.
34341         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34342         (TRAP_TRACE): Likewise.
34343         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34344         __USE_XOPEN2K8].
34345         (CLD_KILLED): Likewise.
34346         (CLD_DUMPED): Likewise.
34347         (CLD_TRAPPED): Likewise.
34348         (CLD_STOPPED): Likewise.
34349         (CLD_CONTINUED): Likewise.
34350         (POLL_IN): Likewise.
34351         (POLL_OUT): Likewise.
34352         (POLL_MSG): Likewise.
34353         (POLL_ERR): Likewise.
34354         (POLL_PRI): Likewise.
34355         (POLL_HUP): Likewise.
34356         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
34357         (ILL_ILLOPN): Likewise.
34358         (ILL_ILLADR): Likewise.
34359         (ILL_ILLTRP): Likewise.
34360         (ILL_PRVOPC): Likewise.
34361         (ILL_PRVREG): Likewise.
34362         (ILL_COPROC): Likewise.
34363         (ILL_BADSTK): Likewise.
34364         (FPE_INTDIV): Likewise.
34365         (FPE_INTOVF): Likewise.
34366         (FPE_FLTDIV): Likewise.
34367         (FPE_FLTOVF): Likewise.
34368         (FPE_FLTUND): Likewise.
34369         (FPE_FLTRES): Likewise.
34370         (FPE_FLTINV): Likewise.
34371         (FPE_FLTSUB): Likewise.
34372         (SEGV_MAPERR): Likewise.
34373         (SEGV_ACCERR): Likewise.
34374         (BUS_ADRALN): Likewise.
34375         (BUS_ADRERR): Likewise.
34376         (BUS_OBJERR): Likewise.
34377         (BUS_MCEERR_AR): Likewise.
34378         (BUS_MCEERR_AO): Likewise.
34379         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34380         (TRAP_TRACE): Likewise.
34381         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34382         __USE_XOPEN2K8].
34383         (CLD_KILLED): Likewise.
34384         (CLD_DUMPED): Likewise.
34385         (CLD_TRAPPED): Likewise.
34386         (CLD_STOPPED): Likewise.
34387         (CLD_CONTINUED): Likewise.
34388         (POLL_IN): Likewise.
34389         (POLL_OUT): Likewise.
34390         (POLL_MSG): Likewise.
34391         (POLL_ERR): Likewise.
34392         (POLL_PRI): Likewise.
34393         (POLL_HUP): Likewise.
34394         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
34395         (ILL_ILLOPN): Likewise.
34396         (ILL_ILLADR): Likewise.
34397         (ILL_ILLTRP): Likewise.
34398         (ILL_PRVOPC): Likewise.
34399         (ILL_PRVREG): Likewise.
34400         (ILL_COPROC): Likewise.
34401         (ILL_BADSTK): Likewise.
34402         (ILL_DBLFLT): Likewise.
34403         (ILL_HARDWALL): Likewise.
34404         (FPE_INTDIV): Likewise.
34405         (FPE_INTOVF): Likewise.
34406         (FPE_FLTDIV): Likewise.
34407         (FPE_FLTOVF): Likewise.
34408         (FPE_FLTUND): Likewise.
34409         (FPE_FLTRES): Likewise.
34410         (FPE_FLTINV): Likewise.
34411         (FPE_FLTSUB): Likewise.
34412         (SEGV_MAPERR): Likewise.
34413         (SEGV_ACCERR): Likewise.
34414         (BUS_ADRALN): Likewise.
34415         (BUS_ADRERR): Likewise.
34416         (BUS_OBJERR): Likewise.
34417         (BUS_MCEERR_AR): Likewise.
34418         (BUS_MCEERR_AO): Likewise.
34419         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34420         (TRAP_TRACE): Likewise.
34421         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34422         __USE_XOPEN2K8].
34423         (CLD_KILLED): Likewise.
34424         (CLD_DUMPED): Likewise.
34425         (CLD_TRAPPED): Likewise.
34426         (CLD_STOPPED): Likewise.
34427         (CLD_CONTINUED): Likewise.
34428         (POLL_IN): Likewise.
34429         (POLL_OUT): Likewise.
34430         (POLL_MSG): Likewise.
34431         (POLL_ERR): Likewise.
34432         (POLL_PRI): Likewise.
34433         (POLL_HUP): Likewise.
34434         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
34435         (ILL_ILLOPN): Likewise.
34436         (ILL_ILLADR): Likewise.
34437         (ILL_ILLTRP): Likewise.
34438         (ILL_PRVOPC): Likewise.
34439         (ILL_PRVREG): Likewise.
34440         (ILL_COPROC): Likewise.
34441         (ILL_BADSTK): Likewise.
34442         (FPE_INTDIV): Likewise.
34443         (FPE_INTOVF): Likewise.
34444         (FPE_FLTDIV): Likewise.
34445         (FPE_FLTOVF): Likewise.
34446         (FPE_FLTUND): Likewise.
34447         (FPE_FLTRES): Likewise.
34448         (FPE_FLTINV): Likewise.
34449         (FPE_FLTSUB): Likewise.
34450         (SEGV_MAPERR): Likewise.
34451         (SEGV_ACCERR): Likewise.
34452         (BUS_ADRALN): Likewise.
34453         (BUS_ADRERR): Likewise.
34454         (BUS_OBJERR): Likewise.
34455         (BUS_MCEERR_AR): Likewise.
34456         (BUS_MCEERR_AO): Likewise.
34457         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34458         (TRAP_TRACE): Likewise.
34459         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34460         __USE_XOPEN2K8].
34461         (CLD_KILLED): Likewise.
34462         (CLD_DUMPED): Likewise.
34463         (CLD_TRAPPED): Likewise.
34464         (CLD_STOPPED): Likewise.
34465         (CLD_CONTINUED): Likewise.
34466         (POLL_IN): Likewise.
34467         (POLL_OUT): Likewise.
34468         (POLL_MSG): Likewise.
34469         (POLL_ERR): Likewise.
34470         (POLL_PRI): Likewise.
34471         (POLL_HUP): Likewise.
34472         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
34473         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
34475         [BZ #16670]
34476         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
34477         before #include of <time.h>.
34478         [!__USE_XOPEN2K] (__need_timespec): Likewise.
34479         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
34480         (test-xfail-UNIX98/sched.h/conform): Likewise.
34482 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34484         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
34485         error absence of trapping exception support.
34486         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34488 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
34490         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
34491         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
34492         * timezone/Makefile (testdata): Move definition above include of
34493         Rules.
34494         (test-zones): New variable.
34495         (tests-special): Add zone files.
34496         (build-testdata): Use $(evaluate-test).
34498         * elf/Makefile (tests-special): Rename tests to end with .out.
34499         ($(objpfx)noload-mem): Likewise.
34500         ($(objpfx)tst-leaks1-mem): Likewise.
34501         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
34502         * iconv/Makefile (xtests-special): Change test-iconvconfig to
34503         $(objpfx)test-iconvconfig.out.
34504         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
34505         set -e inside subshell and redirect output to file.
34506         * iconvdata/Makefile (generated): Rename tests to end with .out.
34507         Correct type.
34508         (tests-special): Rename tests to end with .out.
34509         ($(objpfx)mtrace-tst-loading): Likewise.
34510         * intl/Makefile (generated): Likewise.
34511         (tests-special): Likewise.
34512         ($(objpfx)mtrace-tst-gettext): Likewise.
34513         * misc/Makefile (generated): Likewise.
34514         (tests-special): Likewise.
34515         ($(objpfx)tst-error1-mem): Likewise.
34516         * nptl/Makefile (tests-special): Likewise.
34517         ($(objpfx)tst-stack3-mem): Likewise.
34518         (generated): Likewise.
34519         * posix/Makefile (generated): Likewise.
34520         (tests-special): Likewise.
34521         (xtests-special): Likewise.
34522         ($(objpfx)tst-fnmatch-mem): Likewise.
34523         ($(objpfx)bug-regex2-mem): Likewise.
34524         ($(objpfx)bug-regex14-mem): Likewise.
34525         ($(objpfx)bug-regex21-mem): Likewise.
34526         ($(objpfx)bug-regex31-mem): Likewise.
34527         ($(objpfx)tst-vfork3-mem): Likewise.
34528         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
34529         ($(objpfx)tst-pcre-mem): Likewise.
34530         ($(objpfx)tst-boost-mem): Likewise.
34531         ($(objpfx)bug-ga2-mem): Likewise.
34532         ($(objpfx)bug-glob2-mem): Likewise.
34533         * resolv/Makefile (generate): Likewise.
34534         (tests-special): Likewise.
34535         (xtests-special): Likewise.
34536         (generated): Likewise.
34537         ($(objpfx)mtrace-tst-leaks): Likewise.
34538         ($(objpfx)mtrace-tst-leaks2): Likewise.
34540         * scripts/merge-test-results.sh: New file.
34541         * Makefile (tests-special-notdir): New variable.
34542         (tests): Run merge-test-results.sh.
34543         (xtests): Likewise.
34544         * Rules (tests-special-notdir): New variable.
34545         (xtests-special-notdir): Likewise.
34546         (tests): Run merge-test-results.sh
34547         (xtests): Likewise.
34549         * Makeconfig (test-xfail-name): New variable.
34550         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
34551         compute variable name for expected failures.
34552         * conform/Makefile (conformtest-headers-data): New variable.
34553         (conformtest-standards): Likewise.
34554         (conformtest-headers-ISO): Likewise.
34555         (conformtest-headers-ISO99): Likewise.
34556         (conformtest-headers-ISO11): Likewise.
34557         (conformtest-headers-POSIX): Likewise.
34558         (conformtest-headers-XPG3): Likewise.
34559         (conformtest-headers-XPG4): Likewise.
34560         (conformtest-headers-UNIX98): Likewise.
34561         (conformtest-headers-XOPEN2K): Likewise.
34562         (conformtest-headers-POSIX2008): Likewise.
34563         (conformtest-headers-XOPEN2K8): Likewise.
34564         (conformtest-header-list-base): Likewise.
34565         (conformtest-header-list-tests): Likewise.
34566         (conformtest-header-base): Likewise.
34567         (conformtest-header-tests): Likewise.
34568         (tests-special): Add $(conformtest-header-list-tests).  If
34569         [$(fast-check) && !$(cross-compiling)], add
34570         $(conformtest-header-tests) instead of
34571         $(objpfx)run-conformtest.out.
34572         (generated): Add $(conformtest-header-list-base).  If
34573         [$(fast-check) && !$(cross-compiling)], add
34574         $(conformtest-header-base).  Remove previous setting.
34575         ($(conformtest-header-list-tests)): New target.
34576         (test-xfail-run-conformtest): Remove variable.
34577         ($(objpfx)run-conformtest.out): Remove target.
34578         (test-xfail-ISO11/complex.h/conform): New variable.
34579         (test-xfail-ISO11/stdalign.h/conform): Likewise.
34580         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
34581         (test-xfail-XPG3/varargs.h/conform): Likewise.
34582         (test-xfail-XPG4/varargs.h/conform): Likewise.
34583         (test-xfail-UNIX98/varargs.h/conform): Likewise.
34584         (test-xfail-XPG4/ndbm.h/conform): Likewise.
34585         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
34586         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
34587         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
34588         (test-xfail-XPG3/fcntl.h/conform): Likewise.
34589         (test-xfail-XPG3/ftw.h/conform): Likewise.
34590         (test-xfail-XPG3/grp.h/conform): Likewise.
34591         (test-xfail-XPG3/langinfo.h/conform): Likewise.
34592         (test-xfail-XPG3/limits.h/conform): Likewise.
34593         (test-xfail-XPG3/pwd.h/conform): Likewise.
34594         (test-xfail-XPG3/search.h/conform): Likewise.
34595         (test-xfail-XPG3/signal.h/conform): Likewise.
34596         (test-xfail-XPG3/stdio.h/conform): Likewise.
34597         (test-xfail-XPG3/stdlib.h/conform): Likewise.
34598         (test-xfail-XPG3/string.h/conform): Likewise.
34599         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
34600         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
34601         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
34602         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
34603         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
34604         (test-xfail-XPG3/sys/types.h/conform): Likewise.
34605         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
34606         (test-xfail-XPG3/termios.h/conform): Likewise.
34607         (test-xfail-XPG3/time.h/conform): Likewise.
34608         (test-xfail-XPG3/unistd.h/conform): Likewise.
34609         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
34610         (test-xfail-XPG4/fcntl.h/conform): Likewise.
34611         (test-xfail-XPG4/langinfo.h/conform): Likewise.
34612         (test-xfail-XPG4/netdb.h/conform): Likewise.
34613         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
34614         (test-xfail-XPG4/signal.h/conform): Likewise.
34615         (test-xfail-XPG4/stdio.h/conform): Likewise.
34616         (test-xfail-XPG4/stdlib.h/conform): Likewise.
34617         (test-xfail-XPG4/stropts.h/conform): Likewise.
34618         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
34619         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
34620         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
34621         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
34622         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
34623         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
34624         (test-xfail-XPG4/sys/time.h/conform): Likewise.
34625         (test-xfail-XPG4/sys/types.h/conform): Likewise.
34626         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
34627         (test-xfail-XPG4/termios.h/conform): Likewise.
34628         (test-xfail-XPG4/ucontext.h/conform): Likewise.
34629         (test-xfail-XPG4/unistd.h/conform): Likewise.
34630         (test-xfail-XPG4/utmpx.h/conform): Likewise.
34631         (test-xfail-POSIX/sched.h/conform): Likewise.
34632         (test-xfail-POSIX/signal.h/conform): Likewise.
34633         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
34634         (test-xfail-POSIX/tar.h/conform): Likewise.
34635         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
34636         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
34637         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
34638         (test-xfail-UNIX98/netdb.h/conform): Likewise.
34639         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
34640         (test-xfail-UNIX98/sched.h/conform): Likewise.
34641         (test-xfail-UNIX98/signal.h/conform): Likewise.
34642         (test-xfail-UNIX98/stdio.h/conform): Likewise.
34643         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
34644         (test-xfail-UNIX98/stropts.h/conform): Likewise.
34645         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
34646         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
34647         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
34648         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
34649         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
34650         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
34651         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
34652         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
34653         (test-xfail-UNIX98/unistd.h/conform): Likewise.
34654         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
34655         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
34656         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
34657         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
34658         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
34659         (test-xfail-XOPEN2K/math.h/conform): Likewise.
34660         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
34661         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
34662         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
34663         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
34664         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
34665         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
34666         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
34667         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
34668         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
34669         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
34670         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
34671         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
34672         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
34673         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
34674         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
34675         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
34676         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
34677         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
34678         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
34679         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
34680         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
34681         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
34682         (test-xfail-POSIX2008/signal.h/conform): Likewise.
34683         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
34684         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
34685         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
34686         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
34687         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
34688         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
34689         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
34690         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
34691         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
34692         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
34693         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
34694         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
34695         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
34696         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
34697         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
34698         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
34699         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
34700         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
34701         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
34702         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
34703         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
34704         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
34705         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
34706         (conformtest-cc-flags): Likewise.
34707         ($(conformtest-header-tests): New target.
34708         * conform/check-header-lists.sh: New file.
34709         * conform/run-conformtest.sh: Remove.
34711         * conform/conformtest.pl: Allow ' and \ in values given for
34712         constants.
34713         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
34714         inclusion.
34715         [POSIX] (sys/types.h): Likewise.
34716         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
34717         inclusion.
34718         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
34719         inclusion.
34720         * conform/data/signal.h-data (SIGIO): Remove expectation.
34721         [XPG3] (SIGBUS): Do not expect.
34722         [POSIX || XPG3] (SIGPOLL): Likewise.
34723         [POSIX || XPG3] (SIGPROF): Likewise.
34724         [POSIX || XPG3] (SIGSYS): Likewise.
34725         [XPG3] (SIGTRAP): Likewise.
34726         [POSIX || XPG3] (SIGURG): Likewise.
34727         [POSIX || XPG3] (SIGVTALRM): Likewise.
34728         [POSIX || XPG3] (SIGXCPU): Likewise.
34729         [POSIX || XPG3] (SIGXFSZ): Likewise.
34730         [POSIX] (SA_SIGINFO): Expect.
34731         [XPG3] (siginfo_t): Do not expect type or contents.
34732         [POSIX] (si_pid): Do not expect element.
34733         [POSIX] (si_uid): Likewise.
34734         [POSIX] (si_addr): Likewise.
34735         [POSIX] (si_status): Likewise.
34736         [POSIX] (si_band): Likewise.
34737         [XPG4] (si_value): Likewise.
34738         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
34739         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
34740         [POSIX || XPG3] (ILL_ILLADR): Likewise.
34741         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
34742         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
34743         [POSIX || XPG3] (ILL_PRVREG): Likewise.
34744         [POSIX || XPG3] (ILL_COPROC): Likewise.
34745         [POSIX || XPG3] (ILL_BADSTK): Likewise.
34746         [POSIX || XPG3] (FPE_INTDIV): Likewise.
34747         [POSIX || XPG3] (FPE_INTOVF): Likewise.
34748         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
34749         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
34750         [POSIX || XPG3] (FPE_FLTUND): Likewise.
34751         [POSIX || XPG3] (FPE_FLTRES): Likewise.
34752         [POSIX || XPG3] (FPE_FLTINV): Likewise.
34753         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
34754         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
34755         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
34756         [POSIX || XPG3] (BUS_ADRALN): Likewise.
34757         [POSIX || XPG3] (BUS_ADRERR): Likewise.
34758         [POSIX || XPG3] (BUS_OBJERR): Likewise.
34759         [POSIX || XPG3] (CLD_EXITED): Likewise.
34760         [POSIX || XPG3] (CLD_KILLED): Likewise.
34761         [POSIX || XPG3] (CLD_DUMPED): Likewise.
34762         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
34763         [POSIX || XPG3] (CLD_STOPPED): Likewise.
34764         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
34765         [POSIX || XPG3] (POLL_IN): Likewise.
34766         [POSIX || XPG3] (POLL_OUT): Likewise.
34767         [POSIX || XPG3] (POLL_MSG): Likewise.
34768         [POSIX || XPG3] (POLL_ERR): Likewise.
34769         [POSIX || XPG3] (POLL_PRI): Likewise.
34770         [POSIX || XPG3] (POLL_HUP): Likewise.
34771         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
34772         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
34773         (SIG*): Do not allow.
34774         [XPG3] (si_*): Likewise.
34775         [XPG3] (SI_*): Likewise.
34776         [XPG3 || XPG4] (sigev_*): Likewise.
34777         [XPG3 || XPG4] (SIGEV_*): Likewise.
34778         [XPG3 || XPG4] (sival_*): Likewise.
34779         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
34780         [POSIX || XPG3] (BUS_*): Likewise.
34781         [POSIX || XPG3] (CLD_*): Likewise.
34782         [POSIX || XPG3] (FPE_*): Likewise.
34783         [POSIX || XPG3] (ILL_*): Likewise.
34784         [POSIX || XPG3] (POLL_*): Likewise.
34785         [POSIX || XPG3] (SEGV_*): Likewise.
34786         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
34787         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
34788         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
34789         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
34790         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
34791         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
34792         Specify type and value.
34793         (TVERSLEN): Likewise.
34794         (REGTYPE): Likewise.
34795         (AREGTYPE): Likewise.
34796         (LNKTYPE): Likewise.
34797         (SYMTYPE): Likewise.
34798         (CHRTYPE): Likewise.
34799         (BLKTYPE): Likewise.
34800         (DIRTYPE): Likewise.
34801         (FIFOTYPE): Likewise.
34802         (CONTTYPE): Likewise.
34803         (TSUID): Likewise.
34804         (TSGID): Likewise.
34805         (TSVTX): Likewise.
34806         (TUREAD): Likewise.
34807         (TUWRITE): Likewise.
34808         (TUEXEC): Likewise.
34809         (TGREAD): Likewise.
34810         (TGWRITE): Likewise.
34811         (TGEXEC): Likewise.
34812         (TOREAD): Likewise.
34813         (TOWRITE): Likewise.
34814         (TOEXEC): Likewise.
34815         [POSIX] (TSVTX): Expect constant.
34817 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
34819         * Makefile (tests): Change dependencies to ....
34820         (tests-special): ... additions to this variable.
34821         (tests): Depend on $(tests-special).
34822         * Makerules (check-abi-list): New variable.
34823         (check-abi): Depend on $(check-abi-list).
34824         [$(subdir) = elf] (tests-special): Add
34825         $(objpfx)check-abi-libc.out.
34826         [$(build-shared) = yes && subdir] (tests-special): Add
34827         $(check-abi-list).
34828         [$(build-shared) = yes && subdir] (tests): Do not depend on
34829         check-abi.
34830         * Rules (tests): Depend on $(tests-special).
34831         (xtests): Depend on $(xtests-special).
34832         * catgets/Makefile (tests): Change dependencies to ....
34833         (tests-special): ... additions to this variable.
34834         * conform/Makefile (tests): Change dependencies to ....
34835         (tests-special): ... additions to this variable.
34836         * elf/Makefile (tests): Change dependencies to ....
34837         (tests-special): ... additions to this variable.
34838         * grp/Makefile (tests): Change dependencies to ....
34839         (tests-special): ... additions to this variable.
34840         * iconv/Makefile (xtests): Change dependencies to ....
34841         (xtests-special): ... additions to this variable.
34842         * iconvdata/Makefile (tests): Change dependencies to ....
34843         (tests-special): ... additions to this variable.
34844         * intl/Makefile (tests): Change dependencies to ....
34845         (tests-special): ... additions to this variable.  Also add
34846         $(objpfx)tst-gettext.out.
34847         * io/Makefile (tests): Change dependencies to ....
34848         (tests-special): ... additions to this variable.
34849         * libio/Makefile (tests): Change dependencies to ....
34850         (tests-special): ... additions to this variable.
34851         * malloc/Makefile (tests): Change dependencies to ....
34852         (tests-special): ... additions to this variable.
34853         * misc/Makefile (tests): Change dependencies to ....
34854         (tests-special): ... additions to this variable.
34855         * nptl/Makefile (tests): Change dependencies to ....
34856         (tests-special): ... additions to this variable.
34857         * nptl_db/Makefile (tests): Change dependencies to ....
34858         (tests-special): ... additions to this variable.
34859         * posix/Makefile (tests): Change dependencies to ....
34860         (tests-special): ... additions to this variable.
34861         (xtests): Change dependencies to ....
34862         (xtests-special): ... additions to this variable.
34863         * resolv/Makefile (tests): Change dependencies to ....
34864         (tests-special): ... additions to this variable.
34865         (xtests): Change dependencies to ....
34866         (xtests-special): ... additions to this variable.
34867         * stdio-common/Makefile (tests): Change dependencies to ....
34868         (tests-special): ... additions to this variable.
34869         (do-tst-unbputc): Remove target.
34870         (do-tst-printf): Likewise.
34871         * stdlib/Makefile (tests): Change dependencies to ....
34872         (tests-special): ... additions to this variable.
34873         * string/Makefile (tests): Change dependencies to ....
34874         (tests-special): ... additions to this variable.
34875         * sysdeps/x86/Makefile (tests): Change dependencies to ....
34876         (tests-special): ... additions to this variable.
34878         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
34879         whole file.
34880         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
34881         whole file.
34882         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
34883         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
34885         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
34886         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
34887         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
34888         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
34889         * conform/data/libgen.h-data [XPG3]: Likewise.
34890         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
34891         * conform/data/ndbm.h-data [XPG3]: Likewise.
34892         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
34893         * conform/data/netdb.h-data [XPG3]: Likewise.
34894         * conform/data/netinet/in.h-data [XPG3]: Likewise.
34895         * conform/data/poll.h-data [XPG3]: Likewise.
34896         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
34897         * conform/data/strings.h-data [XPG3]: Likewise.
34898         * conform/data/stropts.h-data [XPG3]: Likewise.
34899         * conform/data/sys/mman.h-data [XPG3]: Likewise.
34900         * conform/data/sys/resource.h-data [XPG3]: Likewise.
34901         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
34902         Likewise.
34903         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
34904         * conform/data/sys/time.h-data [XPG3]: Likewise.
34905         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
34906         * conform/data/sys/uio.h-data [XPG3]: Likewise.
34907         * conform/data/sys/un.h-data [XPG3]: Likewise.
34908         * conform/data/syslog.h-data [XPG3]: Likewise.
34909         * conform/data/ucontext.h-data [XPG3]: Likewise.
34910         * conform/data/utmpx.h-data [XPG3]: Likewise.
34911         * conform/data/varargs.h-data [UNIX98]: Enable file.
34913         * manual/Makefile (INSTALL_INFO): Remove variable setting.
34915         * math/libm-test.inc (struct test_f_f_data): Move expected results
34916         into structure for each rounding mode.
34917         (struct test_ff_f_data): Likewise.
34918         (struct test_ff_f_data_nexttoward): Likewise.
34919         (struct test_fi_f_data): Likewise.
34920         (struct test_fl_f_data): Likewise.
34921         (struct test_if_f_data): Likewise.
34922         (struct test_fff_f_data): Likewise.
34923         (struct test_c_f_data): Likewise.
34924         (struct test_f_f1_data): Likewise.
34925         (struct test_fF_f1_data): Likewise.
34926         (struct test_ffI_f1_data): Likewise.
34927         (struct test_c_c_data): Likewise.
34928         (struct test_cc_c_data): Likewise.
34929         (struct test_f_i_data): Likewise.
34930         (struct test_ff_i_data): Likewise.
34931         (struct test_f_l_data): Likewise.
34932         (struct test_f_L_data): Likewise.
34933         (struct test_fFF_11_data): Likewise.
34934         (RM_): New macro.
34935         (RM_FE_DOWNWARD): Likewise.
34936         (RM_FE_TONEAREST): Likewise.
34937         (RM_FE_TOWARDZERO): Likewise.
34938         (RM_FE_UPWARD): Likewise.
34939         (RUN_TEST_LOOP_f_f): Update references to expected results.
34940         (RUN_TEST_LOOP_2_f): Likewise.
34941         (RUN_TEST_LOOP_fff_f): Likewise.
34942         (RUN_TEST_LOOP_c_f): Likewise.
34943         (RUN_TEST_LOOP_f_f1): Likewise.
34944         (RUN_TEST_LOOP_fF_f1): Likewise.
34945         (RUN_TEST_LOOP_fI_f1): Likewise.
34946         (RUN_TEST_LOOP_ffI_f1): Likewise.
34947         (RUN_TEST_LOOP_c_c): Likewise.
34948         (RUN_TEST_LOOP_cc_c): Likewise.
34949         (RUN_TEST_LOOP_f_i): Likewise.
34950         (RUN_TEST_LOOP_f_i_tg): Likewise.
34951         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34952         (RUN_TEST_LOOP_f_b): Likewise.
34953         (RUN_TEST_LOOP_f_b_tg): Likewise.
34954         (RUN_TEST_LOOP_f_l): Likewise.
34955         (RUN_TEST_LOOP_f_L): Likewise.
34956         (RUN_TEST_LOOP_fFF_11): Likewise.
34957         * math/gen-libm-test.pl (parse_args): Output four copies of
34958         expected results for each test.
34960         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34961         (__ASSUME_UTIMES): Remove.
34962         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34963         (__ASSUME_UTIMES): Likewise.
34965         * math/gen-auto-libm-tests.c: Update comment on output format.
34966         (output_for_one_input_case): Generate before-rounding and
34967         after-rounding information as conditions on output flags not
34968         floating-point format.
34969         * math/auto-libm-test-out: Regenerated.
34970         * math/gen-libm-test.pl (cond_value): New function.
34971         (or_cond_value): Use cond_value.
34972         (generate_testfile): Handle conditional exceptions.
34974 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
34976         * math/libm-test.inc (max_valid_error): New variable.
34977         (init_max_error): Take new argument specifying whether function
34978         results are exactly determined.  Set max_valid_error and bound
34979         other variables for errors based on this argument.
34980         (set_max_error): Do not record results above max_valid_error.
34981         (check_float_internal): Only accept errors of up to 0.5ulps if
34982         also at most max_valid_error.
34983         (START): Take new argument EXACT and pass it to init_max_error.
34984         (acos_test): Update call to START.
34985         (acos_test_tonearest): Likewise.
34986         (acos_test_towardzero): Likewise.
34987         (acos_test_downward): Likewise.
34988         (acos_test_upward): Likewise.
34989         (acosh_test): Likewise.
34990         (asin_test): Likewise.
34991         (asin_test_tonearest): Likewise.
34992         (asin_test_towardzero): Likewise.
34993         (asin_test_downward): Likewise.
34994         (asin_test_upward): Likewise.
34995         (asinh_test): Likewise.
34996         (atan_test): Likewise.
34997         (atanh_test): Likewise.
34998         (atan2_test): Likewise.
34999         (cabs_test): Likewise.
35000         (cacos_test): Likewise.
35001         (cacosh_test): Likewise.
35002         (carg_test): Likewise.
35003         (casin_test): Likewise.
35004         (casinh_test): Likewise.
35005         (catan_test): Likewise.
35006         (catanh_test): Likewise.
35007         (cbrt_test): Likewise.
35008         (ccos_test): Likewise.
35009         (ccosh_test): Likewise.
35010         (ceil_test): Likewise.
35011         (cexp_test): Likewise.
35012         (cimag_test): Likewise.
35013         (clog_test): Likewise.
35014         (clog10_test): Likewise.
35015         (conj_test): Likewise.
35016         (copysign_test): Likewise.
35017         (cos_test): Likewise.
35018         (cos_test_tonearest): Likewise.
35019         (cos_test_towardzero): Likewise.
35020         (cos_test_downward): Likewise.
35021         (cos_test_upward): Likewise.
35022         (cosh_test): Likewise.
35023         (cosh_test_tonearest): Likewise.
35024         (cosh_test_towardzero): Likewise.
35025         (cosh_test_downward): Likewise.
35026         (cosh_test_upward): Likewise.
35027         (cpow_test): Likewise.
35028         (cproj_test): Likewise.
35029         (creal_test): Likewise.
35030         (csin_test): Likewise.
35031         (csinh_test): Likewise.
35032         (csqrt_test): Likewise.
35033         (ctan_test): Likewise.
35034         (ctan_test_tonearest): Likewise.
35035         (ctan_test_towardzero): Likewise.
35036         (ctan_test_downward): Likewise.
35037         (ctan_test_upward): Likewise.
35038         (ctanh_test): Likewise.
35039         (ctanh_test_tonearest): Likewise.
35040         (ctanh_test_towardzero): Likewise.
35041         (ctanh_test_downward): Likewise.
35042         (ctanh_test_upward): Likewise.
35043         (erf_test): Likewise.
35044         (erfc_test): Likewise.
35045         (exp_test): Likewise.
35046         (exp_test_tonearest): Likewise.
35047         (exp_test_towardzero): Likewise.
35048         (exp_test_downward): Likewise.
35049         (exp_test_upward): Likewise.
35050         (exp10_test): Likewise.
35051         (exp10_test_tonearest): Likewise.
35052         (exp10_test_towardzero): Likewise.
35053         (exp10_test_downward): Likewise.
35054         (exp10_test_upward): Likewise.
35055         (pow10_test): Likewise.
35056         (exp2_test): Likewise.
35057         (expm1_test): Likewise.
35058         (expm1_test_tonearest): Likewise.
35059         (expm1_test_towardzero): Likewise.
35060         (expm1_test_downward): Likewise.
35061         (expm1_test_upward): Likewise.
35062         (fabs_test): Likewise.
35063         (fdim_test): Likewise.
35064         (floor_test): Likewise.
35065         (fma_test): Likewise.
35066         (fma_test_towardzero): Likewise.
35067         (fma_test_downward): Likewise.
35068         (fma_test_upward): Likewise.
35069         (fmax_test): Likewise.
35070         (fmin_test): Likewise.
35071         (fmod_test): Likewise.
35072         (fpclassify_test): Likewise.
35073         (frexp_test): Likewise.
35074         (hypot_test): Likewise.
35075         (ilogb_test): Likewise.
35076         (isfinite_test): Likewise.
35077         (finite_test): Likewise.
35078         (isgreater_test): Likewise.
35079         (isgreaterequal_test): Likewise.
35080         (isinf_test): Likewise.
35081         (isless_test): Likewise.
35082         (islessequal_test): Likewise.
35083         (islessgreater_test): Likewise.
35084         (isnan_test): Likewise.
35085         (isnormal_test): Likewise.
35086         (issignaling_test): Likewise.
35087         (isunordered_test): Likewise.
35088         (j0_test): Likewise.
35089         (j1_test): Likewise.
35090         (jn_test): Likewise.
35091         (ldexp_test): Likewise.
35092         (lgamma_test): Likewise.
35093         (gamma_test): Likewise.
35094         (lrint_test): Likewise.
35095         (lrint_test_tonearest): Likewise.
35096         (lrint_test_towardzero): Likewise.
35097         (lrint_test_downward): Likewise.
35098         (lrint_test_upward): Likewise.
35099         (llrint_test): Likewise.
35100         (llrint_test_tonearest): Likewise.
35101         (llrint_test_towardzero): Likewise.
35102         (llrint_test_downward): Likewise.
35103         (llrint_test_upward): Likewise.
35104         (log_test): Likewise.
35105         (log10_test): Likewise.
35106         (log1p_test): Likewise.
35107         (log2_test): Likewise.
35108         (logb_test): Likewise.
35109         (logb_test_downward): Likewise.
35110         (lround_test): Likewise.
35111         (llround_test): Likewise.
35112         (modf_test): Likewise.
35113         (nearbyint_test): Likewise.
35114         (nextafter_test): Likewise.
35115         (nexttoward_test): Likewise.
35116         (pow_test): Likewise.
35117         (pow_test_tonearest): Likewise.
35118         (pow_test_towardzero): Likewise.
35119         (pow_test_downward): Likewise.
35120         (pow_test_upward): Likewise.
35121         (remainder_test): Likewise.
35122         (drem_test): Likewise.
35123         (remainder_test_tonearest): Likewise.
35124         (drem_test_tonearest): Likewise.
35125         (remainder_test_towardzero): Likewise.
35126         (drem_test_towardzero): Likewise.
35127         (remainder_test_downward): Likewise.
35128         (drem_test_downward): Likewise.
35129         (remainder_test_upward): Likewise.
35130         (drem_test_upward): Likewise.
35131         (remquo_test): Likewise.
35132         (rint_test): Likewise.
35133         (rint_test_tonearest): Likewise.
35134         (rint_test_towardzero): Likewise.
35135         (rint_test_downward): Likewise.
35136         (rint_test_upward): Likewise.
35137         (round_test): Likewise.
35138         (scalb_test): Likewise.
35139         (scalbn_test): Likewise.
35140         (scalbln_test): Likewise.
35141         (signbit_test): Likewise.
35142         (sin_test): Likewise.
35143         (sin_test_tonearest): Likewise.
35144         (sin_test_towardzero): Likewise.
35145         (sin_test_downward): Likewise.
35146         (sin_test_upward): Likewise.
35147         (sincos_test): Likewise.
35148         (sinh_test): Likewise.
35149         (sinh_test_tonearest): Likewise.
35150         (sinh_test_towardzero): Likewise.
35151         (sinh_test_downward): Likewise.
35152         (sinh_test_upward): Likewise.
35153         (sqrt_test): Likewise.
35154         (sqrt_test_tonearest): Likewise.
35155         (sqrt_test_towardzero): Likewise.
35156         (sqrt_test_downward): Likewise.
35157         (sqrt_test_upward): Likewise.
35158         (tan_test): Likewise.
35159         (tan_test_tonearest): Likewise.
35160         (tan_test_towardzero): Likewise.
35161         (tan_test_downward): Likewise.
35162         (tan_test_upward): Likewise.
35163         (tanh_test): Likewise.
35164         (tgamma_test): Likewise.
35165         (trunc_test): Likewise.
35166         (y0_test): Likewise.
35167         (y1_test): Likewise.
35168         (yn_test): Likewise.
35169         (significand_test): Likewise.
35171         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
35172         individual tests in comment.
35173         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
35174         (prev_max_error): New variable.
35175         (prev_real_max_error): Likewise.
35176         (prev_imag_max_error): Likewise.
35177         (compare_ulp_data): Don't refer to test names in comment.
35178         (find_test_ulps): Remove function.
35179         (find_function_ulps): Likewise.
35180         (find_complex_function_ulps): Likewise.
35181         (init_max_error): Take function name as argument.  Look up ulps
35182         for that function.
35183         (print_ulps): Remove function.
35184         (print_max_error): Use prev_max_error instead of calling
35185         find_function_ulps.
35186         (print_complex_max_error): Use prev_real_max_error and
35187         prev_imag_max_error instead of calling find_complex_function_ulps.
35188         (check_float_internal): Take max_ulp parameter instead of calling
35189         find_test_ulps.  Don't call print_ulps.
35190         (check_float): Update call to check_float_internal.
35191         (check_complex): Update calls to check_float_internal.
35192         (START): Pass argument to init_max_error.
35193         * math/gen-libm-test.pl (%results): Don't include "kind"
35194         information.
35195         (parse_ulps): Don't handle ulps of individual tests.
35196         (print_ulps_file): Likewise.
35197         (output_ulps): Likewise.
35198         * math/README.libm-test: Update.
35199         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
35200         individual tests.
35201         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
35202         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
35203         * sysdeps/arm/libm-test-ulps: Likewise.
35204         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
35205         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
35206         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
35207         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
35208         * sysdeps/microblaze/libm-test-ulps: Likewise.
35209         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
35210         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35211         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35212         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
35213         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35214         * sysdeps/sh/libm-test-ulps: Likewise.
35215         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35216         * sysdeps/tile/libm-test-ulps: Likewise.
35217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35219 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
35221         * math/libm-test.inc (print_complex_max_error): Check separately
35222         whether real and imaginary errors are within allowed range and
35223         pass 0 to print_complex_function_ulps instead of value within
35224         allowed range.
35226 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35228         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
35229         formatting.
35230         (get_handles_fopen): Likewise.
35231         (do_write_test): Likewise.
35233         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
35235         * libio/fileops.c (do_ftell): Use cached offset when
35236         available.
35237         * libio/iofwide.c (do_ftell_wide): Likewise.
35238         * libio/iofdopen.c (_IO_new_fdopen): Don't use
35239         _IO_file_attach.
35240         * libio/wfileops.c (_IO_fwide): Don't cache offset.
35242         [BZ #16532]
35243         * libio/libioP.h (get_file_offset): New function.
35244         * libio/fileops.c (get_file_offset): Likewise.
35245         (do_ftell): Likewise.
35246         (_IO_new_file_seekoff): Split out ftell logic.
35247         * libio/wfileops.c (do_ftell_wide): Likewise.
35248         (_IO_wfile_seekoff): Split out ftell logic.
35249         * libio/tst-ftell-active-handler.c: New test case.
35250         * libio/Makefile (tests): Add it.
35252 2014-03-03  Roland McGrath  <roland@hack.frob.com>
35254         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
35255         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
35257 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35259         [BZ #16639]
35260         * nscd/connections.c (nscd_init): Call do_exit.
35261         (start_threads): Call do_exit and notify_parent.
35262         (begin_drop_privileges): Call do_exit.
35263         (finish_drop_privileges): Likewise.
35264         * nscd/selinux.c (preserve_capabilities): Likewise.
35265         (install_real_capabilities): Likewise.
35266         (nscd_selinux_enabled): Likewise.
35267         (avc_create_thread): Likewise.
35268         (avc_alloc_lock): Likewise.
35269         (nscd_avc_init): Likewise.
35270         * nscd/nscd.c (parent_fd): New static variable.
35271         (main): Create a pipe between parent and child processes.
35272         Skip closing parent_fd.
35273         (monitor_child): New function.
35274         (do_exit): Likewise.
35275         (notify_parent): Likewise.
35276         * nscd/nscd.h (notify_parent): Likewise.
35277         (do_exit): Likewise.
35279 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
35281         * malloc/malloc.c (__libc_calloc): Revert last change.
35283 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35287 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35289         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
35290         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
35291         implementation.
35292         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35293         (__libc_ifunc_impl_list): Likewise.
35294         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
35295         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
35296         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
35297         * string/strrchr.c: Define STRRCHR.
35299 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
35301         * benchtest/bench-strtok.c (simple_strtok): Delete.
35302         (strtok_string): Use as benchmark.
35303         * string/strtok (STRTOK): New macro.
35305 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
35307         * manual/threads.texi: Add header and standard comments to all
35308         functions.
35310         * elf/dl-lookup.c (check_match): New function.
35311         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
35312         (do_lookup_x): Remove nested function check_match. Use non-nested
35313         function check_match.
35315 2014-02-28  Roland McGrath  <roland@hack.frob.com>
35317         * csu/Makefile (generated, before-compile): Use += rather than =.
35318         * catgets/Makefile (generated, generated-dirs): Likewise.
35319         * debug/Makefile (generated): Likewise.
35320         * dlfcn/Makefile (generated): Likewise.
35321         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
35322         * iconvdata/Makefile (before-compile, generated): Likewise.
35323         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
35324         * libio/Makefile (generated): Likewise.
35325         * malloc/Makefile (generated): Likewise.
35326         * manual/Makefile (generated, generated-dirs): Likewise.
35327         * misc/Makefile (generated): Likewise.
35328         * posix/Makefile (generated): Likewise.
35329         * resolv/Makefile (generated): Likewise.
35330         * sunrpc/Makefile (generated, generated-dirs): Likewise.
35331         * timezone/Makefile (generated, generated-dirs): Likewise.
35333         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
35335 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35337         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
35338         power8 implementation.
35339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
35340         file: POWER8 llround ifunc implementation.
35341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
35342         (__lllround): Add POWER8 implementation.
35343         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
35344         POWER8 llround implementation.
35346         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
35347         power8 implementation.
35348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
35349         file: POWER8 llrint ifunc implementation.
35350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
35351         Add POWER8 implementation.
35352         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
35353         POWER8 llrint implementation.
35355         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
35356         power8 implementation.
35357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
35358         file: POWER8 finite ifunc implementation.
35359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
35360         Add POWER8 implementation.
35361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
35362         Likewise.
35363         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
35364         POWER8 finite implementation.
35365         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
35367         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
35368         power8 implementation.
35369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
35370         file: POWER8 isinf ifunc implementation.
35371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
35372         POWER8 implementation.
35373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
35374         Likewise.
35375         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
35376         isinf implementation.
35377         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
35379         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
35380         (INIT_ARCH): Add hwcap2 initialization.
35381         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
35382         power8 implementation.
35383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
35384         file: POWER8 isnan ifunc implementation.
35385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
35386         POWER8 implementation.
35387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
35388         Likewise.
35389         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
35390         isnan implementation.
35391         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
35393 2014-02-27  Joey Ye  <joey.ye@arm.com>
35395         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35396         (_FP_NANFRAC_Q): Set to zero.
35398 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35400         [BZ #16623]
35401         * math/auto-libm-test-in: New test inputs.
35402         * math/auto-libm-test-out: Regenerate.
35403         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
35404         and DA.
35405         (__cos): Likewise.
35406         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35408 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
35410         * scripts/evaluate-test.sh: Take new argument indicating whether
35411         failure is expected.
35412         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
35413         indicating whether failure is expected.
35414         * conform/Makefile (test-xfail-run-conformtest): New variable.
35415         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
35416         level.
35417         * posix/Makefile (test-xfail-annexc): New variable.
35418         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
35420 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
35422         * argp/Makefile: Include Makeconfig immediately after defining
35423         subdir.
35424         * assert/Makefile: Likewise.
35425         * benchtests/Makefile: Likewise.
35426         * catgets/Makefile: Likewise.
35427         * conform/Makefile: Likewise.
35428         * crypt/Makefile: Likewise.
35429         * csu/Makefile: Likewise.
35430         (all): Remove target.
35431         * ctype/Makefile: Include Makeconfig immediately after defining
35432         subdir.
35433         * debug/Makefile: Likewise.
35434         * dirent/Makefile: Likewise.
35435         * dlfcn/Makefile: Likewise.
35436         * gmon/Makefile: Likewise.
35437         * gnulib/Makefile: Likewise.
35438         * grp/Makefile: Likewise.
35439         * gshadow/Makefile: Likewise.
35440         * hesiod/Makefile: Likewise.
35441         * hurd/Makefile: Likewise.
35442         (all): Remove target.
35443         * iconvdata/Makefile: Include Makeconfig immediately after
35444         defining subdir.
35445         * inet/Makefile: Likewise.
35446         * intl/Makefile: Likewise.
35447         * io/Makefile: Likewise.
35448         * libio/Makefile: Likewise.
35449         (all): Remove target.
35450         * locale/Makefile: Include Makeconfig immediately after defining
35451         subdir.
35452         * login/Makefile: Likewise.
35453         * mach/Makefile: Likewise.
35454         (all): Remove target.
35455         * malloc/Makefile: Include Makeconfig immediately after defining
35456         subdir.
35457         (all): Remove target.
35458         * manual/Makefile: Include Makeconfig immediately after defining
35459         subdir.
35460         * math/Makefile: Likewise.
35461         * misc/Makefile: Likewise.
35462         * nis/Makefile: Likewise.
35463         * nss/Makefile: Likewise.
35464         * po/Makefile: Likewise.
35465         (all): Remove target.
35466         * posix/Makefile: Include Makeconfig immediately after defining
35467         subdir.
35468         * pwd/Makefile: Likewise.
35469         * resolv/Makefile: Likewise.
35470         * resource/Makefile: Likewise.
35471         * rt/Makefile: Likewise.
35472         * setjmp/Makefile: Likewise.
35473         * shadow/Makefile: Likewise.
35474         * signal/Makefile: Likewise.
35475         * socket/Makefile: Likewise.
35476         * soft-fp/Makefile: Likewise.
35477         * stdio-common/Makefile: Likewise.
35478         * stdlib/Makefile: Likewise.
35479         * streams/Makefile: Likewise.
35480         * string/Makefile: Likewise.
35481         * sunrpc/Makefile: Likewise.
35482         (all): Remove target.
35483         * sysvipc/Makefile: Include Makeconfig immediately after defining
35484         subdir.
35485         * termios/Makefile: Likewise.
35486         * time/Makefile: Likewise.
35487         * timezone/Makefile: Likewise.
35488         (all): Remove target.
35489         * wcsmbs/Makefile: Include Makeconfig immediately after defining
35490         subdir.
35491         * wctype/Makefile: Likewise.
35493 2014-02-26  Steve Ellcey  <sellcey@mips.com>
35495         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
35496         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
35497         (libc_feholdexcept_setround_mips): Ditto.
35498         (libc_feholdsetround): New.
35499         (libc_feholdsetroundf): New.
35500         (libc_feholdsetroundl): New.
35501         (libc_feupdateenv_test_mips): New.
35502         (libc_feupdateenv_test): New.
35503         (libc_feupdateenv_testf): New.
35504         (libc_feupdateenv_testl): New.
35505         (libc_feresetround): New.
35506         (libc_feresetroundf): New.
35507         (libc_feresetroundl): New.
35508         (libc_fetestexcept_mips): New.
35509         (libc_fetestexcept): New.
35510         (libc_fetestexceptf): New.
35511         (libc_fetestexceptl): New.
35512         (HAVE_RM_CTX): New.
35513         (libc_feholdexcept_setround_mips_ctx): New.
35514         (libc_feholdexcept_setround_ctx): New.
35515         (libc_feholdexcept_setroundf_ctx): New.
35516         (libc_feholdexcept_setroundl_ctx): New.
35517         (libc_fesetenv_mips_ctx): New.
35518         (libc_fesetenv_ctx): New.
35519         (libc_fesetenv_ctxf): New.
35520         (libc_fesetenv_ctxl): New.
35521         (libc_feupdateenv_mips_ctx): New.
35522         (libc_feupdateenv_ctx): New.
35523         (libc_feupdateenvf_ctx): New.
35524         (libc_feupdateenvl_ctx): New.
35525         (libc_feholdsetround_mips_ctx): New.
35526         (libc_feholdsetround_ctx): New.
35527         (libc_feholdsetroundf_ctx): New.
35528         (libc_feholdsetroundl_ctx): New.
35529         (libc_feresetround_mips_ctx): New.
35530         (libc_feresetround_ctx): New.
35531         (libc_feresetroundf_ctx): New.
35532         (libc_feresetroundl_ctx): New.
35534 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
35536         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
35538         * manual/ipc.texi: New file.
35539         * manual/Makefile (chapters): Add ipc.
35540         * manual/job.texi: Add "Inter-Process Communication" to next.
35541         * manual/process.texi: Add "Inter-Process Communication" to prev.
35543 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35545         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35547 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
35549         * malloc/malloc.c (__libc_calloc): Simplify implementation.
35551         * manual/arith.texi: Fix spaces after sentences.
35552         * manual/charset.texi: Likewise.
35553         * manual/errno.texi: Likewise.
35554         * manual/install.texi: Likewise.
35555         * manual/llio.texi: Likewise.
35556         * manual/locale.texi: Likewise.
35557         * manual/maint.texi: Likewise.
35558         * manual/math.texi: Likewise.
35559         * manual/memory.texi: Likewise.
35560         * manual/message.texi: Likewise.
35561         * manual/probes.texi: Likewise.
35562         * manual/resource.texi: Likewise.
35563         * manual/signal.texi: Likewise.
35564         * manual/socket.texi: Likewise.
35565         * manual/stdio.texi: Likewise.
35566         * manual/string.texi: Likewise.
35567         * manual/time.texi: Likewise.
35568         * manual/users.texi: Likewise.
35570 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
35572         [BZ #16632]
35573         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
35574         _DEFAULT_SOURCE is defined.
35576 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
35577             Carlos O'Donell  <carlos@redhat.com>
35579         [BZ #16613]
35580         * elf/dl-tls.c (_dl_count_modids): New function.
35581         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
35582         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
35583         audit library and increment generation counter.
35584         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
35585         * elf/tst-audit9.c: New file.
35586         * elf/tst-auditmod9a.c: New file.
35587         * elf/tst-auditmod9b.c: New file.
35588         * elf/Makefile: Add rules to build and run tst-audit9.
35590 2014-02-25  Florian Weimer  <fweimer@redhat.com>
35592         [BZ #15347]
35593         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
35595 2014-02-25  Will Newton  <will.newton@linaro.org>
35597         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
35598         (__longjmp): Restore sp and lr before restoring callee
35599         saved registers.  Add longjmp and longjmp_target
35600         SystemTap probe point.
35601         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
35602         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
35603         Define to zero to match jmpbuf layout.
35604         * sysdeps/arm/setjmp.S: Include stap-probe.h.
35605         (__sigsetjmp): Save sp and lr before saving callee
35606         saved registers.  Add setjmp SystemTap probe point.
35608 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
35610         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35612 2014-02-24  Andreas Schwab  <schwab@suse.de>
35614         [BZ #15804]
35615         * elf/pldd.c (wait_for_ptrace_stop): New function.
35616         (main): Call it after attaching.
35618 2014-02-22  Roland McGrath  <roland@hack.frob.com>
35620         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
35621         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
35622         Versions files is now verboten.
35623         * hurd/Versions (libc: GLIBC_2.0):
35624         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
35625         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
35626         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
35627         * mach/Versions: Likewise.
35629         * csu/Versions: Remove unused %include.
35630         * resolv/Versions: Likewise.
35632 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
35634         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
35635         ($(objpfx)check-local-headers.out): Likewise.
35636         ($(objpfx)begin-end-check.out): Likewise.
35637         * Makerules (check-abi-%.out): Likewise.
35638         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
35639         ($(objpfx)test2.cat): Likewise.
35640         ($(objpfx)de/libc.cat): Likewise.
35641         ($(objpfx)test-gencat.out): Likewise.
35642         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
35643         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
35644         ($(objpfx)noload-mem): Likewise.
35645         ($(objpfx)tst-pathopt.out): Likewise.
35646         ($(objpfx)tst-rtld-load-self.out): Likewise.
35647         ($(objpfx)tst-array1-cmp.out): Likewise.
35648         ($(objpfx)tst-array1-static-cmp.out): Likewise.
35649         ($(objpfx)tst-array2-cmp.out): Likewise.
35650         ($(objpfx)tst-array3-cmp.out): Likewise.
35651         ($(objpfx)tst-array4-cmp.out): Likewise.
35652         ($(objpfx)tst-array5-cmp.out): Likewise.
35653         ($(objpfx)tst-array5-static-cmp.out): Likewise.
35654         ($(objpfx)check-textrel.out): Likewise.
35655         ($(objpfx)check-execstack.out): Likewise.
35656         ($(objpfx)check-localplt.out): Likewise.
35657         ($(objpfx)order2-cmp.out): Likewise.
35658         ($(objpfx)tst-leaks1-mem): Likewise.
35659         ($(objpfx)tst-leaks1-static-mem): Likewise.
35660         ($(objpfx)tst-initorder-cmp.out): Likewise.
35661         ($(objpfx)tst-initorder2-cmp.out): Likewise.
35662         ($(objpfx)tst-unused-dep.out): Likewise.
35663         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
35664         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
35665         * iconv/Makefile (test-iconvconfig): Likewise.
35666         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
35667         ($(objpfx)iconv-test.out): Likewise.
35668         ($(objpfx)tst-tables.out): Likewise.
35669         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
35670         ($(objpfx)tst-gettext.out): Likewise.
35671         ($(objpfx)tst-translit.out): Likewise.
35672         ($(objpfx)tst-gettext2.out): Likewise.
35673         ($(objpfx)tst-gettext4.out): Likewise.
35674         ($(objpfx)tst-gettext6.out): Likewise.
35675         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
35676         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
35677         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
35678         ($(objpfx)tst-fopenloc-mem.out): Likewise.
35679         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
35680         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
35681         * posix/Makefile ($(objpfx)globtest.out): Likewise.
35682         ($(objpfx)wordexp-tst.out): Likewise.
35683         ($(objpfx)annexc.out): Likewise.
35684         ($(objpfx)tst-fnmatch-mem): Likewise.
35685         ($(objpfx)bug-regex2-mem): Likewise.
35686         ($(objpfx)bug-regex14-mem): Likewise.
35687         ($(objpfx)bug-regex21-mem): Likewise.
35688         ($(objpfx)bug-regex31-mem): Likewise.
35689         ($(objpfx)tst-vfork3-mem): Likewise.
35690         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
35691         ($(objpfx)tst-pcre-mem): Likewise.
35692         ($(objpfx)tst-boost-mem): Likewise.
35693         ($(objpfx)tst-getconf.out): Likewise.
35694         ($(objpfx)bug-ga2-mem): Likewise.
35695         ($(objpfx)bug-glob2-mem): Likewise.
35696         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
35697         ($(objpfx)mtrace-tst-leaks2): Likewise.
35698         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
35699         ($(objpfx)tst-printf.out): Likewise.
35700         ($(objpfx)tst-setvbuf1.out): Likewise.
35701         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
35702         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
35703         ($(objpfx)tst-fmtmsg.out): Likewise.
35704         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
35705         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
35707         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
35708         * bits/sigaction.h [__USE_MISC]: Likewise.
35709         * bits/waitstatus.h: Update #endif comments.
35710         * ctype/ctype.h: Likewise.
35711         * dirent/dirent.h: Likewise.
35712         [__USE_MISC]: Remove redundant conditionals.
35713         * grp/grp.h: Update #endif comments.
35714         [__USE_GNU]: Remove redundant conditionals.
35715         [__USE_MISC]: Likewise.
35716         * inet/netinet/in.h [__USE_GNU]: Likewise.
35717         * io/sys/stat.h [__USE_MISC]: Likewise.
35718         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
35719         * libio/bits/stdio.h: Update #endif comments.
35720         [__USE_MISC]: Remove redundant conditionals.
35721         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
35722         * libio/stdio.h: Update #endif comments.
35723         [__USE_MISC]: Remove redundant conditionals.
35724         * math/bits/math-finite.h [__USE_MISC]: Likewise.
35725         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
35726         * math/math.h: Update #else and #endif comments.
35727         [__USE_MISC]: Remove redundant conditionals.
35728         * misc/sys/uio.h: Update #endif comments.
35729         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
35730         * posix/glob.h [__USE_MISC]: Likewise.
35731         * posix/sys/types.h: Update #endif comments.
35732         [__USE_MISC]: Remove redundant conditionals.
35733         * posix/sys/wait.h: Update #endif comments.
35734         [__USE_MISC]: Remove redundant conditionals.
35735         * posix/unistd.h: Update #endif comments.
35736         [__USE_MISC]: Remove redundant conditionals.
35737         * pwd/pwd.h [__USE_GNU]: Likewise.
35738         [__USE_MISC]: Likewise.
35739         * resolv/netdb.h [__USE_GNU]: Likewise.
35740         * signal/signal.h: Update #endif comments.
35741         [__USE_MISC]: Remove redundant conditionals.
35742         * stdlib/stdlib.h: Update #else and #endif comments.
35743         [__USE_MISC]: Remove redundant conditionals.
35744         [__USE_GNU]: Likewise.
35745         * string/bits/string2.h [__USE_MISC]: Likewise.
35746         * string/string.h: Update #endif comments.
35747         [__USE_MISC]: Remove redundant conditionals.
35748         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
35749         Likewise.
35750         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
35751         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
35752         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
35753         Likewise.
35754         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
35755         Likewise.
35756         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
35757         comments.
35758         [__USE_MISC]: Remove redundant conditionals.
35759         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
35760         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
35761         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
35762         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
35763         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
35764         Likewise.
35765         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
35766         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
35767         Likewise.
35768         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
35769         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
35770         Likewise.
35771         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
35772         Likewise.
35773         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
35774         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
35775         Likewise.
35776         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
35777         Likewise.
35778         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
35779         * sysdeps/x86/bits/string.h: Update #endif comments.
35780         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
35781         conditionals.
35782         * time/sys/time.h: Update #endif comments.
35783         * time/time.h: Likewise.
35784         [__USE_MISC]: Remove redundant conditionals.
35786 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
35788         [BZ #16600]
35789         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
35791 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
35793         * Versions.def (librt): Add GLIBC_2.17.
35795 2014-02-21  Adam Conrad  <adconrad@0c3.net>
35797         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
35798         synonym for _SYS_AUXV_H to allow direct inclusion.
35799         * sysdeps/sparc/bits/hwcap.h: Likewise.
35800         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
35801         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
35802         * sysdeps/sparc/sysdep.h: Likewise.
35804 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35806         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
35808 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35810         * benchtests/bench-strrchr.c: Print length instead of position.
35812 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
35814         [BZ #16611]
35815         * sysdeps/unix/sysv/linux/kernel-features.h
35816         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
35817         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
35818         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
35819         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
35820         Likewise.
35821         [__i386__ || __powerpc__ || __sh__ || __sparc__]
35822         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35823         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
35824         (__ASSUME_SENDMMSG): Define instead of using previous
35825         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
35826         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35827         (__ASSUME_SENDMMSG_SYSCALL): Define.
35828         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35829         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
35830         Likewise.
35831         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35832         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35833         Likewise.
35834         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35835         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35836         Likewise.
35837         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
35838         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
35839         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
35840         [__ASSUME_SENDMMSG]: Change conditionals to
35841         [__ASSUME_SENDMMSG_SOCKETCALL].
35842         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35843         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
35844         Define.
35845         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35846         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
35847         Likewise.
35848         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
35849         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
35850         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
35851         [!__ASSUME_SENDMMSG]: Change conditional to
35852         [!__ASSUME_SENDMMSG_SOCKETCALL].
35853         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35854         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35855         Define.
35857         [BZ #16610]
35858         * sysdeps/unix/sysv/linux/kernel-features.h
35859         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
35860         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
35861         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
35862         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
35863         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35864         [__i386__ || __sparc__]
35865         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35866         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
35867         (__ASSUME_RECVMMSG): Define instead of using previous
35868         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
35869         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35870         (__ASSUME_RECVMMSG_SYSCALL): Define.
35871         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35872         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35873         Likewise.
35874         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35875         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35876         Likewise.
35877         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35878         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35879         Likewise.
35880         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
35881         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
35882         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
35883         [__ASSUME_RECVMMSG]: Change condition to
35884         [__ASSUME_RECVMMSG_SOCKETCALL].
35885         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35886         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35887         Define.
35888         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35889         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35890         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35891         Likewise.
35892         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
35893         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
35894         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
35895         [!__ASSUME_RECVMMSG]: Change condition to
35896         [!__ASSUME_RECVMMSG_SOCKETCALL].
35897         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35898         (__ASSUME_RECVMMSG_SYSCALL): Define.
35900         [BZ #16609]
35901         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
35902         __powerpc__ || __s390__ || __sh__ || __sparc__]
35903         (__ASSUME_SOCKETCALL): Define.
35904         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
35905         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
35906         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
35907         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
35908         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35909         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
35910         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
35911         (__ASSUME_ACCEPT4): Define instead of using previous
35912         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
35913         __powerpc__ || __sparc__ || __s390__)] condition.
35914         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35915         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
35916         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
35917         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
35918         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
35919         [!__ASSUME_ACCEPT4]: Change condition to
35920         [!__ASSUME_ACCEPT4_SOCKETCALL].
35921         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35922         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
35923         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
35924         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35925         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
35926         __ASSUME_ACCEPT4_SYSCALL.
35927         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
35928         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
35929         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35930         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
35931         __ASSUME_ACCEPT4_SYSCALL.
35932         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
35933         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
35934         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
35935         [__ASSUME_ACCEPT4]: Change condition to
35936         [__ASSUME_ACCEPT4_SOCKETCALL].
35937         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35938         (__ASSUME_SOCKETCALL): Define.
35939         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
35940         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35941         (__ASSUME_SOCKETCALL): Define.
35942         (__ASSUME_ACCEPT4): Remove.
35943         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
35944         Define.
35945         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35946         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
35947         Likewise.
35948         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35949         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
35951         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
35952         macro.
35953         (HWCAP_ARM_LPAE): Likewise.
35954         (HWCAP_ARM_EVTSTRM): Likewise.
35955         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
35956         Add vpfd32, lpae and evtstrm.
35957         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
35958         Increase to 22.
35960 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
35962         * math/auto-libm-test-in: Add tests of clog10.
35963         * math/auto-libm-test-out: Regenerated.
35964         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
35965         * sysdeps/i386/fpu/libm-test-ulps: Update.
35966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35968 2014-02-18  Andreas Schwab  <schwab@suse.de>
35970         [BZ #16574]
35971         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
35972         Store non-zero if the second buffer was newly allocated.
35973         (send_dg): Likewise.
35974         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
35975         to send_vc and send_dg.
35976         (res_nsend): Pass NULL for ansp2_malloced.
35977         * resolv/res_query.c (__libc_res_nquery): Add parameter
35978         answerp2_malloced and pass it down to __libc_res_nsend.
35979         (res_nquery): Pass additional NULL to __libc_res_nquery.
35980         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
35981         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
35982         second answer buffer if answerp2_malloced was set.
35983         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
35984         (__libc_res_nquerydomain): Add parameter
35985         answerp2_malloced and pass it down to __libc_res_nquery.
35986         (res_nquerydomain): Pass additional NULL to
35987         __libc_res_nquerydomain.
35988         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
35989         additional NULL to __libc_res_nsend and __libc_res_nquery.
35990         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
35991         additional NULL to __libc_res_nsearch.
35992         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
35993         parameter of __libc_res_nsearch to check for separately allocated
35994         second buffer.
35995         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
35996         __libc_res_nquery.
35997         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
35998         additional NULL to __libc_res_nquery.
35999         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
36000         __libc_res_nsearch.
36001         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
36002         * include/resolv.h: Update prototypes of __libc_res_nquery,
36003         __libc_res_nsearch, __libc_res_nsend.
36005 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
36007         * math/auto-libm-test-in: Add tests of fma.
36008         * math/auto-libm-test-out: Regenerated.
36009         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
36010         (fma_towardzero_test_data): Likewise.
36011         (fma_downward_test_data): Likewise.
36012         (fma_upward_test_data): Likewise.
36013         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
36014         mpc_mode.
36015         (rounding_modes): Add values for new field.
36016         (func_calc_method): Add value mpfr_fff_f.
36017         (func_calc_desc): Add mpfr_fff_f union field.
36018         (test_function): Add field exact_args.
36019         (FUNC): Add macro argument EXACT_ARGS.
36020         (FUNC_mpfr_f_f): Update call to FUNC.
36021         (FUNC_mpfr_f_f): Likewise.
36022         (FUNC_mpfr_ff_f): Likewise.
36023         (FUNC_mpfr_if_f): Likewise.
36024         (FUNC_mpc_c_f): Likewise.
36025         (FUNC_mpc_c_c): Likewise.
36026         (test_functions): Add fma.  Update calls to FUNC.
36027         (handle_input_arg): Add argument exact_args.
36028         (add_test): Update call to handle_input_arg.
36029         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
36030         (output_for_one_input_case): Update call to calc_generic_results.
36031         Recalculate exact zero results in each rounding mode.
36033         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
36034         non-negative before setting low bit.
36035         * math/auto-libm-test-in: Mark one asin test possibly having
36036         spurious underflow.
36037         * math/auto-libm-test-out: Regenerated.
36038         * sysdeps/i386/fpu/libm-test-ulps: Update.
36039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36041 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
36043         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
36044         * sysdeps/unix/sysv/linux/microblaze: Move directory from
36045         ports/sysdeps/unix/sysv/linux/microblaze.
36046         * README: Add missing listing for microblaze*-*-linux-gnu.
36048 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
36050         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
36051         duplicate code
36053 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
36055         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
36056         * sysdeps/unix/sysv/linux/ia64: Move directory from
36057         ports/sysdeps/unix/sysv/linux/ia64.
36058         * README: Update listing for ia64-*-linux-gnu.
36060 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
36061             Joseph Myers  <joseph@codesourcery.com>
36063         * Makeconfig (test-name): New variable.
36064         (evaluate-test): Likewise.
36065         * Makerules (do-test-clean): Remove .test-result files.
36066         (common-mostlyclean): Likewise.
36067         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
36068         * scripts/evaluate-test.sh: New file.
36070 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
36072         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
36073         separate $(objpfx)tst-fopenloc-cmp.out and
36074         $(objpfx)tst-fopenloc-mem.out targets.
36075         (tests): Update dependencies.
36076         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
36077         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
36078         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
36079         (tst-rxspencer-no-utf8-ARGS): New variable.
36080         (tst-rxspencer-no-utf8-ENV): Likewise.
36081         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
36082         instead of $(objpfx)tst-rxspencer-mem.
36083         ($(objpfx)tst-rxspencer-mem): Change target to
36084         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
36085         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
36086         * posix/tst-rxspencer-no-utf8.c: New file.
36088         * elf/Makefile ($(objpfx)order.out): Remove rule.
36089         [$(run-built-tests) = yes] (tests): Depend on
36090         $(objpfx)order-cmp.out.
36091         ($(objpfx)order-cmp.out): New rule.
36092         [$(run-built-tests) = yes] (tests): Depend on
36093         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
36094         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
36095         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
36096         $(objpfx)tst-array5-static-cmp.out.
36097         ($(objpfx)tst-array1.out): Remove rule.
36098         ($(objpfx)tst-array1-cmp.out): New rule.
36099         ($(objpfx)tst-array1-static.out): Remove rule.
36100         ($(objpfx)tst-array1-static-cmp.out): New rule.
36101         ($(objpfx)tst-array2.out): Remove rule.
36102         ($(objpfx)tst-array2-cmp.out): New rule.
36103         ($(objpfx)tst-array3.out): Remove rule.
36104         ($(objpfx)tst-array3-cmp.out): New rule.
36105         ($(objpfx)tst-array4.out): Remove rule.
36106         ($(objpfx)tst-array4-cmp.out): New rule.
36107         ($(objpfx)tst-array5.out): Remove rule.
36108         ($(objpfx)tst-array5-cmp.out): New rule.
36109         ($(objpfx)tst-array5-static.out): Remove rule.
36110         ($(objpfx)tst-array5-static-cmp.out): New rule.
36111         [$(run-built-tests) = yes] (tests): Depend on
36112         $(objpfx)order2-cmp.out.
36113         ($(objpfx)order2.out): Remove rule.
36114         ($(objpfx)order2-cmp.out): New rule.
36115         ($(objpfx)tst-initorder.out): Remove rule.
36116         [$(run-built-tests) = yes] (tests): Depend on
36117         $(objpfx)tst-initorder-cmp.out.
36118         ($(objpfx)tst-initorder-cmp.out): New rule.
36119         ($(objpfx)tst-initorder2.out): Remove rule.
36120         [$(run-built-tests) = yes] (tests): Depend on
36121         $(objpfx)tst-initorder2-cmp.out.
36122         ($(objpfx)tst-initorder2-cmp.out): New rule.
36123         [$(run-built-tests) = yes] (tests): Depend on
36124         $(objpfx)tst-unused-dep-cmp.out.
36125         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
36126         ($(objpfx)tst-unused-dep-cmp.out): New rule.
36127         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
36128         on $(objpfx)tst-setvbuf1-cmp.out.
36129         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
36130         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
36131         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
36132         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
36133         ($(objpfx)tst-svc.out): Remove rule.
36134         ($(objpfx)tst-svc-cmp.out): New rule.
36136 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
36138         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
36139         * ctype/ctype.h [__USE_MISC]: Likewise.
36140         * dirent/dirent.h [__USE_MISC]: Likewise.
36141         * grp/grp.h [__USE_MISC]: Likewise.
36142         * io/fcntl.h [__USE_MISC]: Likewise.
36143         * io/sys/stat.h [__USE_MISC]: Likewise.
36144         * libio/stdio.h [__USE_MISC]: Likewise.
36145         * posix/unistd.h [__USE_MISC]: Likewise.
36146         * pwd/pwd.h [__USE_MISC]: Likewise.
36147         * stdlib.h [__USE_MISC]: Likewise.
36148         * string/bits/string2.h [__USE_MISC]: Likewise.
36149         * string/string.h [__USE_MISC]: Likewise.
36150         * time/time.h [__USE_MISC]: Likewise.
36152 2014-02-13  Andreas Schwab  <schwab@suse.de>
36154         [BZ #16574]
36155         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
36156         second answer buffer if it was separately allocated.
36158 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
36160         * sysdeps/mips/math-tests.h: Include <features.h>.
36161         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36162         (ROUNDING_TESTS_long_double): Do not define.
36163         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36164         (EXCEPTION_TESTS_long_double): Likewise.
36165         * sysdeps/mips/mips64/libm-test-ulps: Update.
36167         * include/features.h (__USE_BSD): Remove macro definitions.
36168         (__USE_SVID): Likewise.
36169         (_BSD_SOURCE): Likewise.
36170         (_SVID_SOURCE): Likewise.
36171         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
36172         from definition of _DEFAULT_SOURCE.
36173         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
36174         [_DEFAULT_SOURCE].
36175         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
36176         * bits/mman.h [__USE_BSD]: Likewise.
36177         * bits/termios.h [__USE_BSD]: Likewise.
36178         * bits/waitstatus.h [__USE_BSD]: Likewise.
36179         * ctype/ctype.h [__USE_SVID]: Likewise.
36180         * dirent/dirent.h [__USE_BSD]: Likewise.
36181         * grp/grp.h [__USE_SVID]: Likewise.
36182         [__USE_BSD]: Likewise.
36183         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
36184         * io/fcntl.h [__USE_BSD]: Likewise.
36185         * io/ftw.h [__USE_BSD]: Likewise.
36186         * io/sys/stat.h [__USE_BSD]: Likewise.
36187         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
36188         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
36189         * libio/stdio.h [__USE_SVID]: Likewise.
36190         [__USE_BSD]: Likewise.
36191         * math/math.h [__USE_SVID]: Likewise.
36192         [__USE_BSD]: Likewise.
36193         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
36194         * misc/bits/syslog.h [__USE_BSD]: Likewise.
36195         * misc/search.h [__USE_SVID]: Likewise.
36196         * misc/sys/mman.h [__USE_BSD]: Likewise.
36197         * misc/sys/syslog.h [__USE_BSD]: Likewise.
36198         * misc/sys/uio.h [__USE_BSD]: Likewise.
36199         * posix/bits/unistd.h [__USE_BSD]: Likewise.
36200         * posix/glob.h [__USE_BSD]: Likewise.
36201         * posix/regex.h [__USE_BSD]: Likewise.
36202         * posix/sys/types.h [__USE_BSD]: Likewise.
36203         [__USE_SVID]: Likewise.
36204         * posix/sys/utsname.h [__USE_SVID]: Likewise.
36205         * posix/sys/wait.h [__USE_BSD]: Likewise.
36206         [__USE_SVID]: Likewise.
36207         * posix/unistd.h [__USE_BSD]: Likewise.
36208         [__USE_SVID]: Likewise.
36209         * pwd/pwd.h [__USE_SVID]: Likewise.
36210         * resolv/netdb.h [__USE_BSD]: Likewise.
36211         * setjmp/setjmp.h [__USE_BSD]: Likewise.
36212         * signal/signal.h [__USE_BSD]: Likewise.
36213         [__USE_SVID]: Likewise.
36214         * socket/sys/socket.h [__USE_BSD]: Likewise.
36215         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
36216         * stdlib/stdlib.h [__USE_BSD]: Likewise.
36217         [__USE_SVID]: Likewise.
36218         * string/bits/string2.h [__USE_BSD]: Likewise.
36219         [__USE_SVID]: Likewise.
36220         * string/bits/string3.h [__USE_BSD]: Likewise.
36221         * string/endian.h [__USE_BSD]: Likewise.
36222         * string/string.h [__USE_SVID]: Likewise.
36223         [__USE_BSD]: Likewise.
36224         * string/strings.h [__USE_BSD]: Likewise.
36225         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
36226         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
36227         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
36228         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
36229         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
36230         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
36231         Likewise.
36232         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
36233         Likewise.
36234         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
36235         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
36236         Likewise.
36237         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
36238         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
36239         Likewise.
36240         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
36241         Likewise.
36242         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
36243         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
36244         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
36245         Likewise.
36246         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
36247         Likewise.
36248         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
36249         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
36250         * termios/termios.h [__USE_BSD]: Likewise.
36251         * time/sys/time.h [__USE_BSD]: Likewise.
36252         * time/time.h [__USE_BSD]: Likewise.
36253         [__USE_SVID]: Likewise.
36255         * Makefile (subdir_targets): Remove subdir_lint.out.
36257         * stdio-common/Makefile (do-tst-unbputc): Remove target.
36258         (do-tst-printf): Likewise.
36259         (tests): Depend directly on $(objpfx)tst-unbputc.out and
36260         $(objpfx)tst-printf.out.
36262         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
36264         * Makerules (check-abi-%): Change target to
36265         $(objpfx)check-abi-%.out.
36266         (check-abi target): Update dependencies.
36267         (check-abi-pattern variable): Redirect output of diff to $@.
36268         (check-abi variable): Likewise.
36269         * elf/Makefile (check-abi): Update dependencies.
36271         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
36272         unused.
36273         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
36274         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
36275         subnormal range.
36276         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
36277         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
36278         value has largest subnormal exponent.
36279         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
36280         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
36281         * sysdeps/aarch64/soft-fp/sfp-machine.h
36282         (_FP_TININESS_AFTER_ROUNDING): New macro.
36283         * sysdeps/alpha/soft-fp/sfp-machine.h
36284         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36285         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36286         Likewise.
36287         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
36288         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36289         * sysdeps/mips/soft-fp/sfp-machine.h
36290         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36291         * sysdeps/powerpc/soft-fp/sfp-machine.h
36292         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36293         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36294         Likewise.
36295         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36296         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36297         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36298         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36299         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36300         Likewise.
36302 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
36304         [BZ #16545]
36305         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
36306         model 1.
36308 2014-02-12  Richard Henderson  <rth@redhat.com>
36310         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
36311         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
36312         * sysdeps/unix/sysv/linux/alpha: Move directory from
36313         ports/sysdeps/unix/sysv/linux/alpha.
36314         * README: Update listing for alpha-*-linux-gnu.
36316 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
36318         * include/features.h: Update comment documenting feature test
36319         macros.
36320         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
36321         _DEFAULT_SOURCE.
36322         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
36323         (_SVID_SOURCE): Likewise.
36324         (_DEFAULT_SOURCE): Update description of default features.
36325         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
36326         with _GNU_SOURCE.
36327         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
36328         (S_ISVTX): Likewise.
36329         * manual/math.texi (Mathematical Constants): Likewise.
36330         * manual/signal.texi (Interrupted Primitives): Likewise.
36331         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
36332         * math/test-matherr.c (_SVID_SOURCE): Do not define.
36333         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
36334         Don't refer to _SVID_SOURCE in warning text.
36336         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36338         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
36339         already defined.
36340         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
36341         * sysdeps/mips/dl-lookup.c: Remove.
36342         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
36344 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36346         [BZ #16447]
36347         * math/auto-libm-test-in: Add testcase for expl.
36348         * math/auto-libm-test-out: Regenerate.
36349         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
36350         calculation of unsafe.
36351         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
36353 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36355         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
36356         * sysdeps/unix/sysv/linux/aarch64: Move directory from
36357         ports/sysdeps/unix/sysv/linux/aarch64.
36358         * README: Update listing for aarch64*-*-linux-gnu.
36360 2014-02-11  Will Newton  <will.newton@linaro.org>
36362         * manual/probes.texi (Mathematical Function Probes): Use
36363         "triggered" instead of "hit".
36365         * manual/probes.texi (Internal Probes): Add documentation
36366         of setjmp, longjmp and longjmp_target probes.
36368         * include/stap-probe.h: Add comment about probe argument
36369         format.
36371         * malloc/mtrace.c (attribute_hidden): Remove unused macro
36372         definition.  (tr_where, tr_freehook, tr_mallochook,
36373         tr_reallochook, tr_memalignhook): Use ANSI protoype.
36375 2014-02-11  David S. Miller  <davem@davemloft.net>
36377         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
36378         processing int_tests.
36380 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
36382         * sysdeps/mips: Move directory from ports/sysdeps/mips.
36383         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
36384         * sysdeps/unix/sysv/linux/mips: Move directory from
36385         ports/sysdeps/unix/sysv/linux/mips.
36386         * README: Update listing for mips-*-linux-gnu and
36387         mips64-*-linux-gnu.
36389 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
36391         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
36392         * sysdeps/unix/sysv/linux/m68k: Move directory from
36393         ports/sysdeps/unix/sysv/linux/m68k.
36394         * README: Update listing for m68k-*-linux-gnu.
36396 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
36398         * sysdeps/tile: Move directory from ports/sysdeps/tile.
36399         * sysdeps/unix/sysv/linux/generic: Move directory from
36400         ports/sysdeps/unix/sysv/linux/generic.
36401         * sysdeps/unix/sysv/linux/tile: Move directory from
36402         ports/sysdeps/unix/sysv/linux/tile.
36403         * README: Update listing for tile*-*-linux-gnu.
36405 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
36407         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
36408         __builtin_expect.
36409         * benchtests/bench-memmem.c (simple_memmem): Likewise.
36410         * catgets/open_catalog.c (__open_catalog): Likewise.
36411         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
36412         * debug/confstr_chk.c: Likewise.
36413         * debug/fread_chk.c (__fread_chk): Likewise.
36414         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
36415         * debug/getgroups_chk.c: Likewise.
36416         * debug/mbsnrtowcs_chk.c: Likewise.
36417         * debug/mbsrtowcs_chk.c: Likewise.
36418         * debug/mbstowcs_chk.c: Likewise.
36419         * debug/memcpy_chk.c: Likewise.
36420         * debug/memmove_chk.c: Likewise.
36421         * debug/mempcpy_chk.c: Likewise.
36422         * debug/memset_chk.c: Likewise.
36423         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
36424         * debug/strcat_chk.c (__strcat_chk): Likewise.
36425         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
36426         * debug/strncat_chk.c (__strncat_chk): Likewise.
36427         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
36428         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
36429         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
36430         * debug/wcpncpy_chk.c: Likewise.
36431         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
36432         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
36433         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
36434         * debug/wcsncpy_chk.c: Likewise.
36435         * debug/wcsnrtombs_chk.c: Likewise.
36436         * debug/wcsrtombs_chk.c: Likewise.
36437         * debug/wcstombs_chk.c: Likewise.
36438         * debug/wmemcpy_chk.c: Likewise.
36439         * debug/wmemmove_chk.c: Likewise.
36440         * debug/wmempcpy_chk.c: Likewise.
36441         * debug/wmemset_chk.c: Likewise.
36442         * dirent/scandirat.c (SCANDIRAT): Likewise.
36443         * dlfcn/dladdr1.c (dladdr1): Likewise.
36444         * dlfcn/dladdr.c (dladdr): Likewise.
36445         * dlfcn/dlclose.c (dlclose_doit): Likewise.
36446         * dlfcn/dlerror.c (__dlerror): Likewise.
36447         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
36448         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
36449         * dlfcn/dlopen.c (dlopen_doit): Likewise.
36450         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
36451         * dlfcn/dlsym.c (dlsym_doit): Likewise.
36452         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
36453         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
36454         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
36455         Likewise.
36456         * elf/dl-conflict.c: Likewise.
36457         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
36458         * elf/dl-dst.h: Likewise.
36459         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
36460         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
36461         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
36462         * elf/dl-init.c (call_init, _dl_init): Likewise.
36463         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
36464         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
36465         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
36466         Likewise.
36467         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
36468         Likewise.
36469         * elf/dl-minimal.c (__libc_memalign): Likewise.
36470         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
36471         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
36472         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
36473         * elf/dl-sym.c (do_sym): Likewise.
36474         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
36475         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
36476         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
36477         * elf/dl-writev.h (_dl_writev): Likewise.
36478         * elf/ldconfig.c (search_dir): Likewise.
36479         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
36480         (dl_main): Likewise.
36481         * elf/setup-vdso.h (setup_vdso): Likewise.
36482         * grp/compat-initgroups.c (compat_call): Likewise.
36483         * grp/fgetgrent.c (fgetgrent): Likewise.
36484         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
36485         * grp/putgrent.c (putgrent): Likewise.
36486         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36487         Likewise.
36488         * hurd/hurdinit.c: Likewise.
36489         * iconvdata/8bit-gap.c (struct): Likewise.
36490         * iconvdata/ansi_x3.110.c : Likewise.
36491         * iconvdata/big5.c : Likewise.
36492         * iconvdata/big5hkscs.c : Likewise.
36493         * iconvdata/cp1255.c: Likewise.
36494         * iconvdata/cp1258.c : Likewise.
36495         * iconvdata/cp932.c : Likewise.
36496         * iconvdata/euc-cn.c: Likewise.
36497         * iconvdata/euc-jisx0213.c : Likewise.
36498         * iconvdata/euc-jp.c: Likewise.
36499         * iconvdata/euc-jp-ms.c : Likewise.
36500         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
36501         * iconvdata/gb18030.c : Likewise.
36502         * iconvdata/gbbig5.c (const): Likewise.
36503         * iconvdata/gbgbk.c: Likewise.
36504         * iconvdata/gbk.c : Likewise.
36505         * iconvdata/ibm1364.c : Likewise.
36506         * iconvdata/ibm930.c : Likewise.
36507         * iconvdata/ibm932.c: Likewise.
36508         * iconvdata/ibm933.c : Likewise.
36509         * iconvdata/ibm935.c : Likewise.
36510         * iconvdata/ibm937.c : Likewise.
36511         * iconvdata/ibm939.c : Likewise.
36512         * iconvdata/ibm943.c: Likewise.
36513         * iconvdata/iso_11548-1.c: Likewise.
36514         * iconvdata/iso-2022-cn.c : Likewise.
36515         * iconvdata/iso-2022-cn-ext.c : Likewise.
36516         * iconvdata/iso-2022-jp-3.c: Likewise.
36517         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
36518         * iconvdata/iso-2022-kr.c : Likewise.
36519         * iconvdata/iso646.c (gconv_end): Likewise.
36520         * iconvdata/iso_6937-2.c : Likewise.
36521         * iconvdata/iso_6937.c : Likewise.
36522         * iconvdata/iso8859-1.c: Likewise.
36523         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
36524         * iconvdata/shift_jisx0213.c : Likewise.
36525         * iconvdata/sjis.c : Likewise.
36526         * iconvdata/t.61.c : Likewise.
36527         * iconvdata/tcvn5712-1.c : Likewise.
36528         * iconvdata/tscii.c: Likewise.
36529         * iconvdata/uhc.c : Likewise.
36530         * iconvdata/unicode.c (gconv_end): Likewise.
36531         * iconvdata/utf-16.c (gconv_end): Likewise.
36532         * iconvdata/utf-32.c (gconv_end): Likewise.
36533         * iconvdata/utf-7.c (base64): Likewise.
36534         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36535         * iconv/gconv_close.c (__gconv_close): Likewise.
36536         * iconv/gconv_open.c (__gconv_open): Likewise.
36537         * iconv/gconv_simple.c (internal_ucs4_loop_single)
36538         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
36539         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
36540         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
36541         (ucs4le_internal_loop_single): Likewise.
36542         * iconv/iconv.c (iconv): Likewise.
36543         * iconv/iconv_close.c: Likewise.
36544         * iconv/loop.c (SINGLE): Likewise.
36545         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
36546         * include/atomic.h: Likewise.
36547         * inet/inet6_option.c (option_alloc): Likewise.
36548         * intl/bindtextdom.c (set_binding_values): Likewise.
36549         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
36550         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
36551         * intl/localealias.c (read_alias_file): Likewise.
36552         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
36553         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
36554         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
36555         * libio/fmemopen.c (fmemopen): Likewise.
36556         * libio/iofgets.c (_IO_fgets): Likewise.
36557         * libio/iofgets_u.c (fgets_unlocked): Likewise.
36558         * libio/iofgetws.c (fgetws): Likewise.
36559         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
36560         * libio/iogetdelim.c (_IO_getdelim): Likewise.
36561         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
36562         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
36563         * locale/findlocale.c (_nl_find_locale): Likewise.
36564         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36565         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
36566         Likewise.
36567         * locale/setlocale.c (setlocale): Likewise.
36568         * login/programs/pt_chown.c (main): Likewise.
36569         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
36570         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
36571         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
36572         (mmap, mmap64, mremap, munmap): Likewise.
36573         * math/e_exp2l.c: Likewise.
36574         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
36575         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
36576         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
36577         * math/s_catan.c (__catan): Likewise.
36578         * math/s_catanf.c (__catanf): Likewise.
36579         * math/s_catanh.c (__catanh): Likewise.
36580         * math/s_catanhf.c (__catanhf): Likewise.
36581         * math/s_catanhl.c (__catanhl): Likewise.
36582         * math/s_catanl.c (__catanl): Likewise.
36583         * math/s_ccosh.c (__ccosh): Likewise.
36584         * math/s_ccoshf.c (__ccoshf): Likewise.
36585         * math/s_ccoshl.c (__ccoshl): Likewise.
36586         * math/s_cexp.c (__cexp): Likewise.
36587         * math/s_cexpf.c (__cexpf): Likewise.
36588         * math/s_cexpl.c (__cexpl): Likewise.
36589         * math/s_clog10.c (__clog10): Likewise.
36590         * math/s_clog10f.c (__clog10f): Likewise.
36591         * math/s_clog10l.c (__clog10l): Likewise.
36592         * math/s_clog.c (__clog): Likewise.
36593         * math/s_clogf.c (__clogf): Likewise.
36594         * math/s_clogl.c (__clogl): Likewise.
36595         * math/s_csin.c (__csin): Likewise.
36596         * math/s_csinf.c (__csinf): Likewise.
36597         * math/s_csinh.c (__csinh): Likewise.
36598         * math/s_csinhf.c (__csinhf): Likewise.
36599         * math/s_csinhl.c (__csinhl): Likewise.
36600         * math/s_csinl.c (__csinl): Likewise.
36601         * math/s_csqrt.c (__csqrt): Likewise.
36602         * math/s_csqrtf.c (__csqrtf): Likewise.
36603         * math/s_csqrtl.c (__csqrtl): Likewise.
36604         * math/s_ctan.c (__ctan): Likewise.
36605         * math/s_ctanf.c (__ctanf): Likewise.
36606         * math/s_ctanh.c (__ctanh): Likewise.
36607         * math/s_ctanhf.c (__ctanhf): Likewise.
36608         * math/s_ctanhl.c (__ctanhl): Likewise.
36609         * math/s_ctanl.c (__ctanl): Likewise.
36610         * math/w_pow.c: Likewise.
36611         * math/w_powf.c: Likewise.
36612         * math/w_powl.c: Likewise.
36613         * math/w_scalb.c (sysv_scalb): Likewise.
36614         * math/w_scalbf.c (sysv_scalbf): Likewise.
36615         * math/w_scalbl.c (sysv_scalbl): Likewise.
36616         * misc/error.c (error_tail): Likewise.
36617         * misc/pselect.c (__pselect): Likewise.
36618         * nis/nis_callback.c (__nis_create_callback): Likewise.
36619         * nis/nis_call.c (__nisfind_server): Likewise.
36620         * nis/nis_creategroup.c (nis_creategroup): Likewise.
36621         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
36622         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
36623         * nis/nis_getservlist.c (nis_getservlist): Likewise.
36624         * nis/nis_lookup.c (nis_lookup): Likewise.
36625         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
36626         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
36627         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
36628         * nis/nis_xdr.c (xdr_endpoint): Likewise.
36629         * nis/nss_compat/compat-grp.c (getgrent_next_file)
36630         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
36631         * nis/nss_compat/compat-initgroups.c (add_group)
36632         (internal_getgrent_r): Likewise.
36633         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
36634         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
36635         * nis/nss_compat/compat-spwd.c (getspent_next_file)
36636         (internal_getspnam_r): Likewise.
36637         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
36638         (_nss_nis_getaliasbyname_r): Likewise.
36639         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
36640         (_nss_nis_getntohost_r): Likewise.
36641         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
36642         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
36643         (_nss_nis_getgrgid_r): Likewise.
36644         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
36645         (internal_nis_gethostent_r, internal_gethostbyname2_r)
36646         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
36647         (_nss_nis_gethostbyname4_r): Likewise.
36648         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
36649         (initgroups_netid): Likewise.
36650         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
36651         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
36652         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
36653         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
36654         (_nss_nis_getprotobynumber_r): Likewise.
36655         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
36656         (_nss_nis_getsecretkey): Likewise.
36657         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
36658         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
36659         (_nss_nis_getpwuid_r): Likewise.
36660         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
36661         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
36662         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
36663         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
36664         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
36665         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
36666         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
36667         Likewise.
36668         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
36669         (_nss_nisplus_getntohost_r): Likewise.
36670         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
36671         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
36672         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
36673         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
36674         Likewise.
36675         * nis/nss_nisplus/nisplus-initgroups.c
36676         (_nss_nisplus_initgroups_dyn): Likewise.
36677         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
36678         (_nss_nisplus_getnetbyaddr_r): Likewise.
36679         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
36680         (_nss_nisplus_getprotobynumber_r): Likewise.
36681         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
36682         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
36683         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
36684         Likewise.
36685         * nis/nss_nisplus/nisplus-service.c
36686         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
36687         (_nss_nisplus_getservbyport_r): Likewise.
36688         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
36689         (_nss_nisplus_getspnam_r): Likewise.
36690         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
36691         Likewise.
36692         * nscd/aicache.c (addhstaiX): Likewise.
36693         * nscd/cache.c (cache_search, prune_cache): Likewise.
36694         * nscd/connections.c (register_traced_file, send_ro_fd)
36695         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
36696         (main_loop_epoll): Likewise.
36697         * nscd/grpcache.c (addgrbyX): Likewise.
36698         * nscd/hstcache.c (addhstbyX): Likewise.
36699         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36700         * nscd/mem.c (gc, mempool_alloc): Likewise.
36701         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
36702         (addinnetgrX): Likewise.
36703         * nscd/nscd-client.h (__nscd_acquire_maplock)
36704         (__nscd_drop_map_ref): Likewise.
36705         * nscd/nscd_getai.c (__nscd_getai): Likewise.
36706         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36707         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
36708         Likewise.
36709         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36710         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36711         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
36712         (__nscd_get_map_ref): Likewise.
36713         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36714         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
36715         Likewise.
36716         * nscd/pwdcache.c (addpwbyX): Likewise.
36717         * nscd/selinux.c (preserve_capabilities): Likewise.
36718         * nscd/servicescache.c (addservbyX): Likewise.
36719         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
36720         * posix/fnmatch.c (fnmatch): Likewise.
36721         * posix/getopt.c (_getopt_internal_r): Likewise.
36722         * posix/glob.c (glob, glob_in_dir): Likewise.
36723         * posix/wordexp.c (exec_comm_child): Likewise.
36724         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
36725         (getanswer_r, gaih_getanswer_slice): Likewise.
36726         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
36727         * resolv/res_init.c: Likewise.
36728         * resolv/res_mkquery.c (res_nmkquery): Likewise.
36729         * resolv/res_query.c (__libc_res_nquery): Likewise.
36730         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
36731         Likewise.
36732         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
36733         * stdio-common/perror.c (perror): Likewise.
36734         * stdio-common/printf_fp.c (___printf_fp): Likewise.
36735         * stdio-common/tmpnam.c (tmpnam): Likewise.
36736         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
36737         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
36738         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
36739         Likewise.
36740         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
36741         * stdlib/putenv.c (putenv): Likewise.
36742         * stdlib/setenv.c (__add_to_environ): Likewise.
36743         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
36744         * stdlib/strtol_l.c (INTERNAL): Likewise.
36745         * string/memmem.c (memmem): Likewise.
36746         * string/strerror.c (strerror): Likewise.
36747         * string/strnlen.c (__strnlen): Likewise.
36748         * string/test-memmem.c (simple_memmem): Likewise.
36749         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
36750         * sunrpc/pm_getport.c (__get_socket): Likewise.
36751         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
36752         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
36753         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
36754         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
36755         Likewise.
36756         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
36757         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
36758         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36759         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
36760         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36761         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
36762         Likewise.
36763         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
36764         Likewise.
36765         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36766         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36767         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36768         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36769         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
36770         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
36771         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36772         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
36773         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
36774         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
36775         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36776         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
36777         Likewise.
36778         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
36779         Likewise.
36780         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
36781         Likewise.
36782         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
36783         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36784         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
36785         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
36786         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
36787         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
36788         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36789         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
36790         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
36791         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
36792         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
36793         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36794         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
36795         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
36796         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36797         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36798         Likewise.
36799         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
36800         Likewise.
36801         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
36802         Likewise.
36803         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
36804         Likewise.
36805         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36806         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36807         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
36808         Likewise.
36809         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
36810         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
36811         * sysdeps/posix/opendir.c (__opendirat): Likewise.
36812         * sysdeps/posix/sleep.c: Likewise.
36813         * sysdeps/posix/tempname.c: Likewise.
36814         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
36815         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36816         Likewise.
36817         * sysdeps/powerpc/powerpc32/dl-machine.h
36818         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
36819         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36820         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36821         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
36822         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
36823         Likewise.
36824         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
36825         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
36826         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
36827         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
36828         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
36829         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
36830         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
36831         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
36832         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36833         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
36834         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
36835         (elf_machine_lazy_rel): Likewise.
36836         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36837         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
36838         (elf_machine_lazy_rel): Likewise.
36839         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
36840         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
36841         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
36842         * sysdeps/unix/grantpt.c (grantpt): Likewise.
36843         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
36844         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
36845         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36846         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36847         Likewise.
36848         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
36849         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
36850         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
36851         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
36852         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36853         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36854         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
36855         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
36856         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
36857         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36858         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36859         Likewise.
36860         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
36861         (__posix_fallocate64_l64): Likewise.
36862         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
36863         (posix_fallocate): Likewise.
36864         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
36865         Likewise.
36866         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36867         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
36868         (getifaddrs_internal): Likewise.
36869         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
36870         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
36871         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
36872         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
36873         * sysdeps/unix/sysv/linux/posix_fallocate64.c
36874         (__posix_fallocate64_l64): Likewise.
36875         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
36876         Likewise.
36877         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
36878         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
36879         (__get_clockfreq): Likewise.
36880         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
36881         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36882         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
36883         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36884         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36885         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
36886         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
36887         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
36888         Likewise.
36889         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
36890         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
36891         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
36892         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
36893         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36894         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
36895         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
36896         Likewise.
36897         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36898         (posix_fallocate): Likewise.
36899         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36900         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
36901         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
36902         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
36903         (elf_machine_rela, elf_machine_rela_relative)
36904         (elf_machine_lazy_rel): Likewise.
36905         * time/asctime.c (asctime_internal): Likewise.
36906         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
36907         * time/tzset.c (__tzset_parse_tz): Likewise.
36908         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
36909         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
36910         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
36911         * wcsmbs/wcsmbsload.h: Likewise.
36913         [BZ #15894]
36914         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
36916         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
36917         (arena_get2): Remove THREAD_STATS conditionals.
36918         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
36919         (__malloc_stats, int): Likewise.
36921 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
36923         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
36924         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
36926         * manual/setjmp.texi: Fix typos/grammar errors.
36928         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
36929         Only return early when n is <= 0.  Delete unused return statement.
36931         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
36932         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
36933         * debug/tst-longjmp_chk3.c: New file.
36935         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
36936         (test_main): Replace code with set_fortify_handler call.
36937         * debug/test-strcpy_chk.c: Likewise.
36938         * debug/tst-chk1.c: Likewise.
36939         * debug/tst-longjmp_chk.c: Likewise.
36940         * test-skeleton.c: Include fcntl.h & paths.h
36941         (set_fortify_handler): Define.
36943         * debug/tst-longjmp_chk.c: Add header comment and include
36944         ../test-skeleton.c.
36945         (do_test): Mark static.
36946         (TEST_FUNCTION): Define.
36948         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
36949         (IP_PMTUDISC_INTERFACE): Likewise.
36950         (IP_MULTICAST_IF): Likewise.
36951         (IP_MULTICAST_TTL): Likewise.
36952         (IP_MULTICAST_LOOP): Likewise.
36953         (IP_ADD_MEMBERSHIP): Likewise.
36954         (IP_DROP_MEMBERSHIP): Likewise.
36955         (IP_UNBLOCK_SOURCE): Likewise.
36956         (IP_BLOCK_SOURCE): Likewise.
36957         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
36958         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
36959         (IP_MSFILTER): Likewise.
36960         (MCAST_JOIN_GROUP): Likewise.
36961         (MCAST_BLOCK_SOURCE): Likewise.
36962         (MCAST_UNBLOCK_SOURCE): Likewise.
36963         (MCAST_LEAVE_GROUP): Likewise.
36964         (MCAST_JOIN_SOURCE_GROUP): Likewise.
36965         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
36966         (MCAST_MSFILTER): Likewise.
36967         (IP_MULTICAST_ALL): Likewise.
36968         (IP_UNICAST_IF): Likewise.
36970         * timezone/Makefile: Delete $(have-ksh) check.
36971         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
36972         * timezone/tzselect.ksh: Add +x mode bits.
36974         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
36975         (ANON_INODE_FS_MAGIC): Likewise.
36976         (BDEVFS_MAGIC): Likewise.
36977         (BINFMTFS_MAGIC): Likewise.
36978         (BTRFS_TEST_MAGIC): Likewise.
36979         (CRAMFS_MAGIC_WEND): Likewise.
36980         (DEBUGFS_MAGIC): Likewise.
36981         (ECRYPTFS_SUPER_MAGIC): Likewise.
36982         (EXT3_SUPER_MAGIC): Likewise.
36983         (EXT4_SUPER_MAGIC): Likewise.
36984         (FUTEXFS_SUPER_MAGIC): Likewise.
36985         (HOSTFS_SUPER_MAGIC): Likewise.
36986         (HUGETLBFS_MAGIC): Likewise.
36987         (MINIX3_SUPER_MAGIC): Likewise.
36988         (MTD_INODE_FS_MAGIC): Likewise.
36989         (NILFS_SUPER_MAGIC): Likewise.
36990         (OPENPROM_SUPER_MAGIC): Likewise.
36991         (PIPEFS_MAGIC): Likewise.
36992         (PSTOREFS_MAGIC): Likewise.
36993         (QNX6_SUPER_MAGIC): Likewise.
36994         (RAMFS_MAGIC): Likewise.
36995         (REISERFS_SUPER_MAGIC_STRING): Likewise.
36996         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
36997         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
36998         (SECURITYFS_MAGIC): Likewise.
36999         (SELINUX_MAGIC): Likewise.
37000         (SMACK_MAGIC): Likewise.
37001         (SOCKFS_MAGIC): Likewise.
37002         (SQUASHFS_MAGIC): Likewise.
37003         (STACK_END_MAGIC): Likewise.
37004         (TMPFS_MAGIC): Likewise.
37005         (USBDEVICE_SUPER_MAGIC): Likewise.
37006         (V9FS_MAGIC): Likewise.
37007         (XENFS_SUPER_MAGIC): Likewise.
37008         (CRAMFS_MAGIC): Fix typo in comment.
37009         (EXT2_SUPER_MAGIC): Update comment.
37010         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
37012 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
37014         * sysdeps/arm: Move directory from ports/sysdeps/arm.
37015         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
37016         * sysdeps/unix/sysv/linux/arm: Move directory from
37017         ports/sysdeps/unix/sysv/linux/arm.
37018         * README: Update listing for arm-*-linux-gnueabi.
37020         * README: Remove mention of am33.
37022 2014-02-07  Roland McGrath  <roland@hack.frob.com>
37024         * bits/sigset.h (__sigemptyset): Use a statement expression rather
37025         than the comma operator, to avoid "rhs of comma has no effect"
37026         compiler warnings.
37027         (__sigfillset, __sigandset, __sigorset): Likewise.
37028         * include/signal.h (__sigemptyset): Likewise.
37029         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
37031 2014-02-07  Allan McRae  <allan@archlinux.org>
37033         * version.h (RELEASE): Set to "development".
37034         (VERSION): Set to "2.19.90"
37035         * NEWS: Add 2.20 section.
37037 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
37039         [BZ #16529]
37040         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
37042 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37044         * manual/contrib.texi: Update entry for Carlos O'Donell,
37045         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
37047 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
37049         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
37051         * sysdeps/unix/sysv/linux/kernel-features.h
37052         [__LINUX_KERNEL_VERSION >= 0x020621]
37053         (__ASSUME_PROC_PID_TASK_COMM): Define.
37055 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37057         [BZ #16398]
37058         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
37059         conversion when destination buffer does not have enough space.
37060         * libio/tst-ftell-partial-wide.c: New test case.
37061         * libio/Makefile (tests): Add tst-ftell-partial-wide.
37063         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
37064         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
37065         Leonard and Allan McRae.
37067 2014-02-04  David S. Miller  <davem@davemloft.net>
37069         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
37070         32-bit.
37072 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
37075         New file
37076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
37077         New file
37078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
37079         New file.
37080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
37081         New file.
37082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
37083         New file.
37084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
37085         New file.
37086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
37087         New file.
37088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
37089         New file.
37090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
37091         New file.
37092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
37093         New file.
37094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
37095         New file.
37096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
37097         New file.
37098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
37099         New file.
37101 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37103         * nptl/shlib-versions: Change powerpc*le start to 2.17.
37104         * shlib-versions: Likewise.
37106 2014-02-04  Roland McGrath  <roland@hack.frob.com>
37107             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37109         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
37110         (abilist-pattern): New variable, set to %-le.abilist.
37112         * Makerules (abilist-pattern): New variable.
37113         (vpath): Use $(abilist-pattern) in place of %.abilist.
37114         (check-abi-% pattern rule): Likewise.
37115         (check-abi, update-abi): Likewise.
37117 2014-02-04  Eric Wong  <normalperson@yhbt.net>
37119         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37121 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
37123         * manual/startup.texi: Add next, previous, and top entries for
37124         the `Program Arguments' and `Environment Variables' nodes.
37126 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
37128         * manual/macros.texi: Add comments before MTASC-safety macros.
37130         * manual/users.texi: Document MTASC-safety properties.
37132         * manual/threads.texi (pthread_key_create, pthread_key_delete)
37133         (pthread_getspecific, pthread_setspecific): Format with
37134         @deftypefun, and add @safety note.
37135         * manual/signal.texi: Move comments that analyze the above
37136         functions to their home place.
37138 2014-02-03  Allan McRae  <allan@archlinux.org>
37140         * po/sl.po: Update Slovenian translation from translation project.
37142 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
37144         * manual/time.texi (timegm): Add missing blank after @c.
37145         Reported by Joseph Myers <joseph@codesourcery.com>.
37147 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
37149         * manual/check-safety.sh: New.
37150         * manual/Makefile ($(objpfx)stamp-summary): Run it.
37152         * manual/terminal.texi: Document MTASC-safety properties.
37154         * manual/filesys.texi: Document MTASC-safety properties.
37156         * manual/errno.texi: Document MTASC-safety properties.
37158         * manual/intro.texi: Document safety identifiers and
37159         conditionals.
37161         * manual/string.texi (wcstok): Fix prototype.
37162         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
37164         * manual/time.texi: Document MTASC-safety properties.
37166         * manual/string.texi: Document MTASC-safety properties.
37168         * manual/threads.texi: Document MTASC-safety properties.
37170         * manual/stdio.texi: Document MTASC-safety properties.
37172         * manual/syslog.texi: Document MTASC-safety properties.
37174         * manual/sysinfo.texi: Document MTASC-safety properties.
37176         * manual/startup.texi: Document MTASC-safety properties.
37178         * manual/socket.texi: Document MTASC-safety properties.
37180         * manual/signal.texi: Document MTASC-safety properties.
37182 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
37184         * manual/setjmp.texi: Document MTASC-safety properties.
37186         * manual/search.texi: Document MTASC-safety properties.
37188         * manual/resource.texi: Document MTASC-safety properties.
37190         * manual/process.texi: Document MTASC-safety properties.
37192         * manual/platform.texi: Document MTASC-safety properties.
37194         * manual/pipe.texi: Document MTASC-safety properties.
37196         * manual/pattern.texi: Document MTASC-safety properties.
37198         * manual/message.texi: Document MTASC-safety properties.
37200         [BZ #12751]
37201         * manual/memory.texi: Document MTASC-safety properties.
37203         * manual/math.texi: Document MTASC-safety properties.
37205         * manual/locale.texi: Document MTASC-safety properties.
37207         * manual/llio.texi: Document MTASC-safety properties.
37209         * manual/libdl.texi: New.
37211         * manual/lang.texi: Document MTASC-safety properties.
37213         * manual/job.texi: Document MTASC-safety properties.
37215         * manual/getopt.texi: Document MTASC-safety properties.
37217         * manual/ctype.texi: Document MTASC-safety properties.
37219 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
37221         [BZ #16046]
37222         * csu/libc-tls.c (static_map): Remove variable.
37223         (__libc_setup_tls): Use main executable's link map for TLS data.
37224         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
37225         casing for LM_ID_BASE and GL(dl_nns).
37226         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
37227         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
37228         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
37229         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
37230         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
37231         member.
37232         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
37233         l_phnum members.
37235 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
37237         * manual/debug.texi: Document MTASC-safety properties.
37239 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
37241         [BZ #16510]
37242         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
37243         of __x86_64__ when disabling x87 inline functions.
37245 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
37247         * manual/charset.texi: Document MTASC-safety properties.
37249         * manual/crypt.texi: Document MTASC-safety properties.
37251         * manual/conf.texi: Document MTASC-safety properties.
37253         * manual/arith.texi: Document MTASC-safety properties.
37255         * manual/argp.texi: Document MTASC-safety properties.
37257         * manual/macros.texi: Introduce macros to document multi
37258         thread, asynchronous signal and asynchronous cancellation
37259         safety properties.
37260         * manual/intro.texi: Introduce the properties themselves.
37262 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37264         * sysdeps/sh/sh4/Makefile: New file.
37266 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
37268         * math/gen-libm-test.pl ($srcdir): New variable.
37269         ($auto_input): Use it.
37271 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37273         [BZ #16506]
37274         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
37275         access beyond array bounds when parsing netgroups file.
37277         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
37278         the old buffer before realloc.
37280 2014-01-27  Allan McRae  <allan@archlinux.org>
37282         * po/fr.po: Update French translation from translation project.
37284 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37286         * sysdeps/sh/libm-test-ulps: Regenerate.
37288 2014-01-24  David S. Miller  <davem@davemloft.net>
37290         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
37292 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37294         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
37295         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
37297 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37299         [BZ #16474]
37300         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
37301         string pointers after reallocation.
37303 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37305         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
37306         __SH4A__ instead of __SH_FPU_ANY__.
37308 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37310         * sysdeps/sh/fpu_control.h: New file.
37311         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
37312         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
37313         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
37314         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
37315         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
37316         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
37317         * sysdeps/sh/sys/ucontext.h: Remove.
37318         * sysdeps/sh/sys: Remove directory.
37320 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37322         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
37323         s390/sys/ucontext.h.
37324         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
37325         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
37327 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
37329         [BZ #15605]
37330         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
37332 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37334         [BZ#16431]
37335         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37336         Adjust the vDSO correctly for internal calls.
37337         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
37339 2014-01-20  Allan McRae  <allan@archlinux.org>
37341         * po/ca.po: Update Catalan translation from translation project.
37343 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
37345         * sysdeps/s390/sotruss-lib.c: New file.
37347 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37349         [BZ#16430]
37350         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
37351         (__GI___gettimeofday): Alias for a different internal symbol to avoid
37352         local calls issues by not having a PLT stub required for IFUNC calls.
37353         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
37355 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
37357         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
37358         * math/test-fpucw-static.c: Likewise.
37360 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37362         [BZ #16453]
37363         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
37365 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37367         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
37368         implementation for powerpc.
37370 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
37372         [BZ #14782]
37373         * sysdeps/posix/system.c (__libc_system): Do not enable
37374         asynchronous cancellation.
37376 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37378         [BZ #16427]
37379         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
37380         handling only for numbers special also in the IEEE case.
37382 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37384         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37386 2014-01-11  Allan McRae  <allan@archlinux.org>
37388         * po/bg.po: Update Bulgarian translation from translation project.
37390         * po/de.po: Update German translation from translation project.
37392 2014-01-10  Roland McGrath  <roland@hack.frob.com>
37394         * sysdeps/generic/gcc-compat.h: New file.
37396 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37398         * benchtests/asin-inputs: Correct slow inputs.
37399         * benchtests/acos-inputs: Likewise.
37401 2014-01-10  Allan McRae  <allan@archlinux.org>
37403         * po:sv.po: Update Swedish translation from translation project.
37405         * po/vi.po: Update Vietnamese translation from translation project.
37407         * po/eo.po: Update Esperanto translation from translation project.
37409         * po/cs.po: Update Czech translation from translation project.
37411         * po/nl.po: Update Dutch translation from translation project.
37413         * po/pl.po: Update Polish translation from translation project.
37415         * po/ru.po: Update Russian translation from translation project.
37417         * po/uk.po: Update Ukrainian translation from translation project.
37419 2014-01-08  Brooks Moses  <bmoses@google.com>
37421         * elf/dl-load.c: Fix comment typo.
37423 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
37425         * po/header.pot: Rename to...
37426         * po/pot.header: ... this.
37427         * po/Makefile: Use pot.header.
37429 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
37430             Maxim Kuvyrkov  <maxim@kugelworks.com>
37432         [BZ #16394]
37433         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
37434         SRC and DEST against LEN.
37436 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37438         [BZ #16414]
37439         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
37440         implementation.
37441         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
37443 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37445         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37447 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
37449         [BZ #16408]
37450         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
37451         for large positive arguments.
37453 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
37455         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37457         * math/auto-libm-test-in: Mark various tests with
37458         xfail-rounding:ldbl-128ibm.
37459         * math/auto-libm-test-out: Regenerated.
37461         [BZ #16407]
37462         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
37463         Increase overflow threshold.
37465 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
37467         [BZ #14286]
37468         * stdio-common/vfprintf.c: Check for integer overflow.
37470 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37472         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
37473         the first argument and return value of __tls_get_addr_internal.
37475 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37477         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
37478         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
37480 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37482         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
37483         * sysdeps/s390/rtld-global-offsets.sym: New file.
37484         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
37485         GLIBC_2.19 symbol.
37486         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
37487         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
37488         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
37489         ... this.
37490         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
37491         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
37492         ... this.
37493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37494         Regenerate.
37495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37496         Regenerate.
37497         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
37498         halfs of GPRs for high_gprs contexts.
37499         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
37500         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
37501         field.
37502         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
37503         uc_flags field.
37504         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
37505         64 bit versions:
37506         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
37507         for high GPRs (uc_high_gprs) and for future extensions
37508         (__reserved).
37509         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
37510         for future extensions (__reserved).
37511         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
37512         64 bit versions:
37513         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
37514         SC_HIGHGPRS offset definition.
37515         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
37516         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
37518         * Versions.def: Add GLIBC_2.19 for libpthread.
37519         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
37520         siglongjmp for libpthread with GLIBC_2.19 symver.
37521         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
37522         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
37523         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
37524         * sysdeps/s390/__longjmp.c: New file.
37525         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
37526         * sysdeps/s390/longjmp.c: New file.
37527         * sysdeps/s390/setjmp.S: New file.
37528         * sysdeps/s390/sigjmp.S: New file.
37529         * sysdeps/s390/v1-longjmp.c: New file.
37530         * sysdeps/s390/v1-setjmp.h: New file.
37531         * sysdeps/s390/v1-sigjmp.c: New file.
37532         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
37533         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
37534         GLIBC_2.19 version.
37535         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
37536         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
37537         versioned symbols for ____longjmp_chk.
37538         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
37539         Likewise.
37540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37541         Regenerate.
37542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37543         Regenerate.
37544         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37545         Regenerate.
37546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37547         Regenerate.
37548         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
37549         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
37550         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
37551         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
37552         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
37553         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
37554         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
37555         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
37556         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
37557         * sysdeps/s390/rtld-__longjmp.c: New file.
37558         * sysdeps/s390/rtld-setjmp.S: New file.
37560 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
37562         [BZ #16400]
37563         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
37564         Return -__logl (x) for small positive arguments without evaluating
37565         a polynomial.
37567 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
37569         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
37570         Rename to ...
37571         (__ptrace_peeksiginfo_args): ... this.
37572         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37573         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37574         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37576 2014-01-06  Allan McRae  <allan@archlinux.org>
37578         * inet/netinet/in.h: Fix typo in comment.
37580 2014-01-05  Andreas Jaeger  <aj@suse.de>
37582         * sysdeps/i386/fpu/libm-test-ulps: Update.
37584 2014-01-05  Allan McRae  <allan@archlinux.org>
37586         * po/libc.pot: Regenerated.
37588         * malloc/memusagestat.c: Fix gettext call formatting.
37590 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
37592         * nscd/nscd.c: Improve usage() output.
37594 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
37596         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
37597         * sysdeps/unix/sysv/linux/configure: Regenerated.
37598         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
37599         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
37601 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
37603         [BZ #16390]
37604         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
37605         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
37607 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37609         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
37610         extra tokens at end of #undef directive.
37611         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
37612         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
37613         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
37615 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
37617         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37619         * math/auto-libm-test-in: Mark various tests with
37620         xfail-rounding:ldbl-128ibm.
37621         * math/auto-libm-test-out: Regenerated.
37623 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
37625         [BZ #16386]
37626         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
37627         numbers with subnormal high part when calculating exponent.
37629         [BZ #16385]
37630         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
37631         fabs.
37633         [BZ #16384]
37634         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
37635         M_LN2l.
37636         (__ieee754_acoshl): Use __log1pl not __log1p.
37638 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
37640         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
37641         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
37642         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
37643         (grow_heap, heap_trim, _int_new_arena, get_free_list)
37644         (reused_arena, arena_get2): Convert to GNU style.
37645         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
37646         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
37647         (memalign_check, __malloc_set_state): Likewise.
37648         * malloc/mallocbug.c (main): Likewise.
37649         * malloc/malloc.c (__malloc_assert, malloc_init_state)
37650         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
37651         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
37652         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
37653         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
37654         (__posix_memalign, malloc_info): Likewise.
37655         * malloc/malloc.h: Likewise.
37656         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
37657         (mallochook, memalignhook, reallochook, mabort): Likewise.
37658         * malloc/mcheck.h: Likewise.
37659         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
37660         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
37661         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
37662         * malloc/morecore.c (__default_morecore): Likewise.
37663         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
37664         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
37665         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
37666         (print_and_abort): Likewise.
37667         * malloc/obstack.h: Likewise.
37668         * malloc/set-freeres.c (__libc_freeres): Likewise.
37669         * malloc/tst-mallocstate.c (main): Likewise.
37670         * malloc/tst-mtrace.c (main): Likewise.
37671         * malloc/tst-realloc.c (do_test): Likewise.
37673 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37675         [BZ #16366]
37676         * nscd/netgroupcache.c (do_notfound): New function.
37677         (addgetnetgrentX): Use it.
37679         [BZ # 16365]
37680         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
37681         NSS_STATUS_NOTFOUND.
37683 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
37685         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37688 2014-01-01  Allan McRae  <allan@archlinux.org>
37690         * scripts/update-copyrights: Update configure input file suffix.
37692         * NEWS: Update copyright year.
37693         * catgets/gencat.c: Likewise.
37694         * csu/version.c: Likewise.
37695         * debug/catchsegv.sh: Likewise.
37696         * debug/pcprofiledump.c: Likewise.
37697         * debug/xtrace.sh: Likewise.
37698         * elf/ldconfig.c: Likewise.
37699         * elf/ldd.bash.in: Likewise.
37700         * elf/pldd.c: Likewise.
37701         * elf/sotruss.ksh: Likewise.
37702         * elf/sprof.c: Likewise.
37703         * iconv/iconv_prog.c: Likewise.
37704         * iconv/iconvconfig.c: Likewise.
37705         * locale/programs/locale.c: Likewise.
37706         * locale/programs/localedef.c: Likewise.
37707         * login/programs/pt_chown.c: Likewise.
37708         * malloc/memusage.sh: Likewise.
37709         * malloc/memusagestat.c: Likewise.
37710         * malloc/mtrace.pl: Likewise.
37711         * manual/libc.texinfo: Likewise.
37712         * nscd/nscd.c: Likewise.
37713         * nss/getent.c: Likewise.
37714         * nss/makedb.c: Likewise.
37715         * posix/getconf.c: Likewise.
37716         * scripts/test-installation.pl: Likewise.
37718         * All files with FSF copyright notices: Update copyright dates
37719         using scripts/update-copyrights.
37720         * intl/plural.c: Regenerated.
37721         * locale/programs/charmap-kw.h: Likewise.
37722         * locale/programs/locfile-kw.h: Likewise.
37724 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
37726         * sysdeps/unix/sysv/linux/configure: Regenerated.
37727         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
37728         the linux/fanotify.h header.
37729         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
37730         HAVE_LINUX_FANOTIFY_H is defined.
37732 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37734         * benchtests/cos-inputs: New inputs.
37735         * benchtests/sin-inputs: Likewise.
37737         * benchtests/atan-inputs: New inputs. Fix name of multiple
37738         precision fallback inputs.
37740         * benchtests/atanh-inputs: New inputs.
37741         * benchtests/tanh-inputs: Likewise.
37743         * benchtests/acosh-inputs: New inputs.
37744         * benchtests/asinh-inputs: Likewise.
37746         * benchtests/cosh-inputs: New inputs.
37747         * benchtests/sinh-inputs: Likewise.
37749         * benchtests/acos-inputs: Add more inputs.
37750         * benchtests/asin-inputs: Likewise.
37752 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
37754         [BZ #16375]
37755         * manual/arith.texi: Fix spelling.
37756         * manual/charset.texi: Likewise.
37757         * manual/errno.texi: Likewise.
37758         * manual/filesys.texi: Likewise.
37759         * manual/lang.texi: Likewise.
37760         * manual/llio.texi: Likewise.
37761         * manual/locale.texi: Likewise.
37762         * manual/message.texi: Likewise.
37763         * manual/resource.texi: Likewise.
37764         * manual/search.texi: Likewise.
37765         * manual/setjmp.texi: Likewise.
37766         * manual/stdio.texi: Likewise.
37767         * manual/string.texi: Likewise.
37768         * manual/sysinfo.texi: Likewise.
37769         * manual/time.texi: Likewise.
37771 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
37773         * po/sl.po: New file.
37775 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
37777         * .gitignore: Add core/.gdbinit/.gdb_history.
37779 2013-12-27  Allan McRae  <allan@archlinux.org>
37781         [BZ #16369]
37782         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
37783         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
37785 2013-12-24  Brooks Moses  <bmoses@google.com>
37787         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
37788         all compilers that claim C++98 compliance, not just GCC.
37789         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
37790         Likewise.
37792 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37794         * NEWS: Restore accidentally deleted bug-fix entries.
37796 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37797             Ondřej Bílka  <neleai@seznam.cz>
37799         [BZ #15073]
37800         * malloc/malloc.c (_int_free): Perform sanity check only if we
37801         have_lock.
37803 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
37805         [BZ #12986]
37806         * manual/stdio.texi (String Input Conversions): Clarify that character
37807         classes are not supported.
37809 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37811         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37813 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
37815         [BZ #16337]
37816         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
37817         Calculate results for small negative arguments directly rather
37818         than using reflection formula with special underflow handling.
37820         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
37821         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
37822         sysdeps/unix/bsd/bsd4.4/syscalls.list.
37823         (fchflags): Likewise.
37824         (revoke): Likewise.
37825         (setlogin): Likewise.
37826         (sigaltstack): Likewise.
37827         (wait4): Likewise.
37828         (sigblock): Remove.
37829         (sigsetmask): Likewise.
37830         (wait3): Likewise.
37831         (waitpid): Likewise.
37832         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
37833         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
37834         file.
37835         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
37836         * sysdeps/unix/bsd/Makefile: ... here.
37837         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
37838         * sysdeps/unix/bsd/Versions: ... here.
37839         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
37840         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
37841         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
37842         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
37843         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
37844         * sysdeps/unix/bsd/sigblock.c: ... here.
37845         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
37846         * sysdeps/unix/bsd/sigsetmask.c: ... here.
37847         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
37848         * sysdeps/unix/bsd/sigvec.c: ... here.
37849         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
37850         * sysdeps/unix/bsd/tcdrain.c: ... here.
37851         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
37852         * sysdeps/unix/bsd/tcgetattr.c: ... here.
37853         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
37854         * sysdeps/unix/bsd/tcsetattr.c: ... here.
37855         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
37856         * sysdeps/unix/bsd/wait.c: ... here.
37857         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
37858         * sysdeps/unix/bsd/wait3.c: ... here.
37859         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
37860         * sysdeps/unix/bsd/waitpid.c: ... here.
37862 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
37864         [BZ #16356]
37865         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
37866         round-to-nearest for [!USE_AS_EXPM1L].
37867         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
37868         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
37869         more tests of exp and exp10.  Expect some exp10 tests to miss
37870         exceptions or fail in directed rounding modes.
37871         * math/auto-libm-test-out: Regenerated.
37872         * math/libm-test.inc (exp10_tonearest_test_data): New array.
37873         (exp10_test_tonearest): New function.
37874         (exp10_towardzero_test_data): New array.
37875         (exp10_test_towardzero): New function.
37876         (exp10_downward_test_data): New array.
37877         (exp10_test_downward): New function.
37878         (exp10_upward_test_data): New array.
37879         (exp10_test_upward): New function.
37880         (main): Call the new functions.
37881         * sysdeps/i386/fpu/libm-test-ulps: Update.
37882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37884 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
37886         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
37887         asinh, atan, atan2, atanh, cbrt, cos and cosh.
37888         * math/auto-libm-test-out: Regenerated.
37889         * math/libm-test.inc (acosh_test_data): Add more tests.
37890         (atanh_test_data): Likewise.
37891         (ceil_test_data): Likewise.
37892         (copysign_test_data): Likewise.
37893         * sysdeps/i386/fpu/libm-test-ulps: Update.
37894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37896         * timezone/checktab.awk: Update from tzcode 2013i.
37897         * timezone/private.h: Likewise.
37898         * timezone/scheck.c: Likewise.
37899         * timezone/tzfile.h: Likewise.
37900         * timezone/tzselect.ksh: Likewise.
37901         * timezone/zdump.c: Likewise.
37902         * timezone/zic.c: Likewise.
37904         * math/auto-libm-test-in: Add tests of cpow.
37905         * math/auto-libm-test-out: Regenerated.
37906         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
37907         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37908         mpc_cc_c.
37909         (func_calc_desc): Add mpc_cc_c union field.
37910         (test_functions): Add cpow.
37911         (special_fill_2pi): New function.
37912         (special_real_inputs): Add 2pi.
37913         (calc_generic_results): Handle mpc_cc_c.
37914         * sysdeps/i386/fpu/libm-test-ulps: Update.
37915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37917         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
37918         csqrt, ctan and ctanh.
37919         * math/auto-libm-test-out: Regenerated.
37920         * math/libm-test.inc (TEST_COND_x86_64): New macro.
37921         (TEST_COND_x86): Likewise.
37922         (ccos_test_data): Use AUTO_TESTS_c_c.
37923         (ccosh_test_data): Likewise.
37924         (cexp_test_data): Likewise.
37925         (clog_test_data): Likewise.
37926         (csqrt_test_data): Likewise.
37927         (ctan_test_data): Likewise.
37928         (ctan_tonearest_test_data): Likewise.
37929         (ctan_towardzero_test_data): Likewise.
37930         (ctan_downward_test_data): Likewise.
37931         (ctan_upward_test_data): Likewise.
37932         (ctanh_test_data): Likewise.
37933         (ctanh_tonearest_test_data): Likewise.
37934         (ctanh_towardzero_test_data): Likewise.
37935         (ctanh_downward_test_data): Likewise.
37936         (ctanh_upward_test_data): Likewise.
37937         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37938         mpc_c_c.
37939         (func_calc_desc): Add mpc_c_c union field.
37940         (FUNC_mpc_c_c): New macro.
37941         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
37942         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
37943         ctanh.
37944         (special_fill_min_subnorm_p120): New function.
37945         (special_real_inputs): Add min_subnorm_p120.
37946         (calc_generic_results): Handle mpc_c_c.
37947         * sysdeps/i386/fpu/libm-test-ulps: Update.
37948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37950 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37952         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
37953         (do_sin_slow): New functions.
37954         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
37955         (cslow2, csloww1, csloww2): Use the new functions.
37957         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
37958         Use M to change sign of result instead of X.  Assume X is
37959         positive.
37960         (csloww1): Likewise.
37961         (__sin): Adjust.
37962         (__cos): Adjust.
37964         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
37965         arguments A and DA.
37966         (__sin): Adjust.
37967         (__cos): Likewise.
37969         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
37970         (__cos): Likewise.
37971         (sloww1): Don't adjust sign of DX.
37972         (csloww1): Likewise.
37973         (sloww2): Use X directly and don't adjust sign of DX.
37974         (csloww2): Likewise.
37976 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37978         * math/auto-libm-test-in: Add tests of cabs and carg.
37979         * math/auto-libm-test-out: Regenerated.
37980         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
37981         (carg_test_data): Likewise.
37982         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37983         mpc_c_f.
37984         (func_calc_desc): Add mpc_c_f union field.
37985         (test_functions): Add cabs and carg.
37986         (calc_generic_results): Handle mpc_c_f.
37988         * sysdeps/powerpc/powerpc32/libgcc-compat.S
37989         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
37990         as a macro and a compat symbol.
37991         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
37992         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
37993         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
37994         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
37995         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
37996         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
37997         not use .hidden.
37998         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
37999         Likewise.
38000         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
38001         Likewise.
38002         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
38003         Likewise.
38004         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
38005         Likewise.
38006         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
38007         Likewise.
38008         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
38009         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
38010         from GLIBC_2.3.2.
38012 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38014         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38016 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38018         * manual/texinfo.tex: Update to version 2013-11-26.10 with
38019         trailing whitespace removed.
38020         * scripts/config.guess: Update to version 2013-11-29.
38021         * scripts/config.sub: Update to version 2013-10-01.
38023         * math/auto-libm-test-in: Add tests of sincos.
38024         * math/auto-libm-test-out: Regenerated.
38025         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
38026         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38027         mpfr_f_11.
38028         (func_calc_desc): Add mpfr_f_11 union field.
38029         (test_functions): Add sincos.
38030         (calc_generic_results): Handle mpfr_f_11.
38031         * sysdeps/i386/fpu/libm-test-ulps: Update.
38032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38034 2013-12-19  Andreas Schwab  <schwab@suse.de>
38036         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
38037         CALL_MCOUNT.
38038         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38039         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
38040         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
38042 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38044         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
38045         * sysdeps/i386/fpu/libm-test-ulps: Update.
38046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38048         [BZ #16293]
38049         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
38050         round-to-nearest mode when using frndint.
38051         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
38052         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38053         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38054         Likewise.
38055         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
38056         sinh test to fail.
38057         * math/auto-libm-test-out: Regenerated.
38058         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
38059         (TEST_COND_x86): Likewise.
38060         (expm1_tonearest_test_data): New array.
38061         (expm1_test_tonearest): New function.
38062         (expm1_towardzero_test_data): New array.
38063         (expm1_test_towardzero): New function.
38064         (expm1_downward_test_data): New array.
38065         (expm1_test_downward): New function.
38066         (expm1_upward_test_data): New array.
38067         (expm1_test_upward): New function.
38068         (main): Run the new test functions.
38069         * sysdeps/i386/fpu/libm-test-ulps: Update.
38070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38072         * include/features.h: Update comment documenting feature test
38073         macros.  Mention _DEFAULT_SOURCE in comment.
38074         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
38075         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
38076         _BSD_SOURCE and _SVID_SOURCE.
38077         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
38078         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
38079         !_SVID_SOURCE]: Likewise.
38080         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38081         (__USE_POSIX_IMPLICITLY): Define.
38082         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38083         (_POSIX_SOURCE): Undefine and redefine.
38084         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38085         (_POSIX_C_SOURCE): Likewise.
38086         * manual/creature.texi (_DEFAULT_SOURCE): Document.
38087         (Feature Test Macros): Update documentation of default features.
38089 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38091         * benchtests/Makefile: Add bench-strtok.
38092         * benchtests/bench-strtok.c: New file: strtok benchtest.
38094 2013-12-19  Allan McRae  <allan@archlinux.org>
38096         * manual/install.texi: Suppress menu for plain text output.
38097         * INSTALL: Regenerated.
38099 2013-12-18  Brooks Moses  <bmoses@google.com>
38101         [BZ #15846]
38102         * misc/getauxval.c: Include errno.h.
38103         (__getauxval): Set errno to ENOENT if the requested type is not
38104         found.
38105         * misc/sys/auxv.h (getauxval): Document that it may set errno;
38106         don't declare with __attribute_const__.
38107         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
38108         * manual/startup.texi: Document that getauxval sets errno.
38110 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38112         * math/auto-libm-test-in: Add tests of jn and yn.
38113         * math/auto-libm-test-out: Regenerated.
38114         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
38115         (yn_test_data): Likewise.
38116         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38117         mpfr_if_f.
38118         (func_calc_desc): Add mpfr_if_f union field.
38119         (FUNC_mpfr_if_f): New macro.
38120         (test_functions): Add jn and yn.
38121         (calc_generic_results): Assert type of second input for
38122         mpfr_ff_f.  Handle mpfr_if_f.
38123         (output_for_one_input_case): Disable all checking for arguments
38124         fitting floating-point types in case of an integer argument.
38125         * sysdeps/i386/fpu/libm-test-ulps: Update.
38126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38129         Don't expect fegetround reference in libm.so.
38131 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38133         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
38134         $(config-cflags-nofma).
38136 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38138         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
38139         * math/auto-libm-test-out: Regenerated.
38141         [BZ #16338]
38142         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
38143         to determine exponent and adjust argument to have exponent of -1.
38144         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
38145         log2.
38146         * math/auto-libm-test-out: Regenerated.
38147         * sysdeps/i386/fpu/libm-test-ulps: Update.
38148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38150 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
38152         * manual/probes.texi: Remove cases when per-thread arenas are
38153         disabled.
38155 2013-12-18  Andreas Schwab  <schwab@suse.de>
38157         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
38158         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
38159         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
38160         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
38161         * sysdeps/i386/i686/multiarch/Makefile: Update.
38162         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
38164 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38166         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
38167         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
38169 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
38171         [BZ #15968]
38172         Support TZ transition times < 00:00:00.
38173         This is needed for version-3 tz-format files; it supports time
38174         stamps past 2037 for America/Godthab (the only entry in the tz
38175         database for which this change is relevant).
38176         * manual/time.texi (TZ Variable): Document transition times
38177         from -167:59:59 through -00:00:01.
38178         * time/tzset.c (tz_rule): Time of day is now signed.
38179         (__tzset_parse_tz): Parse negative time of day.
38181         Document TZ transition times >= 25:00:00.
38182         * manual/time.texi (TZ Variable): Document transition times from
38183         25:00:00 through 167:59:59.  These are already supported, and this
38184         support will help with version-3 tz-format files.
38186         * manual/time.texi (TZ Variable): Modernize North America example
38187         to reflect current (i.e., 2007-and-later) daylight saving rules.
38189         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
38191 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38193         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
38194         * sysdeps/unix/bsd/bits/stat.h: Likewise.
38195         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
38196         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38197         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
38198         * sysdeps/unix/bsd/bsdstat.h: Likewise.
38199         * sysdeps/unix/bsd/clock.c: Likewise.
38200         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
38201         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
38202         * sysdeps/unix/bsd/init-posix.c: Likewise.
38203         * sysdeps/unix/bsd/poll.c: Likewise.
38204         * sysdeps/unix/bsd/ptsname.c: Likewise.
38205         * sysdeps/unix/bsd/seekdir.c: Likewise.
38206         * sysdeps/unix/bsd/setegid.c: Likewise.
38207         * sysdeps/unix/bsd/seteuid.c: Likewise.
38208         * sysdeps/unix/bsd/setgid.c: Likewise.
38209         * sysdeps/unix/bsd/setrgid.c: Likewise.
38210         * sysdeps/unix/bsd/setruid.c: Likewise.
38211         * sysdeps/unix/bsd/setsid.c: Likewise.
38212         * sysdeps/unix/bsd/setuid.c: Likewise.
38213         * sysdeps/unix/bsd/sigaction.c: Likewise.
38214         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
38215         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
38216         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
38217         * sysdeps/unix/bsd/telldir.c: Likewise.
38218         * sysdeps/unix/bsd/times.c: Likewise.
38219         * sysdeps/unix/bsd/usleep.c: Likewise.
38221         * misc/Makefile (install-lib): Remove libbsd-compat.a.
38222         ($(objpfx)libbsd-compat.a): Remove rule.
38224         * include/features.h (__FAVOR_BSD): Do not define.
38225         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
38226         features conflicting with POSIX.
38227         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
38228         (_BSD_SOURCE): Remove description of not being a subset of other
38229         feature test macros.
38230         * manual/job.texi (getpgrp): Do not document BSD version.
38231         (getpgid): Do not document by reference to BSD getpgrp.
38232         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
38233         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
38234         * signal/signal.h [__FAVOR_BSD]: Likewise.
38235         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
38236         instead of making contents conditional on [__FAVOR_BSD].
38237         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
38239 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38243 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38245         [BZ #16314]
38246         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
38247         values below 2**-450, not 2**-500.
38248         * math/auto-libm-test-in: Don't allow spurious underflow from
38249         hypot.
38250         * math/auto-libm-test-out: Regenerated.
38252         [BZ #16316]
38253         [BZ #16330]
38254         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
38255         values of ha and hb and sort them after adjusting subnormal
38256         arguments.
38257         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38258         Likewise.
38259         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
38260         values of ea and eb and sort them after adjusting subnormal
38261         arguments.
38262         * math/auto-libm-test-in: Do not expect some hypot tests of
38263         subnormals to fail.  Add more hypot tests.
38264         * math/auto-libm-test-out: Regenerated.
38266 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38268         [BZ #13304]
38269         * sysdeps/sh/s_fma.c: New file.
38270         * sysdeps/sh/s_fmaf.c: New file.
38271         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
38272         version.
38273         * sysdeps/sh/Implies: Add sh/soft-fp.
38275 2013-12-16  Roland McGrath  <roland@hack.frob.com>
38277         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
38278         level of indirection to members `objname', `errstring', `malloced'.
38279         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
38280         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
38281         it as the __longjmp argument (just pass 1 instead).
38282         (_dl_catch_error): Initialize C with argument pointers and address of
38283         volatile local ERRCODE rather than copying values out of C at return.
38285 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
38287         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
38288         * math/auto-libm-test-out: Regenerated.
38289         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
38290         (hypot_test_data): Likewise.
38291         (pow_test_data): Likewise.
38292         (pow_tonearest_test_data): Likewise.
38293         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38294         mpfr_ff_f.
38295         (func_calc_desc): Add mpfr_ff_f union field.
38296         (FUNC_mpfr_ff_f): New macro.
38297         (test_functions): Add atan2, hypot and pow.
38298         (special_fill_min): New function.
38299         (special_fill_minus_min): Likewise.
38300         (special_fill_min_subnorm): Likewise.
38301         (special_fill_minus_min_subnorm): Likewise.
38302         (special_real_inputs): Add min, -min, min_subnorm and
38303         -min_subnorm.
38304         (calc_generic_results): Handle mpfr_ff_f.
38305         * sysdeps/i386/fpu/libm-test-ulps: Update.
38306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38308 2013-12-16  Will Newton  <will.newton@linaro.org>
38310         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
38311         (Aligned Memory Blocks): Add documentation for aligned_alloc
38312         and suggest it as an alternative to posix_memalign.
38313         (Hooks for Malloc): Document __memalign_hook is also called
38314         for aligned_alloc.  (Summary of Malloc): Add summary for
38315         aligned alloc.  Document __memalign_hook is also called
38316         for aligned_alloc.
38318 2013-12-16  Will Newton  <will.newton@linaro.org>
38320         * manual/memory.texi (Malloc Examples): Clarify default
38321         alignment documentation.  Suggest posix_memalign rather
38322         than memalign or valloc.
38323         (Aligned Memory Blocks): Remove suggestion to use memalign
38324         or valloc.  Remove obsolete comment about BSD.
38325         Document memalign errno values and mark the function obsolete.
38326         Document posix_memalign returned error codes.  Mark valloc
38327         as obsolete.  (Hooks for Malloc): __memalign_hook is also
38328         called for posix_memalign and valloc.
38329         (Summary of Malloc): Add posix_memalign to function summary.
38330         __memalign_hook is also called for posix_memalign and valloc.
38332 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38334         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
38335         TAYLOR_SIN.
38336         (__sin): Adjust.
38337         (__cos): Likewise.
38338         (sloww): Use mynumber union.  Expand ternary operator into
38339         if-else statements.
38340         (cslow): use mynumber union.
38342 2013-12-16  Allan McRae  <allan@archlinux.org>
38344         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
38345         * configure: Regenerated.
38347         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
38349         [BZ #14120]
38350         * configure.ac: Added --enable-maintainer-mode. Check for
38351         autoconf when enabled.
38352         * configure: Regenerated.
38354         * nscd/nscd.service: New file.
38355         * nscd/nscd.tmpfiles: New file.
38357 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
38359         [BZ #12100]
38360         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
38361         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
38362         * sysdeps/x86_64/multiarch/strstr.c: ... here.
38363         (strstr): Add __strstr_sse2_unaligned ifunc.
38364         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
38365         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
38366         (strcasestr): Remove __strcasestr_sse42 ifunc.
38367         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
38368         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38369         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
38371 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38373         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
38374         * sysdeps/sh/bits/fenv.h: ... here.
38375         * sysdeps/sh/sh4/fpu/bits: Remove directory.
38377 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38379         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
38381         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
38382         hypotf multiarch implementations.
38383         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
38384         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
38385         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
38386         multiarch hypot for PPC64.
38387         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
38388         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
38389         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
38390         multiarch hypotf for PPC64.
38392         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
38393         modff multiarch implementations.
38394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
38395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
38396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
38397         multiarch modf for PPC64.
38398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
38399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
38400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
38401         multiarch modff for PPC64.
38403         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
38404         and logl multiarch implementations.
38405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
38406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
38407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
38408         multiarch logb for PPC64.
38409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
38410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
38411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
38412         multiarch logb for PPC64.
38413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
38414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
38415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
38416         multiarch logb for PPC64.
38418         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
38419         isinff multiarch implementation.
38420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
38421         file.
38422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
38423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
38424         multiarch isinf for PPC64.
38425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
38426         file.
38427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
38428         multiarch isinff for PPC64.
38430         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
38431         finitef multiarch implementation.
38432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
38433         file.
38434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
38435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
38436         multiarch finite for PPC64.
38437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
38438         file.
38439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
38440         multiarch finitef for PPC64.
38442         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
38443         lrint multiarch implementation.
38444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
38445         file.
38446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
38447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
38448         multiarch llrint for PPC64.
38449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
38450         multiarch lrint for PPC64.
38452         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
38453         copysignf multiarch implementation.
38454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
38455         file.
38456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
38457         file.
38458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
38459         multiarch copysign for PPC64.
38460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
38461         multiarch copysignf for PPC64.
38463         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
38464         multiarch implementation.
38465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
38466         file.
38467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
38468         file.
38469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
38470         file.
38471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
38472         file.
38473         multiarch llround for PPC64.
38474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
38475         multiarch trunc for PPC64.
38476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
38477         multiarch truncf for PPC64.
38479         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
38480         multiarch implementation.
38481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
38482         file.
38483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
38484         file.
38485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
38486         file.
38487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
38488         file.
38489         multiarch llround for PPC64.
38490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
38491         multiarch round for PPC64.
38492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
38493         multiarch roundf for PPC64.
38495         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
38496         multiarch implementation.
38497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
38498         file.
38499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
38500         file.
38501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
38502         file.
38503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
38504         file.
38505         multiarch llround for PPC64.
38506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
38507         multiarch floor for PPC64.
38508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
38509         multiarch floorf for PPC64.
38511         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
38512         multiarch implementation.
38513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
38514         file.
38515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
38516         file.
38517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
38518         file.
38519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
38520         file.
38521         multiarch llround for PPC64.
38522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
38523         multiarch ceil for PPC64.
38524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
38525         multiarch ceilf for PPC64.
38527         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
38528         multiarch implementation.
38529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
38530         file.
38531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
38532         file.
38533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
38534         file.
38535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
38536         multiarch llround for PPC64.
38537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
38538         multiarch lround for PPC64.
38540         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
38541         multiarch implementation.
38542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
38543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
38544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
38545         file.
38546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
38547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
38548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
38549         multiarch isnan for PPC64.
38550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
38551         multiarch isnanf for PPC64.
38553         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
38554         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
38555         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
38556         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
38557         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
38558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
38560         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
38561         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38562         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38563         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38565         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
38566         multiarch implementations.
38567         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38568         (__libc_ifunc_impl_list): Likewise.
38569         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
38570         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
38571         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
38572         multiarch stpcpy for PPC64.
38574         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
38575         multiarch implementations.
38576         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38577         (__libc_ifunc_impl_list): Likewise.
38578         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
38579         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
38580         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
38581         multiarch strcpy for PPC64.
38583         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
38584         redefine function name.
38585         (_wordcopy_fwd_dest_aligned): Likewise.
38586         (_wordcopy_bwd_aligned): Likewise.
38587         (_wordcopy_bwd_dest_aligned): Likewise.
38588         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
38589         multiarch implementations.
38590         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38591         (__libc_ifunc_impl_list): Likewise.
38592         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
38593         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
38594         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
38595         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
38596         multiarch wcscpy for PPC64.
38598         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
38599         multiarch implementations.
38600         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38601         (__libc_ifunc_impl_list): Likewise.
38602         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
38603         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
38604         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
38605         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
38606         multiarch wcscpy for PPC64.
38608         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
38609         multiarch implementations.
38610         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38611         (__libc_ifunc_impl_list): Likewise.
38612         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
38613         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
38614         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
38615         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
38616         multiarch wcsrchr for PPC64.
38618         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
38619         multiarch implementations.
38620         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38621         (__libc_ifunc_impl_list): Likewise.
38622         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
38623         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
38624         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
38625         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
38626         multiarch wcschr for PPC64.
38628         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
38629         multiarch implementations.
38630         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38631         (__libc_ifunc_impl_list): Likewise.
38632         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
38633         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
38634         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
38635         multiarch strchrnul for PPC64.
38637         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
38638         implementations.
38639         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38640         (__libc_ifunc_impl_list): Likewise.
38641         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
38642         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
38643         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
38644         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
38645         strchr for PPC64.
38647         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
38648         implementations.
38649         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38650         (__libc_ifunc_impl_list): Likewise.
38651         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
38652         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
38653         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
38654         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
38655         strncmp for PPC64.
38657         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
38658         multiarch implementations.
38659         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38660         (__libc_ifunc_impl_list): Likewise.
38661         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
38662         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
38663         strncasecmp for PPC64.
38664         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
38665         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
38666         multiarch strncasecmp_l for PPC64.
38668         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
38669         multiarch implementations.
38670         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38671         (__libc_ifunc_impl_list): Likewise.
38672         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
38673         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
38674         multiarch strcasecmp for PPC64.
38675         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
38676         file.
38677         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
38678         multiarch strcasecmp_l for PPC64.
38680         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
38681         implementations.
38682         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38683         (__libc_ifunc_impl_list): Likewise.
38684         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
38685         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
38686         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
38687         strnlen for PPC64.
38689         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
38690         implementations.
38691         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38692         (__libc_ifunc_impl_list): Likewise.
38693         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
38694         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
38695         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
38696         strlen for PPC64.
38698         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
38699         implementations.
38700         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38701         (__libc_ifunc_impl_list): Likewise.
38702         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
38703         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
38704         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
38705         rawmemrchr for PPC64.
38707         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
38708         implementation.
38709         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38710         (__libc_ifunc_impl_list): Likewise.
38711         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
38712         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
38713         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
38714         memrchr for PPC64.
38716         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
38717         implementation.
38718         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38719         (__libc_ifunc_impl_list): Likewise.
38720         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
38721         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
38722         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
38723         memchr for PPC64.
38725         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
38726         implementation.
38727         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38728         (__libc_ifunc_impl_list): Likewise.
38729         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
38730         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
38731         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
38732         mempcpy for PPC64.
38734         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
38735         avoid cretion of __bzero symbol.
38736         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
38737         Likewise.
38738         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
38739         Likewise.
38740         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
38741         Likewise.
38742         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
38743         multiarch implementations.
38744         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38745         (__libc_ifunc_impl_list): Likewise.
38746         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
38747         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
38748         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
38749         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
38750         bzero for PPC32.
38751         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
38752         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
38753         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
38754         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
38755         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
38756         memset for PPC64.
38757         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
38759         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
38760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
38761         implementations.
38762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38763         (__libc_ifunc_impl_list): Likewise.
38764         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
38765         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
38766         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
38767         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
38768         memcmp for PPC64.
38770         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
38771         multiarch for POWER/PPC64.
38772         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
38773         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
38774         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
38775         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
38776         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
38777         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
38778         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
38779         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
38780         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
38781         memcpy for PPC64.
38783         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
38784         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
38785         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
38786         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
38787         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
38788         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
38789         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
38790         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
38791         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
38792         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
38793         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
38794         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
38795         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
38796         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
38797         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
38798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
38799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
38800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
38801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
38802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
38803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
38804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
38806 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38808         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
38810 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38812         * benchtests/Makefile (bench): Add exp2 and log2.
38813         (LDLIBS-bench-exp2): Add -lm.
38814         (LDLIBS-bench-log2): Likewise.
38815         * benchtests/exp2-inputs: New inputs file.
38816         * benchtests/log2-inputs: New inputs file.
38817         * benchtests/log-inputs: Add new inputs.
38818         * benchtests/tan-inputs: Likewise.
38820 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38822         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
38823         definition...
38824         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
38825         (csloww2): ... from here.
38827         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
38828         instead of structures.
38829         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
38830         (POLYNOMIAL): Likewise.
38831         (TAYLOR_SLOW): Likewise.
38832         (__sin): Likewise.
38833         (__cos): Likewise.
38834         (slow1): Likewise.
38835         (slow2): Likewise.
38836         (sloww): Likewise.
38837         (sloww1); Likewise.
38838         (sloww2): Likewise.
38839         (bsloww1): Likewise.
38840         (bsloww2): Likewise.
38841         (cslow2): Likewise.
38842         (csloww): Likewise.
38843         (csloww1): Likewise.
38844         (csloww2): Likewise.
38846 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
38848         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
38849         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
38850         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
38851         * malloc/hooks.c (realloc_check): Likewise.
38853         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
38854         * malloc/arena.c: Remove PER_THREAD conditional.
38855         [!PER_THREAD]: Remove code.
38856         (ptmalloc_unlock_all2): Likewise.
38857         (ptmalloc_init): Likewise.
38858         (_int_new_arena): Likewise.
38859         (arena_get2): Likewise.
38860         * malloc/hooks.c (__malloc_get_state): Likewise.
38861         (__malloc_set_state): Likewise.
38862         * malloc/malloc.c: Likewise.
38863         (struct malloc_state): Likewise.
38864         (struct malloc_par): Likewise.
38865         (__libc_realloc): Likewise.
38866         (__libc_mallopt): Likewise.
38868 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38870         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
38872 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
38874         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
38875         macro to a function.  Check for zero perturb_byte.
38876         (_int_malloc, _int_free): Remove zero perturb_byte checks.
38878         * malloc/malloc.c: (force_reg): Remove.
38879         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
38880         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
38881         force_reg by atomic_forced_read.
38882         * malloc/arena.c (ptmalloc_init): Likewise.
38883         * malloc/hooks.c (top_check): Likewise.
38885 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38887         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38889 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
38891         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38893 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
38895         * math/auto-libm-test-in: Add tests of lgamma.
38896         * math/auto-libm-test-out: Regenerated.
38897         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
38898         (M_LOG_2_SQRT_PIl): Likewise.
38899         (lgamma_test_data): Use AUTO_TESTS_f_f1.
38900         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38901         mpfr_f_f1.
38902         (func_calc_desc): Add mpfr_f_f1 union field.
38903         (ARGS1): New macro.
38904         (ARGS2): Likewise.
38905         (ARGS3): Likewise.
38906         (ARGS4): Likewise.
38907         (RET1): Likewise.
38908         (RET2): Likewise.
38909         (CALC): Likewise.
38910         (FUNC): Likewise.
38911         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
38912         (test_functions): Add lgamma.
38913         (calc_generic_results): Handle mpfr_f_f1.
38914         * sysdeps/i386/fpu/libm-test-ulps: Update.
38915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38917 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38919         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
38920         __mpn_add_n for PowerPC64/POWER7.
38921         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
38922         __mpn_sub_n for PowerPC64/POWER7.
38924         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
38925         __mpn_addmul_1 for PowerPC64.
38926         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
38927         __mpn_submul_1 for PowerPC64.
38928         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
38929         for PowerPC64.
38930         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
38931         for PowerPC64.
38933 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
38935         [BZ #15089]
38936         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
38938 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38940         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
38942         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
38943         add multiarch folders.
38944         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
38945         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
38946         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
38947         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
38948         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
38949         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
38950         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
38951         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
38952         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
38953         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
38954         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
38955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
38956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
38957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
38958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
38959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
38960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
38962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
38963         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
38964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
38965         New file.
38966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
38967         New file.
38968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
38969         multiarch __ieee754_hypot for PowerPC32.
38970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
38971         New file.
38972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
38973         New file.
38974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
38975         multiarch __ieee754_hypotf for PowerPC32.
38977         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
38978         long_double_symbol only if __logbl is defined.
38979         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
38980         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
38981         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
38982         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
38983         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
38984         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
38985         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
38986         path for implementation.
38987         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
38988         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
38989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
38990         logb, and logbl multiarch implementations for PowerPC32.
38991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
38992         file.
38993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
38994         file.
38995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
38996         multiarch logb for PowerPC32.
38997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
38998         file.
38999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
39000         file.
39001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
39002         multiarch logbf for PowerPC32.
39003         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
39004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
39005         file.
39006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
39007         multiarch logbl implementation for PowerPC32.
39009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
39010         and modff multiarch implementations.
39011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
39012         New file.
39013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
39014         New file.
39015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
39016         multiarch modf for PowerPC32.
39017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
39018         New file.
39019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
39020         New file.
39021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
39022         multiarch modff for PowerPC32.
39024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
39025         and lrintf multiarch implementations.
39026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
39027         New file.
39028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
39029         New file.
39030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
39031         multiarch lrint for PowerPC32.
39032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
39033         file: multiarch lrintf for PowerPC32.
39035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
39036         and lroundf multiarch implementations.
39037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
39038         New file.
39039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
39040         New file.
39041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
39042         New file.
39043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
39044         multiarch lround for PowerPC32.
39045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
39046         file: multiarch lroundf for PowerPC32.
39048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
39049         copysign and copysignf multiarch implementations.
39050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
39051         New file.
39052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
39053         New file.
39054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
39055         file: multiarch copysign for PowerPC32.
39056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
39057         file: multiarch copysignf for PowerPC32.
39059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
39060         and truncf multiarch implementations.
39061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
39062         New file.
39063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
39064         file.
39065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
39066         multiarch trunc for PowerPC32.
39067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
39068         New file.
39069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
39070         New file.
39071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
39072         multiarch truncf for PowerPC32.
39074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
39075         and roundf multiarch implementations.
39076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
39077         New file.
39078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
39079         file.
39080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
39081         multiarch round for PowerPC32.
39082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
39083         New file.
39084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
39085         New file.
39086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
39087         multiarch roundf for PowerPC32.
39089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
39090         and floorf multiarch implementations.
39091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
39092         New file.
39093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
39094         file.
39095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
39096         multiarch floor for PowerPC32.
39097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
39098         New file.
39099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
39100         New file.
39101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
39102         multiarch floorf for PowerPC32.
39104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
39105         and ceilf multiarch implementations.
39106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
39107         New file.
39108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
39109         file.
39110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
39111         multiarch ceil for PowerPC32.
39112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
39113         New file.
39114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
39115         file.
39116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
39117         multiarch ceilf for PowerPC32.
39119         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
39120         is defined.
39121         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
39122         FINITEF is defined.
39123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
39124         and finitef multiarch implementations.
39125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
39126         New file.
39127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
39128         file.
39129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
39130         multiarch finite for PowerPC32.
39131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
39132         New file.
39133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
39134         file: multiarch finitef for PowerPC32.
39136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
39137         and isinff multiarch implementations.
39138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
39139         file.
39140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
39141         file.
39142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
39143         multiarch isinf for PowerPC32.
39144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
39145         New file.
39146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
39147         multiarch isinff for PowerPC32.
39149         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
39150         alias when __isnan is defined.
39151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
39152         and isnanf multiarch implementations.
39153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
39154         file.
39155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
39156         file.
39157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
39158         file.
39159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
39160         file.
39161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
39162         multiarch isnan for PowerPC32.
39163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
39164         New file.
39165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
39166         New file.
39167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
39168         multiarch isnanf for PowerPC32.
39170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
39171         and sqrtf multiarch implementations.
39172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
39173         file.
39174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
39175         file.
39176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
39177         multiarch sqrt for PowerPC32.
39178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
39179         file.
39180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
39181         file.
39182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
39183         multiarch sqrtf for PowerPC32.
39185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
39186         and llroundf multiarch implementations.
39187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
39188         New file.
39189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
39190         New file.
39191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
39192         New file.
39193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
39194         file: multiarch llround for PowerPC32.
39195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
39196         file: multiarch llroundf for PowerPC32.
39198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
39199         multiarch PowerPC32 fpu implementations.
39200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
39201         New file.
39202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
39203         New file.
39204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
39205         multiarch llrint for PowerPC32.
39206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
39207         New file.
39208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
39209         New file.
39210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
39211         file.
39213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
39215         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
39216         file.
39217         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
39218         file.
39219         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
39220         file.
39221         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
39222         multiarch wordcopy for PPC32.
39223         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39224         wordcopy objects.
39225         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39226         (__libc_ifunc_impl_list): Likewise.
39227         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
39228         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
39229         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
39230         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
39231         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
39232         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
39234         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
39235         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
39236         file.
39237         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
39238         file.
39239         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
39240         file.
39241         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
39242         multiarch wcscpy for PPC32.
39243         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39244         multiarch objects.
39245         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39246         (__libc_ifunc_impl_list): Likewise.
39247         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39248         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39249         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
39250         sysdeps/powerpc/power6/wcscpy.c.
39252         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
39253         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
39254         file.
39255         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
39256         file.
39257         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
39258         file.
39259         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
39260         multiarch wcsrchr for PPC32.
39261         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39262         multiarch objects.
39263         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39264         (__libc_ifunc_impl_list): Likewise.
39265         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39266         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39267         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
39268         sysdeps/powerpc/power6/wcsrchr.c.
39270         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
39271         file.
39272         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
39273         file.
39274         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
39275         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
39276         multiarch wcschr for PPc32.
39277         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39278         multiarch objects.
39279         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39280         (__libc_ifunc_impl_list): Likewise.
39281         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
39282         * sysdeps/powerpc/power6/wcschr.c: ... to here.
39283         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
39284         sysdeps/powerpc/power6/wcschr.c.
39286         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
39287         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
39288         file.
39289         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
39290         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
39291         file: multiarch strchr for PPC32.
39292         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
39293         multiarch objects.
39294         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39295         (__libc_ifunc_impl_list): Likewise.
39297         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
39298         name.
39299         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
39300         file.
39301         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
39302         file.
39303         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
39304         multiarch strchrnul for PPC32.
39305         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
39306         multiarch objects.
39307         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39308         (__libc_ifunc_impl_list): Likewise.
39310         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
39311         file.
39312         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
39313         multiarch strncasecmp for PPC32.
39314         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
39315         file.
39316         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
39317         multiarch strncasecmp_l for PPC32.
39318         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
39319         strncasecmp multiarch objects.
39320         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39321         (__libc_ifunc_impl_list): Likewise.
39323         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
39324         file.
39325         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
39326         multiarch strncasecmp for PPC32.
39327         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
39328         New file.
39329         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
39330         multiarch strcasecmp_l for PPC32.
39331         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
39332         multiarch objects.
39333         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39334         (__libc_ifunc_impl_list): Likewise.
39336         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
39337         file.
39338         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
39339         file.
39340         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
39341         multiarch strncmp for PPC32.
39342         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
39343         multiarch objects.
39344         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39345         (__libc_ifunc_impl_list): Likewise.
39347         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
39348         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
39349         file.
39350         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
39351         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
39352         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
39353         multiarch objects.
39354         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39355         (__libc_ifunc_impl_list): Likewise.
39357         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
39358         file.
39359         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
39360         file.
39361         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
39362         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
39363         multiarch objects.
39364         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39365         (__libc_ifunc_impl_list): Likewise.
39367         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
39368         file.
39369         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
39370         file.
39371         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
39372         multiarch rawmemchr for PPC32.
39373         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
39374         multiarch objects.
39375         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39376         (__libc_ifunc_impl_list): Likewise.
39378         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
39379         file.
39380         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
39381         file.
39382         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
39383         file: memrchr multiarch for PPC32.
39384         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
39385         multiarch objects.
39386         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39387         (__libc_ifunc_impl_list): Likewise.
39389         * string/memchr.c (__memchr): Using macro to redefine symbol name.
39390         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
39391         file.
39392         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
39393         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
39394         multiarch memchr for PPC32.
39395         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
39396         multiarch objects.
39397         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39398         (__libc_ifunc_impl_list): Likewise.
39400         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
39401         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
39402         file.
39403         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
39404         file.
39405         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
39406         file: multiarch mempcpy for PPC32.
39407         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
39408         multiarch objects.
39409         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39410         (__libc_ifunc_impl_list): Likewise.
39412         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
39413         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
39414         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
39415         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
39416         multiarch bzero for PPC32.
39417         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
39418         file.
39419         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
39420         file.
39421         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
39422         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
39423         file: multiarch memset for PPC32.
39424         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
39425         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
39426         memset multiarch objects.
39427         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39428         (__libc_ifunc_impl_list): Likewise.
39430         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
39431         file.
39432         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
39433         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
39434         memcmp for PPC32.
39435         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
39436         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
39437         multiarch objects.
39438         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39439         (__libc_ifunc_impl_list): Likewise.
39441         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
39442         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
39443         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
39444         file.
39445         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
39446         file.
39447         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
39448         file.
39449         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
39450         multiarch memcpy for PPC32.
39451         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
39452         multiarch objects.
39453         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39454         (__libc_ifunc_impl_list): Likewise.
39456         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
39457         support multiarch for POWER/PPC32.
39458         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
39459         Likewise.
39460         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
39461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
39462         Implies file to make multiarch folder appers before the fpu and
39463         default folder for power4 configuration.
39465 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39467         * scripts/bench.pl: Append volatile keyword to type.
39469 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39471         * sysdeps/sh/sotruss-lib.c: New file.
39472         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
39474 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39478 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
39480         [BZ #6810]
39481         * math/w_tgamma.c: Include <errno.h>.
39482         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
39483         * math/w_tgammaf.c: Include <errno.h>.
39484         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
39485         * math/w_tgammal.c: Include <errno.h>.
39486         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
39487         * math/auto-libm-test-in: Do not allow missing errno on tgamma
39488         underflow.  Add more tgamma tests.
39489         * math/auto-libm-test-out: Regenerated.
39490         * sysdeps/i386/fpu/libm-test-ulps: Update.
39491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39493         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
39494         sin, sinh, tan, tanh, tgamma, y0 and y1.
39495         * math/auto-libm-test-out: Regenerated.
39496         * math/libm-test.inc (TEST_COND_x86_64): New macro.
39497         (TEST_COND_x86): Likewise.
39498         (M_E2l): Remove macro.
39499         (M_E3l): Likewise.
39500         (M_2_SQRT_PIl): Likewise.
39501         (M_SQRT_PIl): Likewise.
39502         (M_1_DIV_El): Likewise.
39503         (log_test_data): Use AUTO_TESTS_f_f.
39504         (log10_test_data): Likewise.
39505         (log1p_test_data): Likewise.
39506         (log2_test_data): Likewise.
39507         (sin_test_data): Likewise.
39508         (sin_tonearest_test_data): Likewise.
39509         (sin_towardzero_test_data): Likewise.
39510         (sin_downward_test_data): Likewise.
39511         (sin_upward_test_data): Likewise.
39512         (sinh_test_data): Likewise.
39513         (sinh_tonearest_test_data): Likewise.
39514         (sinh_towardzero_test_data): Likewise.
39515         (sinh_downward_test_data): Likewise.
39516         (sinh_upward_test_data): Likewise.
39517         (tan_test_data): Likewise.
39518         (tan_tonearest_test_data): Likewise.
39519         (tan_towardzero_test_data): Likewise.
39520         (tan_downward_test_data): Likewise.
39521         (tan_upward_test_data): Likewise.
39522         (tanh_test_data): Likewise.
39523         (tgamma_test_data): Likewise.
39524         (y0_test_data): Likewise.
39525         (y1_test_data): Likewise.
39526         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
39527         (special_real_inputs): Add pi/4.
39528         * sysdeps/i386/fpu/libm-test-ulps: Update.
39529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39531 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39533         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
39534         "longjmp_target" static probes.
39535         (__longjmp): Rename to __longjmp_symbol.
39536         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39537         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
39538         on which longjmp to generate.
39539         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39540         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
39541         probe.
39542         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39543         (__sigjmp_save): Rename to __sigjmp_save_symbol.
39544         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39545         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
39546         and __sigjmp_save_symbol based on which sigsetjmp to generated.
39547         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
39549         __longjmp_symbol based on which __longjmp to generate.
39550         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
39551         probe.
39552         (setjmp): Rename to setjmp_symbol.
39553         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39554         (_setjmp): Rename to _setjmp_symbol.
39555         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39556         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
39557         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
39558         which setjmp to generate.
39559         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
39560         "longjmp_target" static probes.
39562 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39564         * benchtests/README: Add note about output arguments.
39565         * benchtests/bench-sincos.c: Remove file.
39566         * benchtests/sincos-inputs: New file.
39567         * scripts/bench.pl: Identify output arguments and define
39568         static variables for them.
39570         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
39572         [BZ #15941]
39573         * Makefile (INSTALL): Add install-plain.texi as the primary
39574         dependency.
39575         * manual/install-plain.texi: New file.
39576         * manual/install.texi: Include node directive only for
39577         non-plaintext output.
39579 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
39581         * stdlib/longlong.h: Update from GCC.
39583         [BZ #6807]
39584         [BZ #15901]
39585         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
39586         * math/w_j0f.c (y0f): Likewise.
39587         * math/w_j0l.c (__y0l): Likewise.
39588         * math/w_j1.c (y1): Likewise.
39589         * math/w_j1f.c (y1f): Likewise.
39590         * math/w_j1l.c (__y1l): Likewise.
39591         * math/w_jn.c (yn): Likewise.
39592         * math/w_jnf.c (ynf): Likewise.
39593         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
39594         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
39595         value for Bessel function domain errors outside _SVID_ mode.
39596         Adjust sign of return value for yn (negative integer, 0).
39597         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
39598         by zero in return for negative x and set sign appropriately for
39599         negative n.
39600         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
39601         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39602         * math/libm-test.inc (y0_test_data): Add more tests and adjust
39603         expectations in error cases.
39604         (y1_test_data): Likewise.
39605         (yn_test_data): Likewise.
39606         * sysdeps/i386/fpu/libm-test-ulps: Update.
39607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39609 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39611         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
39612         "64" to "64-v1".  Add "64-v2".
39613         (abi-64-options): Rename to ...
39614         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
39615         (abi-64-condition): Rename to ...
39616         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
39617         (abi-64-ld-soname): Rename to ...
39618         (abi-64-v1-ld-soname): ... this.
39619         (abi-64-v2-options): Define.
39620         (abi-64-v2-condition): Likewise.
39621         (abi-64-v2-ld-soname): Likewise.
39622         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
39623         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
39624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
39625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
39626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
39628 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39629             Alan Modra  <amodra@gmail.com>
39631         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
39632         New versions for use with the ELFv2 ABI.
39633         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
39634         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
39635         declaration.
39636         (struct La_ppc64v2_retval): Likewise.
39637         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
39638         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
39639         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
39640         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
39641         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
39642         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39643         Do not save or restore CR.
39644         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
39645         (_dl_profile_resolve): Do no save or restore CR.  Support extended
39646         return values for ELFv2 ABI.  Fix location of FPR return registers.
39647         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
39648         updated values for _CALL_ELF == 2.
39649         (La_regs, La_retval, int_retval): Likewise.
39651 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39653         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
39654         (FRAME_MIN_SIZE_PARM): Likewise.
39655         (FRAME_BACKCHAIN): Likewise.
39656         (FRAME_CR_SAVE): Likewise.
39657         (FRAME_LR_SAVE): Likewise.
39658         (FRAME_TOC_SAVE): Likewise.
39659         (FRAME_PARM_SAVE): Likewise.
39660         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
39661         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
39662         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
39663         (call_mcount_parm_offset): New macro.
39664         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
39665         (PROF): Use symbolic stack frame offsets.
39666         (TAIL_CALL_SYSCALL_ERROR): Likewise.
39667         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
39668         Redefine in terms of FRAME_MIN_SIZE.
39669         (_dl_runtime_resolve): Use symbolic stack frame offsets.
39670         (_dl_profile_resolve): Likewise.  Update comment.
39671         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
39672         symbols stack frame offsets.
39673         (__sigsetjmp): Likewise.
39674         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
39675         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
39676         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
39677         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
39679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
39680         (FRAME_BACKCHAIN): Remove.
39681         (FRAME_CR_SAVE): Likewise.
39682         (FRAME_LR_SAVE): Likewise.
39683         (FRAME_COMPILER_DW): Likewise.
39684         (FRAME_LINKER_DW): Likewise.
39685         (FRAME_TOC_SAVE): Likewise.
39686         (FRAME_PARM_SAVE): Likewise.
39687         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
39688         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
39689         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
39690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
39691         (CHECK_SP): Use symbolic stack frame offsets.
39692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
39693         zone" instead of caller's parameter save area for temp storage.
39694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39695         Likewise.  Also, use symbolic stack frame offsets.
39696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
39697         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
39698         our own stack frame instead of the caller's.
39699         (__socket): Use symbolic stack frame offsets.
39701 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39702             Alan Modra  <amodra@gmail.com>
39704         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
39705         Define.
39706         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
39707         (PPC64_LOCAL_ENTRY_OFFSET): Define.
39708         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
39709         New function.
39710         (elf_machine_fixup_plt): Call it.
39711         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
39712         reloc arguments.
39713         (elf_machine_rela): Update call to elf_machine_plt_conflict.
39714         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
39715         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
39716         r2 before calling target.
39718 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39719             Alan Modra  <amodra@gmail.com>
39721         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
39722         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
39723         versions of macros to support ELFv2 ABI.
39724         (LOCALENTRY): New macro.
39725         (ENTRY, EALIGN): Use it.
39726         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
39727         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
39728         fall through into ENTRY entry point.
39729         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
39730         Only define if _CALL_ELF != 2.
39732         (elf_machine_matches_host): Verify ABI version matches.
39733         (RTLD_START): Use LOCALENTRY.
39734         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
39735         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
39736         (PLT_ENTRY_WORDS): New macro.
39737         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
39738         (elf_machine_runtime_setup): Support ELFv2 ABI.
39739         (elf_machine_fixup_plt): Likewise.
39740         (elf_machine_plt_conflict): Likewise.
39741         (resolve_ifunc): Likewise.
39742         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39743         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
39744         Likewise.
39745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
39746         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
39747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39748         (makecontext): Support ELFv2 ABI.
39749         * elf/elf.h (EF_PPC64_ABI): Define.
39751 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39753         * sysdeps/powerpc/powerpc64/sysdep.h
39754         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
39755         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
39756         (ENTRY) [ASSEMBLER]: ... but instead here ...
39757         (EALIGN) [ASSEMBLER]: ... and here.
39758         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
39759         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
39760         (ENTRY_2) [!ASSEMBLER]: Use it.
39761         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
39762         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
39763         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
39764         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
39765         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
39766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
39767         Use PPC64_LOAD_FUNCPTR.
39769         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
39771 2013-12-04  Alan Modra  <amodra@gmail.com>
39773         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
39774         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
39775         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
39776         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
39778         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
39779         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
39780         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
39781         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
39782         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
39783         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
39785 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39788         (__makecontext): Fix incorrect CFI when backtracing out of
39789         context created via makecontext.
39790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
39791         (__setcontext): Fix incorrect CFI during switch to new context.
39792         (__novec_setcontext): Likewise.
39794 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
39796         [BZ #4772]
39797         * time/strptime_l.c (__strptime_internal): Allow modifiers
39798         in strptime.
39799         * time/tst-strptime.c (day_tests): Add testcase.
39801 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39803         * scripts/bench.pl: Skip over blank lines.
39805 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
39807         [BZ #926]
39808         * manual/time.texi (Calendar Time): Clarify what timezone functions
39809         use.
39811 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39815 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
39817         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
39818         implementation.
39819         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
39820         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
39821         * debug/memset_chk.c (__memset_chk): Likewise.
39822         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
39823         * debug/strncpy_chk.c: Likewise.
39825 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
39827         [BZ #15268]
39828         [BZ #15425]
39829         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
39830         (__ieee754_exp): For possibly underflowing results, check size of
39831         result and force underflow exception if required.
39832         * math/auto-libm-test-in: Add more tests of exp.
39833         * math/auto-libm-test-out: Regenerated.
39834         * sysdeps/i386/fpu/libm-test-ulps: Update.
39835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39837         [BZ #16283]
39838         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
39839         * math/w_exp2f.c (__exp2f): Likewise.
39840         * math/w_exp2l.c (__exp2l): Likewise.
39841         * math/auto-libm-test-in: Do not allow missing errno on exp2
39842         underflow.
39843         * math/auto-libm-test-out: Regenerated.
39845 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
39847         [BZ #16274]
39848         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
39849         handle filename validation.
39850         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
39851         (do_open): Delete.
39853 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
39855         [BZ #6786]
39856         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
39857         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
39858         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
39859         <float.h>.
39860         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
39861         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
39862         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39863         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
39864         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39865         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
39866         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39867         * math/auto-libm-test-in: Don't allow missing errno from erfc.
39868         Add more erfc tests.
39869         * math/auto-libm-test-out: Regenerated.
39870         * sysdeps/i386/fpu/libm-test-ulps: Update.
39871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39873         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
39874         exp2, expm1, j0 and j1.
39875         * math/auto-libm-test-out: Regenerated.
39876         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
39877         (erfc_test_data): Likewise.
39878         (exp_test_data): Likewise.
39879         (exp_tonearest_test_data): Likewise.
39880         (exp_towardzero_test_data): Likewise.
39881         (exp_downward_test_data): Likewise.
39882         (exp_upward_test_data): Likewise.
39883         (exp10_test_data): Likewise.
39884         (exp2_test_data): Likewise.
39885         (expm1_test_data): Likewise.
39886         (j0_test_data): Likewise.
39887         (j1_test_data): Likewise.
39888         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
39889         (input_flag_type): Add flag_xfail_rounding.
39890         (input_flags): Add xfail-rounding.
39891         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
39892         (output_for_one_input_case): Handle flag_xfail_rounding.
39893         * sysdeps/i386/fpu/libm-test-ulps: Update.
39894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39896 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
39898         [BZ #16289]
39899         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
39900         division by 0.
39902 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39904         [BZ #16195]
39905         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
39906         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
39907         (STAP_PROBE0): New macro.
39908         (STAP_PROBE1): Likewise.
39909         (STAP_PROBE2): Likewise.
39910         (STAP_PROBE3): Likewise.
39911         (STAP_PROBE4): Likewise.
39913 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
39915         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
39917 2013-12-02  Steve Ellcey  <sellcey@mips.com>
39919         * benchtests/Makefile (bench): Add sqrt.
39920         (LDLIBS-bench-sqrt): New.
39921         * benchtests/sqrt-input: New.
39923 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
39925         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
39926         (GAIH_EAI): Likewise.
39927         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
39928         (gaih_inet): Likewise.
39929         (getaddrinfo): Don't use GAIH_EAI.
39931         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
39932         (struct gaih): Remove definition.
39934 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39936         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
39937         Use HERRNOP directly.
39939 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39941         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39943 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
39945         * math/gen-auto-libm-tests.c (test_functions): Add more
39946         single-argument functions.
39947         (special_fill_pi_2): New function.
39948         (special_fill_minus_pi_2): Likewise.
39949         (special_fill_pi_6): Likewise.
39950         (special_fill_minus_pi_6): Likewise.
39951         (special_fill_pi_3): Likewise.
39952         (special_fill_2pi_3): Likewise.
39953         (special_fill_e): Likewise.
39954         (special_fill_1_e): Likewise.
39955         (special_fill_e_minus_1): Likewise.
39956         (special_real_inputs): Add more special inputs.
39957         (output_for_one_input_case): Do not require ERANGE on underflow to
39958         zero if round-to-nearest result does not underflow to zero, unless
39959         exact results required.
39960         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
39961         atan, atanh, cbrt, cos and cosh.
39962         * math/auto-libm-test-out: Regenerated.
39963         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
39964         (acos_tonearest_test_data): Likewise.
39965         (acos_towardzero_test_data): Likewise.
39966         (acos_downward_test_data): Likewise.
39967         (acos_upward_test_data): Likewise.
39968         (acosh_test_data): Likewise.
39969         (asin_test_data): Likewise.
39970         (asin_tonearest_test_data): Likewise.
39971         (asin_towardzero_test_data): Likewise.
39972         (asin_upward_test_data): Likewise.
39973         (asinh_test_data): Likewise.
39974         (atan_test_data): Likewise.
39975         (atanh_test_data): Likewise.
39976         (cbrt_test_data): Likewise.
39977         (cos_test_data): Likewise.
39978         (cos_tonearest_test_data): Likewise.
39979         (cos_towardzero_test_data): Likewise.
39980         (cos_downward_test_data): Likewise.
39981         (cos_upward_test_data): Likewise.
39982         (cosh_test_data): Likewise.
39983         (cosh_tonearest_test_data): Likewise.
39984         (cosh_towardzero_test_data): Likewise.
39985         (cosh_downward_test_data): Likewise.
39986         (cosh_upward_test_data): Likewise.
39987         * sysdeps/i386/fpu/libm-test-ulps: Update.
39988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39990 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
39992         [BZ #6787]
39993         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
39994         * math/w_exp10f.c (__exp10f): Likewise.
39995         * math/w_exp10l.c (__exp10l): Likewise.
39996         * math/libm-test.inc (exp10_test_data): Add more tests and expect
39997         errno settings in existing tests.
39999         [BZ #14032]
40000         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
40001         precision control set to double precision.
40002         * sysdeps/i386/fpu/w_sqrt.c: New file.
40003         * math/auto-libm-test-in: Add more tests.
40004         * math/auto-libm-test-out: Update.
40006         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
40007         (sqrt_test_tonearest): New function.
40008         (sqrt_towardzero_test_data): New variable.
40009         (sqrt_test_towardzero): New function.
40010         (sqrt_downward_test_data): New variable.
40011         (sqrt_test_downward): New function.
40012         (sqrt_upward_test_data): New variable.
40013         (sqrt_test_upward): New function.
40014         (main): Call the new functions.
40016         * math/gen-auto-libm-tests.c: New file.
40017         * math/auto-libm-test-in: Likewise.
40018         * math/auto-libm-test-out: New generated file.
40019         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
40020         variables.
40021         (%beautify): Add generated representations of zero.
40022         (top level): Set $auto_input and call parse_auto_input.
40023         (beautify): Remove trailing "f" from hex float constants.
40024         (parse_args): Handle XFAIL_TEST.
40025         (convert_condition): New function.
40026         (or_value): Likewise.
40027         (or_cond_value): Likewise.
40028         (generate_testfile): Handle AUTO_TESTS_* lines.
40029         (parse_auto_input): New function.
40030         * math/libm-test.inc (XFAIL_TEST): New macro.
40031         (ERRNO_UNCHANGED): Update value.
40032         (ERRNO_EDOM): Likewise.
40033         (ERRNO_ERANGE): Likewise.
40034         (IGNORE_RESULT): Likewise.
40035         (TEST_COND_flt_32): New macro.
40036         (TEST_COND_dbl_64): Likewise.
40037         (TEST_COND_ldbl_96_intel): Likewise.
40038         (TEST_COND_ldbl_96_m68k): Likewise.
40039         (TEST_COND_ldbl_128): Likewise.
40040         (TEST_COND_ldbl_128ibm): Likewise.
40041         (TEST_COND_long32): Likewise.
40042         (TEST_COND_long64): Likewise.
40043         (TEST_COND_before_rounding): Likewise.
40044         (TEST_COND_after_rounding): Likewise.
40045         (enable_test): Handle XFAIL_TEST flag.
40046         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
40047         with finite results.
40048         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
40049         auto-libm-test-out.
40051 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40052             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40054         [BZ #16214]
40055         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
40056         __tls_get_addr_internal instead of __tls_get_offset in order to
40057         avoid GOT pointer dependency.  Make rtld export
40058         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
40059         __tls_get_addr since we are a __tls_get_offset platform.
40060         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
40061         GOT pointer being set up before.
40062         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
40064 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
40066         * manual/math.texi (Errors in Math Functions): Document accuracy
40067         goals.
40069         [BZ #15004]
40070         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
40071         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
40072         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40073         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40074         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40075         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40076         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40077         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40078         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40079         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40080         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40081         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40082         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40083         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40084         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40085         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40087         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
40088         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
40089         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
40090         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
40091         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
40092         Likewise.
40093         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
40094         Likewise.
40095         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
40096         Likewise.
40097         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
40098         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
40099         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
40100         atomic-feupdateenv and flt-rounds.
40101         * sysdeps/powerpc/nofpu/Versions (libc): Add
40102         __atomic_feholdexcept, __atomic_feclearexcept,
40103         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
40104         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
40105         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
40106         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
40107         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
40108         here.
40109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40110         Update.
40112         * manual/arith.texi (FP Exceptions): Document that exceptions may
40113         not be raised when matherr is used.
40114         (Math Error Reporting): Document overflow in directed rounding
40115         modes.  Document that errno may not be set when finite values are
40116         returned on overflow.  Document intent to set errno on underflow
40117         only for underflow to zero.
40119         [BZ #16271]
40120         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
40121         round-to-nearest then adjust result for other rounding modes.
40122         * include/fenv.h (fegetround): Use libm_hidden_proto.
40123         * math/fegetround.c (fegetround): Use libm_hidden_def.
40124         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
40125         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
40126         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
40127         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
40128         Likewise.
40129         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
40130         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40131         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
40132         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
40134 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40136         [BZ #16077]
40137         * nss/Versions (libnss_files): Add
40138         _nss_files_gethostbyname3_r.
40139         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
40140         New function.
40141         (HOST_DB_LOOKUP): Remove macro.
40142         (_nss_files_gethostbyname_r): Implement function without the
40143         HOST_DB_LOOKUP macro.
40144         (_nss_files_gethostbyname2_r): Likewise.
40146 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
40148         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
40150 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
40152         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
40153         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
40154         warning.
40156 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40158         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
40159         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
40160         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40161         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40162         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
40163         __fe_nomask_env_priv and attribute_hidden.
40164         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
40165         (libc_feupdateenv_test_ppc): Likewise.
40166         (libc_feresetround_ppc): Likewise.
40167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40168         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
40169         compat_symbol macro.
40170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40171         (__fe_nomask_env): Likewise.
40172         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
40174 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40176         * string/Makefile: Remove ifunc tests.
40177         * string/test-string.h: Define TEST_IFUNC.
40178         * string/test-bcopy-ifunc.c: Remove.
40179         * string/test-bzero-ifunc.c: Likewise.
40180         * string/test-memccpy-ifunc.c: Likewise.
40181         * string/test-memchr-ifunc.c: Likewise.
40182         * string/test-memcmp-ifunc.c: Likewise.
40183         * string/test-memcpy-ifunc.c: Likewise.
40184         * string/test-memmem-ifunc.c: Likewise.
40185         * string/test-memmove-ifunc.c: Likewise.
40186         * string/test-mempcpy-ifunc.c: Likewise.
40187         * string/test-memrchr-ifunc.c: Likewise.
40188         * string/test-memset-ifunc.c: Likewise.
40189         * string/test-rawmemchr-ifunc.c: Likewise.
40190         * string/test-stpcpy-ifunc.c: Likewise.
40191         * string/test-stpncpy-ifunc.c: Likewise.
40192         * string/test-strcasecmp-ifunc.c: Likewise.
40193         * string/test-strcasestr-ifunc.c: Likewise.
40194         * string/test-strcat-ifunc.c: Likewise.
40195         * string/test-strchr-ifunc.c: Likewise.
40196         * string/test-strchrnul-ifunc.c: Likewise.
40197         * string/test-strcmp-ifunc.c: Likewise.
40198         * string/test-strcpy-ifunc.c: Likewise.
40199         * string/test-strcspn-ifunc.c: Likewise.
40200         * string/test-strlen-ifunc.c: Likewise.
40201         * string/test-strncasecmp-ifunc.c: Likewise.
40202         * string/test-strncat-ifunc.c: Likewise.
40203         * string/test-strncmp-ifunc.c: Likewise.
40204         * string/test-strncpy-ifunc.c: Likewise.
40205         * string/test-strnlen-ifunc.c: Likewise.
40206         * string/test-strpbrk-ifunc.c: Likewise.
40207         * string/test-strrchr-ifunc.c: Likewise.
40208         * string/test-strspn-ifunc.c: Likewise.
40209         * string/test-strstr-ifunc.c: Likewise.
40211 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40213         * benchtests/Makefile: Remove ifunc tests.
40214         * benchtests/bench-string.h: Define TEST_IFUNC.
40215         * benchtests/bench-bcopy-ifunc.c: Remove.
40216         * benchtests/bench-bzero-ifunc.c: Likewise.
40217         * benchtests/bench-memccpy-ifunc.c: Likewise.
40218         * benchtests/bench-memchr-ifunc.c: Likewise.
40219         * benchtests/bench-memcmp-ifunc.c: Likewise.
40220         * benchtests/bench-memcpy-ifunc.c: Likewise.
40221         * benchtests/bench-memmem-ifunc.c: Likewise.
40222         * benchtests/bench-memmove-ifunc.c: Likewise.
40223         * benchtests/bench-mempcpy-ifunc.c: Likewise.
40224         * benchtests/bench-memrchr-ifunc.c: Likewise.
40225         * benchtests/bench-memset-ifunc.c: Likewise.
40226         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
40227         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
40228         * benchtests/bench-stpcpy-ifunc.c: Likewise.
40229         * benchtests/bench-stpncpy-ifunc.c: Likewise.
40230         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
40231         * benchtests/bench-strcasestr-ifunc.c: Likewise.
40232         * benchtests/bench-strcat-ifunc.c: Likewise.
40233         * benchtests/bench-strchr-ifunc.c: Likewise.
40234         * benchtests/bench-strchrnul-ifunc.c: Likewise.
40235         * benchtests/bench-strcmp-ifunc.c: Likewise.
40236         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
40237         * benchtests/bench-strcpy-ifunc.c: Likewise.
40238         * benchtests/bench-strcspn-ifunc.c: Likewise.
40239         * benchtests/bench-strlen-ifunc.c: Likewise.
40240         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
40241         * benchtests/bench-strncat-ifunc.c: Likewise.
40242         * benchtests/bench-strncmp-ifunc.c: Likewise.
40243         * benchtests/bench-strncpy-ifunc.c: Likewise.
40244         * benchtests/bench-strnlen-ifunc.c: Likewise.
40245         * benchtests/bench-strpbrk-ifunc.c: Likewise.
40246         * benchtests/bench-strrchr-ifunc.c: Likewise.
40247         * benchtests/bench-strsep-ifunc.c: Likewise.
40248         * benchtests/bench-strspn-ifunc.c: Likewise.
40249         * benchtests/bench-strstr-ifunc.c: Likewise.
40251 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40253         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
40255 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40257         * resolv/netdb.h: Use __glibc_reserved instead __unused.
40258         * rt/aio.h: Likewise.
40259         * sysdeps/gnu/bits/utmp.h: Likewise.
40260         * sysdeps/gnu/bits/utmpx.h: Likewise.
40261         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40262         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
40263         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
40264         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
40265         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
40266         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
40267         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
40268         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
40269         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
40270         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
40271         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
40272         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
40273         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
40274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
40275         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
40276         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
40277         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
40278         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
40279         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
40280         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
40281         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
40282         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
40283         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
40284         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40285         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
40286         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40287         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
40288         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
40289         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
40290         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
40291         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
40292         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
40293         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
40294         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
40295         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
40296         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
40297         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
40298         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
40299         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
40300         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
40301         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
40302         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
40304 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
40306         [BZ #16245]
40307         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
40308         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
40310 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
40312         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
40313         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
40314         Likewise.
40316 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40318         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
40319         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
40320         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
40321         (__fesetround): Remove define.
40322         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
40323         rounding and exceptions handling.
40324         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
40325         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
40326         (__fe_nomask_env): Likewise.
40327         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
40328         __fegetround instead of fegetround.
40329         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
40330         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
40332 2013-11-21  Roland McGrath  <roland@hack.frob.com>
40334         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
40335         it's there.
40337         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
40339 2013-11-21  Meador Inge  <meadori@codesourcery.com>
40341         [BZ #11157]
40342         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
40343         (encrypt_r): Likewise.
40344         * malloc/obstack.h (obstack_free): Likewise.
40345         * posix/unistd.h (encrypt): Likewise.
40347 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
40349         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
40350         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
40351         DL_CALL_DT_FINI() that call the functions directly.
40352         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
40353         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
40354         * elf/dl-fini.c: Likewise.
40356 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
40358         * malloc/hooks.c (memalign_check): Add alignment rounding.
40359         * malloc/malloc.c (_mid_memalign): New function.
40360         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
40361         Implement by calling _mid_memalign.
40362         * manual/probes.texi (Memory Allocation Probes): Remove
40363         memory_valloc_retry and memory_pvalloc_retry.
40365 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40367         * locale/programs/locarchive.c (open_archive): Add const
40368         qualifier to ARCHIVEFNAME and copy default fname to
40369         DEFAULT_FNAME.
40371         [BZ #15601]
40372         * libio/tst-widetext.input: Rename Oriya to Odia.
40373         * locale/iso-639.def: Likewise.
40375         * manual/probes.texi (Mathematical Function Probes): Add
40376         documentation for sin, cos, asin and acos probes.
40377         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
40378         (__sin32): Add slowasin probe.
40379         (__cos32): Add slowacos probe.
40380         (__mpsin): Add slowsin probe.
40381         (__mpcos): Add slowcos probe.
40383 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
40385         [BZ #15483]
40386         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
40387         thread-local __sim_exceptions_thread and global
40388         __sim_exceptions_global.
40389         (__sim_disabled_exceptions): Change to thread-local
40390         __sim_disabled_exceptions_thread and global
40391         __sim_disabled_exceptions_global.
40392         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
40393         and global __sim_round_mode_global.
40394         (__simulate_exceptions): Use thread-local floating-point state and
40395         set global state from it as needed.
40396         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
40397         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
40398         __sim_round_mode_thread.
40399         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
40400         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
40401         and global __sim_exceptions_global.
40402         (__sim_disabled_exceptions): Change to thread-local
40403         __sim_disabled_exceptions_thread and global
40404         __sim_disabled_exceptions_global.
40405         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
40406         and global __sim_round_mode_global.
40407         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
40408         (SIM_SET_GLOBAL): Likewise.
40409         * sysdeps/powerpc/soft-fp/sfp-machine.h
40410         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
40411         __sim_round_mode_thread.
40412         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
40413         __sim_disabled_exceptions_thread.
40414         (__sim_exceptions): Change to __sim_exceptions_thread.
40415         (__sim_disabled_exceptions): Change to
40416         __sim_disabled_exceptions_thread.
40417         (__sim_round_mode): Change to __sim_round_mode_thread.
40418         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
40419         thread-local floating-point state and set global state from it as
40420         needed.
40421         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
40422         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
40423         (__sim_disabled_exceptions): Remove extern declaration.
40424         (feenableexcept): Use thread-local floating-point state and set
40425         global state from it as needed.
40426         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
40427         extern declaration.
40428         (__sim_disabled_exceptions): Likewise.
40429         (__sim_round_mode): Likewise.
40430         (__fegetenv): Use thread-local floating-point state.
40431         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
40432         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
40433         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
40434         floating-point state and set global state from it as needed.
40435         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
40436         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40437         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
40438         Likewise.
40439         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
40440         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
40441         Likewise.
40442         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
40443         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
40444         Use __sim_round_mode_thread.
40445         * math/test-fenv-tls.c: New file.
40446         * math/Makefile (tests): Add test-fenv-tls.
40447         ($(objpfx)test-fenv-tls): Depend on
40448         $(common-objpfx)nptl/libpthread.so.
40450 2013-11-19  Andreas Schwab  <schwab@suse.de>
40452         * locale/programs/locale.c (show_info): Decode wordarray elements.
40453         * locale/categories.def (LC_MONETARY): Add element for
40454         _NL_MONETARY_CRNCYSTR.
40455         * locale/C-monetary.c (conversion_rate): New variable.
40456         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
40457         element.
40459 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
40461         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
40462         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
40464 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
40466         * elf/Makefile (tst-auxv): New test.
40467         * elf/tst-auxv.c: New
40468         * elf/rtld.c (dl_main): Adjust AT_EXECFN
40470 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
40472         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
40473         (hidden_proto): Caller changed.
40474         (hidden_tls_proto): New macro.
40475         (libc_hidden_tls_proto): Likewise.
40476         (rtld_hidden_tls_proto): Likewise.
40477         (libm_hidden_tls_proto): Likewise.
40478         (libresolv_hidden_tls_proto): Likewise.
40479         (librt_hidden_tls_proto): Likewise.
40480         (libdl_hidden_tls_proto): Likewise.
40481         (libnss_files_hidden_tls_proto): Likewise.
40482         (libnsl_hidden_tls_proto): Likewise.
40483         (libnss_nisplus_hidden_tls_proto): Likewise.
40484         (libutil_hidden_tls_proto): Likewise.
40486 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
40488         [BZ #10253]
40489         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
40490         (decompose_rpath): Defer expansion to fillin_rpath.
40491         (_dl_init_paths): Pass linkmap to fillin_rpath.
40493 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40495         * benchtests/Makefile: Add strsep.
40496         * benchtests/bench-strsep.c: New file: strsep benchtest.
40497         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
40499 2013-11-18  Andreas Schwab  <schwab@suse.de>
40501         * locale/programs/locale.c (show_info) [case byte]: Check for
40502         '\377' instead of '\177'.
40503         * locale/C-monetary.c (not_available): Always use "\377".
40504         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
40505         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
40506         detect unavailable sign_posn locale elements.
40507         * locale/localeconv.c (__localeconv): For grouping and
40508         mon_grouping handle "\177" and "\377" like no grouping.
40509         (INT_ELEM): New macro.  Use it to set all numeric members.
40510         * locale/programs/ld-monetary.c (monetary_read)
40511         <tok_mon_grouping>: Normalize single -1 to the empty string.
40512         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
40513         Likewise.
40515 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
40517         [BZ #16055]
40518         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
40519         when we match (nil).
40520         * stdio-common/tst-sscanf.c (struct test): Add testcase.
40522 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
40524         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
40525         (NO_TEST_INLINE): Update value.
40526         (ERRNO_UNCHANGED): Likewise.
40527         (ERRNO_EDOM): Likewise.
40528         (ERRNO_ERANGE): Likewise.
40529         (IGNORE_RESULT): Likewise.
40530         (check_float_internal): Check signs of NaN results if
40531         TEST_NAN_SIGN used.
40532         (check_complex): Pass TEST_NAN_SIGN flag through to second
40533         check_float_internal call.
40534         (copysign_test_data): Add tests with quiet NaNs as second
40535         argument.  Use TEST_NAN_SIGN.
40536         (fabs_test_data): Add test of negative quiet NaN argument.  Use
40537         TEST_NAN_SIGN.
40538         (signbit_test_data): Add tests of quiet NaN argument.
40539         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
40541         * math/gen-libm-test.pl (show_exceptions): Take extra argument
40542         $ignore_result.
40543         (parse_args): Handle function results specified as IGNORE.
40544         * math/libm-test.inc (IGNORE_RESULT): New macro.
40545         (check_float_internal): Do not check numerical result if flag
40546         IGNORE_RESULT set.
40547         (check_complex): Pass through IGNORE_RESULT to second
40548         check_float_internal call.
40549         (check_int): Do not check numerical result if flag IGNORE_RESULT
40550         set.
40551         (check_long): Likewise.
40552         (check_bool): Likewise.
40553         (check_longlong): Likewise.
40554         (lrint_test_data): Add tests of infinite and NaN arguments.
40555         (lrint_tonearest_test_data): Likewise.
40556         (lrint_towardzero_test_data): Likewise.
40557         (lrint_downward_test_data): Likewise.
40558         (lrint_upward_test_data): Likewise.
40559         (llrint_test_data): Likewise.
40560         (llrint_tonearest_test_data): Likewise.
40561         (llrint_towardzero_test_data): Likewise.
40562         (llrint_downward_test_data): Likewise.
40563         (llrint_upward_test_data): Likewise.
40564         (lround_test_data): Likewise.
40565         (llround_test_data): Likewise.
40567         * math/libm-test.inc (NO_TEST_INLINE): New macro.
40568         (ERRNO_UNCHANGED): Update value.
40569         (ERRNO_EDOM): Likewise.
40570         (ERRNO_ERANGE): Likewise.
40571         (NO_TEST_INLINE_FLOAT): New macro.
40572         (NO_TEST_INLINE_DOUBLE): Likewise.
40573         (enable_test): New function.
40574         (RUN_TEST_f_f): Check enable_test before running test.
40575         (RUN_TEST_2_f): Likewise.
40576         (RUN_TEST_fff_f): Likewise.
40577         (RUN_TEST_c_f): Likewise.
40578         (RUN_TEST_f_f1): Likewise.
40579         (RUN_TEST_fF_f1): Likewise.
40580         (RUN_TEST_fI_f1): Likewise.
40581         (RUN_TEST_ffI_f1): Likewise.
40582         (RUN_TEST_c_c): Likewise.
40583         (RUN_TEST_cc_c): Likewise.
40584         (RUN_TEST_f_i): Likewise.
40585         (RUN_TEST_f_i_tg): Likewise.
40586         (RUN_TEST_ff_i_tg): Likewise.
40587         (RUN_TEST_f_b): Likewise.
40588         (RUN_TEST_f_b_tg): Likewise.
40589         (RUN_TEST_f_l): Likewise.
40590         (RUN_TEST_f_L): Likewise.
40591         (RUN_TEST_fFF_11): Likewise.
40592         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
40593         conditionals.
40594         (cosh_test_data): Likewise.
40595         (exp_test_data): Likewise.
40596         (expm1_test_data): Likewise.
40597         (hypot_test_data): Likewise.
40598         (pow_test_data): Likewise.
40599         (sinh_test_data): Likewise.
40600         (tanh_test_data): Likewise.
40601         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
40602         flags argument.
40604         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
40605         tests with quiet NaN input and output.
40606         (acosh_test_data): Likewise.
40607         (asin_test_data): Likewise.
40608         (asinh_test_data): Likewise.
40609         (atan_test_data): Likewise.
40610         (atanh_test_data): Likewise.
40611         (atan2_test_data): Likewise.
40612         (cbrt_test_data): Likewise.
40613         (cos_test_data): Likewise.
40614         (cosh_test_data): Likewise.
40615         (erf_test_data): Likewise.
40616         (erfc_test_data): Likewise.
40617         (exp_test_data): Likewise.
40618         (exp10_test_data): Likewise.
40619         (exp2_test_data): Likewise.
40620         (expm1_test_data): Likewise.
40621         (hypot_test_data): Likewise.
40622         (j0_test_data): Likewise.
40623         (j1_test_data): Likewise.
40624         (jn_test_data): Likewise.
40625         (lgamma_test_data): Likewise.
40626         (log_test_data): Likewise.
40627         (log10_test_data): Likewise.
40628         (log1p_test_data): Likewise.
40629         (log2_test_data): Likewise.
40630         (pow_test_data): Likewise.
40631         (scalb_test_data): Likewise.
40632         (sin_test_data): Likewise.
40633         (sincos_test_data): Likewise.
40634         (sinh_test_data): Likewise.
40635         (tan_test_data): Likewise.
40636         (tanh_test_data): Likewise.
40637         (tgamma_test_data): Likewise.
40638         (y0_test_data): Likewise.
40639         (y1_test_data): Likewise.
40640         (yn_test_data): Likewise.
40642         [BZ #16167]
40643         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
40644         argument being NaN and avoid computations with second argument in
40645         that case.
40646         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40647         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
40648         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40650 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
40652         * locale/iso-639.def: Add Chitwani Tharu (the).
40654 2013-11-14  Andreas Schwab  <schwab@suse.de>
40656         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
40657         word instead of empty string.
40659 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40662         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
40663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40664         (__fe_nomask_env): Likewise.
40666 2013-11-13  Steve Ellcey  <sellcey@mips.com>
40668         * benchtests/bench-timing.h: Include time.h.
40670 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
40672         [BZ #15997]
40673         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
40674         to 3.4.0 for x32.
40675         * sysdeps/unix/sysv/linux/configure: Regenerated.
40677 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
40679         [BZ #16151]
40680         * stdlib/strtod_l.c (round_and_return): Do not consider
40681         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
40682         exponent one less than half the least subnormal exponent.
40683         * stdlib/test-strtod-round-data: Add more tests.
40684         * stdlib/tst-strtod-round.c (tests): Regenerated.
40686 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40688         [BZ #14143]
40689         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
40690         (__fe_mask_env): Likewise.
40691         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
40692         libm_hidden_proto and add function prototype.
40693         (__fe_mask_env): Add function prototype.
40694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40695         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
40696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40697         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
40698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40699         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
40701 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40703         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
40704         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
40706 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40708         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
40709         of htab_find_slot().
40711 2013-11-11  David S. Miller  <davem@davemloft.net>
40713         [BZ #16150]
40714         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
40715         symbol in the non-vis3 case in static builds.
40716         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
40717         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
40718         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
40719         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
40721 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
40723         [BZ #387]
40724         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
40725         it is empty.
40727 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40729         * benchtests/Makefile: Add bench-strtod.
40730         * benchtests/bench-strtod.c: New file: strtod benchtest
40732 2013-11-11  Andreas Schwab  <schwab@suse.de>
40734         [BZ #16153]
40735         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
40736         terminating NUL in key length.
40738 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40740         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
40741         Add artificial ODP entry for vDSO symbol for PPC64.
40742         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
40743         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
40745 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
40747         [BZ #15374]
40748         * nss/getent.c (services_keys): Recognize services starting with digit.
40750 2013-11-06  David S. Miller  <davem@davemloft.net>
40752         [BZ #15985]
40753         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
40754         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
40756 2013-11-06  Will Newton  <will.newton@linaro.org>
40758         * manual/memory.texi (Malloc Examples): Remove register
40759         keyword from examples.
40761 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
40763         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
40765 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
40767         [BZ #6981]
40768         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
40769         depending on [__GCC_IEC_559 > 0].
40770         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
40771         depending on [__GCC_IEC_559_COMPLEX > 0].
40773 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
40775         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
40776         to iso-639.def.
40778 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
40780         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
40782 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
40784         [BZ #16112]
40785         * malloc/malloc (malloc_info): Do not handle first bin as
40786         special case.
40788 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
40790         * locale/iso-639.def: Add Central Nahuatl (nhn).
40792 2013-11-01  Bruno Haible  <bruno@clisp.org>
40794         [BZ #7003]
40795         * manual/math.texi (BSD Random): Specify range upper bound as
40796         in POSIX.
40798 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
40800         * locale/iso-639.def: Add Meadow Mari (mhr).
40802 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
40804         [BZ #14752], [BZ #15763]
40805         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
40806         Validate name.
40807         * rt/tst_shm.c: Add test for escaping directory.
40809 2013-10-31  Andreas Schwab  <schwab@suse.de>
40811         [BZ #15917]
40812         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
40813         followed by 'x' as part of digit sequence.
40814         * stdio-common/tst-sscanf.c (double_tests2): New tests.
40816 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
40818         [BZ #16037]
40819         * configure.ac: allow GNU Make 4.0 and greater.
40820         * configure: Regenerated.
40822 2013-10-30  Will Newton  <will.newton@linaro.org>
40824         [BZ #16038]
40825         * malloc/hooks.c (memalign_check): Limit alignment to the
40826         maximum representable power of two.
40827         * malloc/malloc.c (__libc_memalign): Likewise.
40828         * malloc/tst-memalign.c (do_test): Add test for very
40829         large alignment values.
40830         * malloc/tst-posix_memalign.c (do_test): Likewise.
40832 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
40834         [BZ #11087]
40835         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
40836         (munmap_chunk): Likewise.
40837         (mremap_chunk): Likewise.
40839 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
40841         [BZ #15799]
40842         * stdlib/div.c (div): Remove obsolete code.
40843         * stdlib/ldiv.c (ldiv): Likewise.
40844         * stdlib/lldiv.c (lldiv): Likewise.
40846 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40848         [BZ #16071]
40849         * nss/nss_files/files-XXX.c (get_contents_ret): New
40850         enumerator.
40851         (get_contents): New function.
40852         (internal_getent): Use it.  Expand size of LINEBUFLEN.
40854 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
40856         * configure.in: Moved to ...
40857         * configure.ac: ... here. Change reference to configure.in
40858         to configure.ac.
40859         * sysdeps/arm/preconfigure.ac: ... here.
40860         configure.in to configure.ac.
40861         * sysdeps/gnu/configure.in: Moved to ...
40862         * sysdeps/gnu/configure.ac: ... here.
40863         * sysdeps/i386/configure.in: Moved to ...
40864         * sysdeps/i386/configure.ac: ... here.
40865         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
40866         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
40867         * sysdeps/mach/configure.in: Moved to ...
40868         * sysdeps/mach/configure.ac: ... here.
40869         * sysdeps/mach/hurd/configure.in: Moved to ...
40870         * sysdeps/mach/hurd/configure.ac: ... here.
40871         * sysdeps/powerpc/configure.in: Moved to ...
40872         * sysdeps/powerpc/configure.ac: ... here.
40873         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
40874         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
40875         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
40876         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
40877         * sysdeps/s390/s390-32/configure.in: Moved to ...
40878         * sysdeps/s390/s390-32/configure.ac: ... here.
40879         * sysdeps/s390/s390-64/configure.in: Moved to ...
40880         * sysdeps/s390/s390-64/configure.ac: ... here.
40881         * sysdeps/sh/configure.in: Moved to ...
40882         * sysdeps/sh/configure.ac: ... here.
40883         * sysdeps/sparc/configure.in: Moved to ...
40884         * sysdeps/sparc/configure.ac: ... here.
40885         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
40886         * sysdeps/unix/sysv/linux/configure.ac: ... here.
40887         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
40888         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
40889         * sysdeps/x86_64/configure.in: Moved to ...
40890         * sysdeps/x86_64/configure.ac: ... here.
40891         * sysdeps/x86_64/preconfigure.in: Moved to ...
40892         * sysdeps/x86_64/preconfigure.ac: ... here.
40893         * aclocal.m4: Change reference to configure.in to configure.ac.
40894         * config.h.in: Likewise.
40895         * manual/install.texi: Likewise.
40896         * manual/maint.texi: Likewise.
40897         * Makefile: Likewise.
40898         * malloc/Makefile: Likewise.
40899         * nscd/Makefile: Likewise.
40900         * Makeconfig: Change reference to configure.in and
40901         preconfigure.in to configure.ac and preconfigure.ac
40902         respectively.
40903         * INSTALL: Regenerated.
40904         * configure: Likewise.
40905         * sysdeps/gnu/configure: Likewise.
40906         * sysdeps/i386/configure: Likewise.
40907         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
40908         * sysdeps/mach/configure: Likewise.
40909         * sysdeps/mach/hurd/configure: Likewise.
40910         * sysdeps/powerpc/configure: Likewise.
40911         * sysdeps/powerpc/powerpc32/configure: Likewise.
40912         * sysdeps/powerpc/powerpc64/configure: Likewise.
40913         * sysdeps/s390/s390-32/configure: Likewise.
40914         * sysdeps/s390/s390-64/configure: Likewise.
40915         * sysdeps/sh/configure: Likewise.
40916         * sysdeps/sparc/configure: Likewise.
40917         * sysdeps/unix/sysv/linux/configure: Likewise.
40918         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
40919         * sysdeps/x86_64/configure: Likewise.
40920         * sysdeps/x86_64/preconfigure: Likewise.
40922 2013-10-29  Andreas Schwab  <schwab@suse.de>
40924         * stdio-common/Makefile (tst-swscanf-ENV): Define.
40926 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40928         * benchtests/pow-inputs: Add new inputs.
40930         * benchtests/exp-inputs: Add new inputs.
40932         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
40933         conditional check for return value.
40934         (__cos32): Likewise.
40936 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40938         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
40939         to provide a boost for large inputs with word alignment.
40940         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
40941         implementation based on optimized PPC64 strcpy.
40942         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
40943         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
40944         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
40945         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
40947 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40949         [BZ #2801]
40950         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
40952 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40954         [BZ #14876]
40955         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
40956         * time/tst-strptime.c (day_tests): Add testcase.
40958 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40960         [BZ #14029]
40961         * manual/pattern.texi: Acknowledge that fnmatch can fail.
40963 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
40965         [BZ #16074]
40966         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
40967         MAP_FAILED on error.
40969 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40971         [BZ #16072]
40972         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
40973         heap for large requests.
40975 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
40977         [BZ #9954]
40978         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
40979         result if the result has no associated interface.
40980         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
40981         interface for all 127.X.Y.Z addresses.
40983 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
40985         * locale/iso-639.def: Add Ligurian (lij)
40987 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
40989         [BZ #15825]
40990         * sunrpc/rpc_main.c: Document rpcgen -5.
40992 2013-10-19  Michael Stahl  <mstahl@redhat.com>
40994         * elf/rtld.c (do_preload): Print the reason why preloading failed.
40996 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
40998         [BZ #10278]
40999         * posix/glob.c: Match only directories when trailing slash is present.
41000         * posix/tst-gnuglob.c (my_opendir): Do not open files.
41001         (main): Add testcase.
41003 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
41005         [BZ #15670]
41006         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
41008 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
41010         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
41011         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
41012         AUTH_DES and cindex for FIPS 140-2.
41013         (DES Encryption): Add cindex FIPS 46-3.
41015         * locale/locarchive.h (struct locarhandle): Add fname.
41016         * locale/programs/localedef.c (main): Pass ARGV[remaining]
41017         if an optional argument was specified to --list-archive,
41018         otherwise NULL.
41019         * locale/programs/locarchive.c (show_archive_content): Take new
41020         argument fname and pass it via ah.fname to open_archive.
41021         * locale/programs/localedef.h: Update decl.
41022         (open_archive): If AH->fname is non-null, open that file
41023         rather than the default file name, and don't ignore ENOENT.
41024         (create_archive): Set AH.fname to NULL.
41025         (delete_locales_from_archive): Likewise.
41026         (add_locales_to_archive): Likewise.
41027         * locale/programs/locfile.c (write_all_categories): Likewise.
41029 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
41030             Aldy Hernandez  <aldyh@redhat.com>
41032         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
41033         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
41034         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
41035         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
41036         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
41037         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
41038         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
41039         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
41040         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
41041         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
41042         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
41043         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
41044         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
41045         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
41046         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
41047         Likewise.
41048         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
41049         Likewise.
41050         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
41051         Likewise.
41052         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
41053         Likewise.
41054         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
41055         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
41056         Likewise.
41057         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
41058         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
41059         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
41060         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
41061         Likewise.
41062         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
41063         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
41064         * sysdeps/powerpc/preconfigure: Likewise.
41065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
41066         Likewise.
41067         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
41068         Replace contents of file by #include of <fenv_libc.h>.
41069         * sysdeps/powerpc/soft-fp/sfp-machine.h
41070         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
41071         and <sys/prctl.h>.
41072         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
41073         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
41074         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
41075         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
41076         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
41077         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
41078         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
41079         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
41080         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
41081         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
41082         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
41083         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
41084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41085         Allow copysignl PLT reference to be missing.
41087 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
41088             Joseph Myers  <joseph@codesourcery.com
41090         [BZ #15948]
41091         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
41092         single character.
41093         (add_to_tablewc): Assert sequence of wide characters is nonempty.
41095 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41097         * elf/tst-tls-dlinfo.c: Don't include tls.h.
41098         * elf/tst-tls1.c: Likewise.
41099         * elf/tst-tls10.h: Likewise.
41100         * elf/tst-tls14.c: Likewise.
41101         * elf/tst-tls2.c: Likewise.
41102         * elf/tst-tls3.c: Likewise.
41103         * elf/tst-tls4.c: Likewise.
41104         * elf/tst-tls5.c: Likewise.
41105         * elf/tst-tls6.c: Likewise.
41106         * elf/tst-tls7.c: Likewise.
41107         * elf/tst-tls8.c: Likewise.
41108         * elf/tst-tls9.c: Likewise.
41109         * elf/tst-tlsmod1.c: Likewise.
41110         * elf/tst-tlsmod13.c: Likewise.
41111         * elf/tst-tlsmod13a.c: Likewise.
41112         * elf/tst-tlsmod14a.c: Likewise.
41113         * elf/tst-tlsmod16a.c: Likewise.
41114         * elf/tst-tlsmod16b.c: Likewise.
41115         * elf/tst-tlsmod2.c: Likewise.
41116         * elf/tst-tlsmod3.c: Likewise.
41117         * elf/tst-tlsmod4.c: Likewise.
41118         * elf/tst-tlsmod5.c: Likewise.
41119         * elf/tst-tlsmod6.c: Likewise.
41121 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
41123         [BZ #12486]
41124         * malloc/malloc.c: remove checks for statistics.
41126 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41128         [BZ #15277]
41129         * inet/inet_net.c (inet_network): Detect additional invalid strings.
41130         * inet/tst-network.c: Add testcase.
41132 2013-10-17  Andreas Schwab  <schwab@suse.de>
41134         [BZ #15218]
41135         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
41136         to determine canonical name.
41138 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41140         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
41141         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
41142         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41143         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41144         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41145         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41146         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41147         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41148         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41149         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41150         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41151         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41152         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41153         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41154         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41155         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41156         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41157         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41158         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41159         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41160         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41161         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41162         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41163         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
41164         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
41165         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41166         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41167         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
41168         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41169         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
41170         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41171         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41172         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41173         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41174         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41175         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41176         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41177         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41178         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41179         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41180         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41181         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41182         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41183         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41184         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41185         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41186         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41187         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41188         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41189         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41190         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41191         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41192         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41193         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41194         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41195         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41196         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41197         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41199 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
41201         [BZ #16041]
41202         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
41203         make result into a quiet NaN.
41205 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
41207         * soft-fp/adddf3.c: Fix horizontal whitespace.
41208         * soft-fp/addsf3.c: Likewise.
41209         * soft-fp/addtf3.c: Likewise.
41210         * soft-fp/divdf3.c: Likewise.
41211         * soft-fp/divsf3.c: Likewise.
41212         * soft-fp/divtf3.c: Likewise.
41213         * soft-fp/double.h: Likewise.
41214         * soft-fp/eqdf2.c: Likewise.
41215         * soft-fp/eqsf2.c: Likewise.
41216         * soft-fp/eqtf2.c: Likewise.
41217         * soft-fp/extenddftf2.c: Likewise.
41218         * soft-fp/extended.h: Likewise.
41219         * soft-fp/extendsfdf2.c: Likewise.
41220         * soft-fp/extendsftf2.c: Likewise.
41221         * soft-fp/extendxftf2.c: Likewise.
41222         * soft-fp/fixdfdi.c: Likewise.
41223         * soft-fp/fixdfsi.c: Likewise.
41224         * soft-fp/fixdfti.c: Likewise.
41225         * soft-fp/fixsfdi.c: Likewise.
41226         * soft-fp/fixsfsi.c: Likewise.
41227         * soft-fp/fixsfti.c: Likewise.
41228         * soft-fp/fixtfdi.c: Likewise.
41229         * soft-fp/fixtfsi.c: Likewise.
41230         * soft-fp/fixtfti.c: Likewise.
41231         * soft-fp/fixunsdfdi.c: Likewise.
41232         * soft-fp/fixunsdfsi.c: Likewise.
41233         * soft-fp/fixunsdfti.c: Likewise.
41234         * soft-fp/fixunssfdi.c: Likewise.
41235         * soft-fp/fixunssfsi.c: Likewise.
41236         * soft-fp/fixunssfti.c: Likewise.
41237         * soft-fp/fixunstfdi.c: Likewise.
41238         * soft-fp/fixunstfsi.c: Likewise.
41239         * soft-fp/fixunstfti.c: Likewise.
41240         * soft-fp/floatdidf.c: Likewise.
41241         * soft-fp/floatdisf.c: Likewise.
41242         * soft-fp/floatditf.c: Likewise.
41243         * soft-fp/floatsidf.c: Likewise.
41244         * soft-fp/floatsisf.c: Likewise.
41245         * soft-fp/floatsitf.c: Likewise.
41246         * soft-fp/floattidf.c: Likewise.
41247         * soft-fp/floattisf.c: Likewise.
41248         * soft-fp/floattitf.c: Likewise.
41249         * soft-fp/floatundidf.c: Likewise.
41250         * soft-fp/floatundisf.c: Likewise.
41251         * soft-fp/floatunditf.c: Likewise.
41252         * soft-fp/floatunsidf.c: Likewise.
41253         * soft-fp/floatunsisf.c: Likewise.
41254         * soft-fp/floatunsitf.c: Likewise.
41255         * soft-fp/floatuntidf.c: Likewise.
41256         * soft-fp/floatuntisf.c: Likewise.
41257         * soft-fp/floatuntitf.c: Likewise.
41258         * soft-fp/fmadf4.c: Likewise.
41259         * soft-fp/fmasf4.c: Likewise.
41260         * soft-fp/fmatf4.c: Likewise.
41261         * soft-fp/gedf2.c: Likewise.
41262         * soft-fp/gesf2.c: Likewise.
41263         * soft-fp/getf2.c: Likewise.
41264         * soft-fp/ledf2.c: Likewise.
41265         * soft-fp/lesf2.c: Likewise.
41266         * soft-fp/letf2.c: Likewise.
41267         * soft-fp/muldf3.c: Likewise.
41268         * soft-fp/mulsf3.c: Likewise.
41269         * soft-fp/multf3.c: Likewise.
41270         * soft-fp/negdf2.c: Likewise.
41271         * soft-fp/negsf2.c: Likewise.
41272         * soft-fp/negtf2.c: Likewise.
41273         * soft-fp/op-1.h: Likewise.
41274         * soft-fp/op-2.h: Likewise.
41275         * soft-fp/op-4.h: Likewise.
41276         * soft-fp/op-8.h: Likewise.
41277         * soft-fp/op-common.h: Likewise.
41278         * soft-fp/quad.h: Likewise.
41279         * soft-fp/single.h: Likewise.
41280         * soft-fp/soft-fp.h: Likewise.
41281         * soft-fp/sqrtdf2.c: Likewise.
41282         * soft-fp/sqrtsf2.c: Likewise.
41283         * soft-fp/sqrttf2.c: Likewise.
41284         * soft-fp/subdf3.c: Likewise.
41285         * soft-fp/subsf3.c: Likewise.
41286         * soft-fp/subtf3.c: Likewise.
41287         * soft-fp/truncdfsf2.c: Likewise.
41288         * soft-fp/trunctfdf2.c: Likewise.
41289         * soft-fp/trunctfsf2.c: Likewise.
41290         * soft-fp/trunctfxf2.c: Likewise.
41291         * soft-fp/unorddf2.c: Likewise.
41292         * soft-fp/unordsf2.c: Likewise.
41293         * soft-fp/unordtf2.c: Likewise.
41295 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
41297         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
41298         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
41300 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
41302         * elf/dl-libc.c: Clear initfini list after freeing.
41304 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
41306         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
41307         * soft-fp/addsf3.c: Likewise.
41308         * soft-fp/addtf3.c: Likewise.
41309         * soft-fp/divdf3.c: Likewise.
41310         * soft-fp/divsf3.c: Likewise.
41311         * soft-fp/divtf3.c: Likewise.
41312         * soft-fp/double.h: Likewise.
41313         * soft-fp/eqdf2.c: Likewise.
41314         * soft-fp/eqsf2.c: Likewise.
41315         * soft-fp/eqtf2.c: Likewise.
41316         * soft-fp/extenddftf2.c: Likewise.
41317         * soft-fp/extended.h: Likewise.
41318         * soft-fp/extendsfdf2.c: Likewise.
41319         * soft-fp/extendsftf2.c: Likewise.
41320         * soft-fp/extendxftf2.c: Likewise.
41321         * soft-fp/fixdfdi.c: Likewise.
41322         * soft-fp/fixdfsi.c: Likewise.
41323         * soft-fp/fixdfti.c: Likewise.
41324         * soft-fp/fixsfdi.c: Likewise.
41325         * soft-fp/fixsfsi.c: Likewise.
41326         * soft-fp/fixsfti.c: Likewise.
41327         * soft-fp/fixtfdi.c: Likewise.
41328         * soft-fp/fixtfsi.c: Likewise.
41329         * soft-fp/fixtfti.c: Likewise.
41330         * soft-fp/fixunsdfdi.c: Likewise.
41331         * soft-fp/fixunsdfsi.c: Likewise.
41332         * soft-fp/fixunsdfti.c: Likewise.
41333         * soft-fp/fixunssfdi.c: Likewise.
41334         * soft-fp/fixunssfsi.c: Likewise.
41335         * soft-fp/fixunssfti.c: Likewise.
41336         * soft-fp/fixunstfdi.c: Likewise.
41337         * soft-fp/fixunstfsi.c: Likewise.
41338         * soft-fp/fixunstfti.c: Likewise.
41339         * soft-fp/floatdidf.c: Likewise.
41340         * soft-fp/floatdisf.c: Likewise.
41341         * soft-fp/floatditf.c: Likewise.
41342         * soft-fp/floatsidf.c: Likewise.
41343         * soft-fp/floatsisf.c: Likewise.
41344         * soft-fp/floatsitf.c: Likewise.
41345         * soft-fp/floattidf.c: Likewise.
41346         * soft-fp/floattisf.c: Likewise.
41347         * soft-fp/floattitf.c: Likewise.
41348         * soft-fp/floatundidf.c: Likewise.
41349         * soft-fp/floatundisf.c: Likewise.
41350         * soft-fp/floatunsidf.c: Likewise.
41351         * soft-fp/floatunsisf.c: Likewise.
41352         * soft-fp/floatuntidf.c: Likewise.
41353         * soft-fp/floatuntisf.c: Likewise.
41354         * soft-fp/floatuntitf.c: Likewise.
41355         * soft-fp/fmadf4.c: Likewise.
41356         * soft-fp/fmasf4.c: Likewise.
41357         * soft-fp/fmatf4.c: Likewise.
41358         * soft-fp/gedf2.c: Likewise.
41359         * soft-fp/gesf2.c: Likewise.
41360         * soft-fp/getf2.c: Likewise.
41361         * soft-fp/ledf2.c: Likewise.
41362         * soft-fp/lesf2.c: Likewise.
41363         * soft-fp/letf2.c: Likewise.
41364         * soft-fp/muldf3.c: Likewise.
41365         * soft-fp/mulsf3.c: Likewise.
41366         * soft-fp/multf3.c: Likewise.
41367         * soft-fp/negdf2.c: Likewise.
41368         * soft-fp/negsf2.c: Likewise.
41369         * soft-fp/negtf2.c: Likewise.
41370         * soft-fp/op-1.h: Likewise.
41371         * soft-fp/op-2.h: Likewise.
41372         * soft-fp/op-4.h: Likewise.
41373         * soft-fp/op-8.h: Likewise.
41374         * soft-fp/op-common.h: Likewise.
41375         * soft-fp/quad.h: Likewise.
41376         * soft-fp/single.h: Likewise.
41377         * soft-fp/soft-fp.h: Likewise.
41378         * soft-fp/sqrtdf2.c: Likewise.
41379         * soft-fp/sqrtsf2.c: Likewise.
41380         * soft-fp/sqrttf2.c: Likewise.
41381         * soft-fp/subdf3.c: Likewise.
41382         * soft-fp/subsf3.c: Likewise.
41383         * soft-fp/subtf3.c: Likewise.
41384         * soft-fp/truncdfsf2.c: Likewise.
41385         * soft-fp/trunctfdf2.c: Likewise.
41386         * soft-fp/trunctfsf2.c: Likewise.
41387         * soft-fp/trunctfxf2.c: Likewise.
41388         * soft-fp/unorddf2.c: Likewise.
41389         * soft-fp/unordsf2.c: Likewise.
41390         * soft-fp/unordtf2.c: Likewise.
41392 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
41394         [BZ #15672]
41395         * misc/error.c (error_tail): Fix possible buffer overflow.
41397 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
41399         [BZ #13028]
41400         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
41401         address.
41403 2013-10-14  P. J. McDermott  <pj@pehjota.net>
41405         [BZ #832]
41406         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
41407         testing pipefail option.
41409 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
41411         * soft-fp/double.h: Indent preprocessor directives inside #if.
41412         * soft-fp/extended.h: Likewise.
41413         * soft-fp/op-2.h: Likewise.
41414         * soft-fp/op-4.h: Likewise.
41415         * soft-fp/op-common.h: Likewise.
41416         * soft-fp/quad.h: Likewise.
41417         * soft-fp/single.h: Likewise.
41418         * soft-fp/soft-fp.h: Likewise.
41420 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
41422         * iconv/iconv_prog.c: Fix typos.
41423         * stdio-common/psiginfo-data.h: Likewise.
41425 2013-10-12   Reuben Thomas <rrt@sc3d.org>
41427         [BZ #15764]
41428         * locale/setlocale.c: Fix typo.
41430 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
41432         [BZ #16036]
41433         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
41434         signaling NaN arguments.
41435         * soft-fp/unordsf2.c (__unordsf2): Likewise.
41436         * soft-fp/unordtf2.c (__unordtf2): Likewise.
41438         [BZ #14910]
41439         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
41440         unordered operands.
41441         * soft-fp/gesf2.c (__gesf2): Likewise.
41442         * soft-fp/getf2.c (__getf2): Likewise.
41443         * soft-fp/ledf2.c (__ledf2): Likewise.
41444         * soft-fp/lesf2.c (__lesf2): Likewise.
41445         * soft-fp/letf2.c (__letf2): Likewise.
41447         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
41448         * soft-fp/eqsf2.c (__eqsf2): Likewise.
41449         * soft-fp/eqtf2.c (__eqtf2): Likewise.
41450         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
41451         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
41452         * soft-fp/fixdfti.c (__fixdfti): Likewise.
41453         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
41454         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
41455         * soft-fp/fixsfti.c (__fixsfti): Likewise.
41456         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
41457         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
41458         * soft-fp/fixtfti.c (__fixtfti): Likewise.
41459         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
41460         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
41461         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
41462         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
41463         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
41464         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
41465         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
41466         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
41467         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
41468         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
41469         * soft-fp/floatdisf.c (__floatdisf): Likewise.
41470         * soft-fp/floatsisf.c (__floatsisf): Likewise.
41471         * soft-fp/floattidf.c (__floattidf): Likewise.
41472         * soft-fp/floattisf.c (__floattisf): Likewise.
41473         * soft-fp/floattitf.c (__floattitf): Likewise.
41474         * soft-fp/floatundidf.c (__floatundidf): Likewise.
41475         * soft-fp/floatundisf.c (__floatundisf): Likewise.
41476         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
41477         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
41478         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
41479         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
41480         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
41481         * soft-fp/gesf2.c (__gesf2): Likewise.
41482         * soft-fp/getf2.c (__getf2): Likewise.
41483         * soft-fp/ledf2.c (__ledf2): Likewise.
41484         * soft-fp/lesf2.c (__lesf2): Likewise.
41485         * soft-fp/letf2.c (__letf2): Likewise.
41487         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
41488         Undefine and redefine.
41489         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
41490         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
41491         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
41492         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
41493         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41494         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
41495         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41496         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
41497         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41498         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
41499         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41500         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
41501         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41502         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
41503         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41505         [BZ #16032]
41506         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
41507         without decrementing exponent if mantissa >= that for the
41508         denominator, not >.
41509         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
41510         denominator, not >.  Decrement exponent in < case instead of
41511         incrementing in >= case.
41512         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
41513         without decrementing exponent if mantissa >= that for the
41514         denominator, not >.
41516         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
41517         computing saturated result for unsigned overflow.
41519 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41520             Jeff Law  <law@redhat.com>
41522         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
41523         (atan2Mp): Add systemtap probe marker.
41524         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
41525         (__ieee754_log): Add systemtap probe marker.
41526         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
41527         (atanMp): Add systemtap probe marker.
41528         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
41529         (tanMp): Add systemtap probe marker.
41530         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
41531         (__slowexp): Add systemtap probe marker.
41532         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
41533         (__slowpow): Add systemtap probe marker.
41534         * manual/probes.texi: Document probes.
41536 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
41538         [BZ #15362]
41539         * libio/fileops.c (_IO_new_file_write): Return count of bytes
41540         written.
41541         (_IO_new_file_xsputn): Don't return EOF if nothing has been
41542         written.
41543         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
41544         written to buffer but not flushed.
41545         * libio/iofwrite_u.c:  Likewise.
41546         * libio/iopadn.c:  Return bytes returned even if EOF was
41547         encountered.
41548         * libio/iowpadn.c:  Likewise.
41549         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
41550         if _IO_padn does not write the whole buffer.
41551         [!COMPILE_WPRINTF] (PAD): Likewise.
41553 2013-10-10  David S. Miller  <davem@davemloft.net>
41555         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
41556         directory block.
41558 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
41560         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
41561         instead of FSF address.
41562         * soft-fp/fixdfti.c: Likewise.
41563         * soft-fp/fixsfti.c: Likewise.
41564         * soft-fp/fixtfti.c: Likewise.
41565         * soft-fp/fixunsdfti.c: Likewise.
41566         * soft-fp/fixunssfti.c: Likewise.
41567         * soft-fp/fixunstfti.c: Likewise.
41568         * soft-fp/floattidf.c: Likewise.
41569         * soft-fp/floattisf.c: Likewise.
41570         * soft-fp/floattitf.c: Likewise.
41571         * soft-fp/floatuntidf.c: Likewise.
41572         * soft-fp/floatuntisf.c: Likewise.
41573         * soft-fp/floatuntitf.c: Likewise.
41574         * soft-fp/trunctfxf2.c: Likewise.
41576         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
41577         * soft-fp/fixdfti.c: Likewise.
41578         * soft-fp/fixsfti.c: Likewise.
41579         * soft-fp/fixtfti.c: Likewise.
41580         * soft-fp/fixunsdfti.c: Likewise.
41581         * soft-fp/fixunssfti.c: Likewise.
41582         * soft-fp/fixunstfti.c: Likewise.
41583         * soft-fp/floattidf.c: Likewise.
41584         * soft-fp/floattisf.c: Likewise.
41585         * soft-fp/floattitf.c: Likewise.
41586         * soft-fp/floatuntidf.c: Likewise.
41587         * soft-fp/floatuntisf.c: Likewise.
41588         * soft-fp/floatuntitf.c: Likewise.
41589         * soft-fp/trunctfxf2.c: Likewise.
41591 2013-10-10  David S. Miller  <davem@davemloft.net>
41593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41595 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
41597         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
41598         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
41599         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
41600         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
41601         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
41602         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
41603         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
41605         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
41606         for NaNs before doing comparisons on argument.
41607         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
41608         Likewise.
41610 2013-10-10  Will Newton  <will.newton@linaro.org>
41612         * malloc/hooks.c (memalign_check): Ensure the value of bytes
41613         passed to _int_memalign does not overflow.
41615 2013-10-10  Torvald Riegel  <triegel@redhat.com>
41617         * scripts/bench.pl: Add include-sources directive.
41618         * benchtests/README: Update documentation.
41620 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
41622         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
41623         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
41624         instead of FP_INIT_ROUNDMODE.
41625         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
41626         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
41628         [BZ #16034]
41629         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
41630         copy class of input value.
41631         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
41632         not handle exceptions.
41633         * soft-fp/negsf2.c (__negsf2): Likewise.
41634         * soft-fp/negtf2.c (__negtf2): Likewise.
41635         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
41637 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
41639         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
41640         semicolon.  From Linux kernel.
41642 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
41644         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
41646 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
41648         [BZ #156]
41649         * manual/socket.texi: Added statement about buffer
41650         for gethostbyname2_r.
41652 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
41654         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
41655         Use .p2align directive instead, throughout.
41656         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41657         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
41658         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
41659         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41660         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41661         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
41662         * sysdeps/x86_64/strchr.S: Likewise.
41663         * sysdeps/x86_64/strrchr.S: Likewise.
41665 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41667         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
41669         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
41671         * sysdeps/generic/math_private.h (__mpsin1): Remove
41672         declaration.
41673         (__mpcos1): Likewise.
41674         (__mpsin): New argument __range_reduce.
41675         (__mpcos): Likewise.
41676         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41677         (slow): Use __mpsin and __mpcos.
41678         (slow1): Likewise.
41679         (slow2): Likewise.
41680         (sloww): Likewise.
41681         (sloww1): Likewise.
41682         (sloww2): Likewise.
41683         (bsloww): Likewise.
41684         (bsloww1): Likewise.
41685         (bsloww2): Likewise.
41686         (cslow2): Likewise.
41687         (csloww): Likewise.
41688         (csloww1): Likewise.
41689         (csloww2): Likewise.
41690         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
41691         range_reduce.  Merge in __mpsin1.
41692         (__mpcos): Likewise.
41693         (__mpsin1): Remove.
41694         (__mpcos1): Likewise.
41696 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
41698         * locale/loadlocale.c (_nl_intern_locale_data): Use
41699         LOCFILE_ALIGNED_P.
41700         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
41701         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
41702         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
41703         obstack data is appropriately aligned.
41704         (obstack_int32_grow_fast): Likewise.
41705         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
41706         * locale/programs/locfile.c (add_locale_uint32): Likewise.
41707         (add_locale_uint32_array): Likewise.
41709 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41711         * benchtests/Makefile: Remove ARGLIST and RET variables.
41712         ($(objpfx)bench-%.c): Pass only function name to the script.
41713         * benchtests/README: Update documentation.
41714         * benchtests/acos-inputs: Add new directives.
41715         * benchtests/acosh-inputs: Likewise.
41716         * benchtests/asin-inputs: Likewise.
41717         * benchtests/asinh-inputs: Likewise.
41718         * benchtests/atan-inputs: Likewise.
41719         * benchtests/atanh-inputs: Likewise.
41720         * benchtests/cos-inputs: Likewise.
41721         * benchtests/cosh-inputs: Likewise.
41722         * benchtests/exp-inputs: Likewise.
41723         * benchtests/log-inputs: Likewise.
41724         * benchtests/pow-inputs: Likewise.
41725         * benchtests/rint-inputs: Likewise.
41726         * benchtests/sin-inputs: Likewise.
41727         * benchtests/sinh-inputs: Likewise.
41728         * benchtests/tan-inputs: Likewise.
41729         * benchtests/tanh-inputs: Likewise.
41730         * scripts/bench.pl: Add support for new directives.
41732 2013-10-07  Alan Modra  <amodra@gmail.com>
41734         * README: Fix careless merge.
41736 2013-10-05  Alan Modra  <amodra@gmail.com>
41738         * NEWS: Mention powerpc64le support and bugs fixed.
41739         * README: Both big-endian and little-endian powerpc64 supported.
41741 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41743         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
41744         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
41745         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
41746         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
41748 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
41750         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
41751         match prototype.
41753 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
41755         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
41756         Move -mhard-float appending from
41757         ports/sysdeps/powerpc/powerpc32/Makefile.
41758         [$(with-fp) = yes] (ASFLAGS): Likewise.
41759         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
41760         * sysdeps/powerpc/nofpu: Move directory from
41761         ports/sysdeps/powerpc/nofpu.
41762         * sysdeps/powerpc/soft-fp: Move directory from
41763         ports/sysdeps/powerpc/soft-fp.
41764         * sysdeps/powerpc/powerpc32/405: Move directory from
41765         ports/sysdeps/powerpc/powerpc32/405.
41766         * sysdeps/powerpc/powerpc32/440: Move directory from
41767         ports/sysdeps/powerpc/powerpc32/440.
41768         * sysdeps/powerpc/powerpc32/464: Move directory from
41769         ports/sysdeps/powerpc/powerpc32/464.
41770         * sysdeps/powerpc/powerpc32/476: Move directory from
41771         ports/sysdeps/powerpc/powerpc32/476.
41772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
41773         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
41774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
41775         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
41776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
41777         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
41778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
41779         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
41780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
41781         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
41782         * README: Update for powerpc-*-linux-gnu software floating point
41783         support in libc.
41785         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
41786         case to powerpc/powerpc32*.
41787         * sysdeps/unix/sysv/linux/configure: Regenerated.
41789         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
41790         (_FPU_MASK_OM): Define as 0x04.
41791         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
41792         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
41793         0x00c10080.
41794         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
41795         0x0000003c.
41796         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
41798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
41799         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41800         getcontext_e500.
41801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
41802         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41803         setcontext_e500.
41804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
41805         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
41806         and setcontext_e500.
41808 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
41810         * locale/iso-3166.def: Update iso-1366.def and related occurrences
41812 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41814         * manual/threads.texi (Default Thread Attributes): Fix typo.
41816 2013-10-04  Will Newton  <will.newton@linaro.org>
41818         * malloc/Makefile: Add tst-memalign.
41819         * malloc/tst-memalign.c: New file.
41821         * malloc/tst-posix_memalign.c: Add comments.
41822         (do_test): Add comments and call free on all potentially
41823         allocated pointers. Add space after cast.
41825         * malloc/tst-pvalloc.c: Add comments.
41826         (do_test): Add comments and call free on all potentially
41827         allocated pointers. Remove duplicate check for NULL pointer.
41828         Add space after cast.
41830         * malloc/tst-valloc.c: Add comments.
41831         (do_test): Add comments and call free on all potentially
41832         allocated pointers. Remove duplicate check for NULL pointer.
41833         Add space after cast.
41835 2013-10-04  Alan Modra  <amodra@gmail.com>
41837         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41838         Use stdint types in rather than __attribute__((mode())).
41839         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41841 2013-10-04  Alan Modra  <amodra@gmail.com>
41843         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41844         Correct handling of unaligned relocs for little-endian.
41845         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41847 2013-10-04  Alan Modra  <amodra@gmail.com>
41849         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
41850         * configure: Regenerate.
41851         * nptl/shlib-versions: Powerpc*le starts at 2.18.
41852         * shlib-versions: Likewise.
41854 2013-10-04  Alan Modra  <amodra@gmail.com>
41856         * string/tester.c (test_memrchr): Increment reported test cycle.
41858 2013-10-04  Alan Modra  <amodra@gmail.com>
41860         * string/test-memcpy.c (do_one_test): When reporting errors, print
41861         string address and don't overrun end of string.
41863 2013-10-04  Alan Modra  <amodra@gmail.com>
41865         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
41866         insrdi.  Make better use of reg selection to speed exit slightly.
41867         Schedule entry path a little better.  Remove useless "are we done"
41868         checks on entry to main loop.  Handle wrapping around zero address.
41869         Correct main loop count.  Handle single left-over word from main
41870         loop inline rather than by using loop_small.  Remove extra word
41871         case in loop_small caused by wrong loop count.  Add little-endian
41872         support.
41873         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41874         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
41875         cache hint.
41876         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41877         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
41878         support.  Avoid rlwimi.
41879         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
41881 2013-10-04  Alan Modra  <amodra@gmail.com>
41883         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
41884         insrdi.  Formatting.
41885         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
41886         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
41887         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
41888         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
41889         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41890         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
41892 2013-10-04  Alan Modra  <amodra@gmail.com>
41894         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
41895         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41896         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
41897         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
41898         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41899         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41900         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41901         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41902         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
41903         use of regs.  Use power7 mtocrf.  Tidy function tails.
41905 2013-10-04  Alan Modra  <amodra@gmail.com>
41907         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
41908         Formatting.  Consistently use rXXX register defines or rN defines.
41909         Use early exit labels that avoid restoring unused non-volatile regs.
41910         Make cr field use more consistent with rWORDn compares.  Rename
41911         regs used as shift registers for unaligned loop, using rN defines
41912         for short lifetime/multiple use regs.
41913         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41914         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
41915         addi 1,1,64 to pop stack frame.  Simplify return value code.
41916         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41918 2013-10-04  Alan Modra  <amodra@gmail.com>
41920         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
41921         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
41922         rather than rlwimi.
41923         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
41924         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
41925         little-endian support.  Correct typos.
41926         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
41927         rather than rlwimi.
41928         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
41929         in loop and entry code to keep "and." results.
41930         (strchr): Add little-endian support.  Comment.  Move cntlzd
41931         earlier in tail.
41932         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
41934 2013-10-04  Alan Modra  <amodra@gmail.com>
41936         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
41937         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
41938         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
41939         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
41941 2013-10-04  Alan Modra  <amodra@gmail.com>
41943         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
41944         (rTMP): Define as r11.
41945         (strcmp): Add little-endian support.  Optimise tail.
41946         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
41947         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41948         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41949         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41950         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41951         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41952         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41954 2013-10-04  Alan Modra  <amodra@gmail.com>
41956         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
41957         little-endian support.  Remove unnecessary "are we done" tests.
41958         Handle "s" wrapping around zero and extremely large "size".
41959         Correct main loop count.  Handle single left-over word from main
41960         loop inline rather than by using small_loop.  Correct comments.
41961         Delete "zero" tail, use "end_max" instead.
41962         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
41964 2013-10-04  Alan Modra  <amodra@gmail.com>
41966         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
41967         support.  Don't branch over align.
41968         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
41969         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
41970         support.  Rearrange tmp reg use to suit.  Comment.
41971         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
41973 2013-10-04  Alan Modra  <amodra@gmail.com>
41975         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
41977 2013-10-04  Alan Modra  <amodra@gmail.com>
41979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
41980         conditional form of branch and link when obtaining pc.
41981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
41983 2013-10-04  Alan Modra  <amodra@gmail.com>
41985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
41986         HIWORD/LOWORD.
41987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
41988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
41990 2013-10-04  Alan Modra  <amodra@gmail.com>
41992         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
41993         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
41994         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
41995         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
41996         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41997         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41998         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
41999         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42000         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
42001         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
42003 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42004             Alistair Popple <alistair@ozlabs.au.ibm.com>
42005             Alan Modra <amodra@gmail.com>
42007         [BZ #15723]
42008         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
42009         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
42010         _dl_hwcap access for little-endian.
42011         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
42012         destroy vmx regs when saving unaligned.
42013         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
42014         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
42015         destroy vmx regs when saving unaligned.
42017 2013-10-04  Alan Modra  <amodra@gmail.com>
42019         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
42020         Don't use a union to pack hi/low value.
42022 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42024         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
42025         for little-endian.
42026         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
42027         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
42028         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
42029         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
42030         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42032 2013-10-04  Alan Modra  <amodra@gmail.com>
42034         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
42035         constants to usual value for .cst8 section, and remove redundant
42036         high address load.
42037         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
42038         constant for 0x1p52.  Load little-endian words of double from
42039         correct stack offsets.
42041 2013-10-04  Alan Modra  <amodra@gmail.com>
42043         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
42044         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
42045         words of double from correct stack offsets.
42046         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
42047         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
42048         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42049         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42050         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42051         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42052         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42053         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
42054         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
42055         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42056         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42057         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42058         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42059         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42060         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42061         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
42062         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
42064 2013-10-04  Alan Modra  <amodra@gmail.com>
42066         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
42067         64-bit int/double union.
42068         (_FPU_SETCW): Likewise.
42069         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
42070         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
42072 2013-10-04  Alan Modra  <amodra@gmail.com>
42074         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
42075         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
42077 2013-10-04  Alan Modra  <amodra@gmail.com>
42079         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
42080         use vector int constants.
42081         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
42083 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42085         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
42086         array with long long.
42087         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
42088         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
42089         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
42090         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
42091         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
42092         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
42093         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
42094         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
42095         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
42096         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
42097         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
42098         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
42099         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
42101 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42103         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
42104         (__signbit): Likewise.  Correct for little-endian.
42105         (__signbitl): Call __signbit.
42106         (lrint): Correct for little-endian.
42107         (lrintf): Call lrint.
42109 2013-10-04  Alan Modra  <amodra@gmail.com>
42111         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
42112         union 32-bit int array member with 64-bit int array.
42113         (t515, tm256): Double rather than long double.
42114         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
42116 2013-10-04  Alan Modra  <amodra@gmail.com>
42118         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
42119         Delete.
42120         (IEEE854_LONG_DOUBLE_BIAS): Delete.
42121         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
42122         version of math_ldbl.h.
42124 2013-10-04  Alan Modra  <amodra@gmail.com>
42126         [BZ #15734], [BZ #15735]
42127         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
42128         all uses of ieee875 long double macros and unions.  Simplify test
42129         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
42130         ldbl_extract_mantissa value for ix,iy exponents.  Properly
42131         normalize after ldbl_extract_mantissa, and don't add hidden bit
42132         already handled.  Don't treat low word of ieee854 mantissa like
42133         low word of IBM long double and mask off bit when testing for
42134         zero.
42135         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
42136         all uses of ieee875 long double macros and unions.  Simplify tests
42137         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
42138         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
42139         two1022, instead use their values.  Recognise that tests for large
42140         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
42141         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
42142         Rewrite all uses of ieee875 long double macros and unions.  Simplify
42143         test for 0.0L and nan.  Correct negation.
42144         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
42145         ieee875 long double macros and unions.  Correct output for large
42146         magnitude x.  Correct absolute value calculation.
42147         (__erfcl): Likewise.
42148         * math/libm-test.inc: Add tests for errors discovered in IBM long
42149         double versions of fmodl, remainderl, erfl and erfcl.
42151 2013-10-04  Alan Modra  <amodra@gmail.com>
42153         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
42154         all uses of ieee854 long double macros and unions.  Simplify tests
42155         for long doubles that are fully specified by the high double.
42156         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
42157         Likewise.
42158         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
42159         Remove dead code too.
42160         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
42161         (__ieee754_ynl): Likewise.
42162         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
42163         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
42164         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
42165         Remove dead code too.
42166         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
42167         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
42168         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
42169         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
42170         Simplify.
42171         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
42172         Simplify.
42173         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
42174         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
42175         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
42176         Comment on variable precision.
42177         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
42178         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42179         Likewise.
42180         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
42181         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42182         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42183         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
42184         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
42186 2013-10-04  Alan Modra  <amodra@gmail.com>
42188         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
42189         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
42190         all uses of ieee854 long double macros and unions.
42191         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
42192         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42193         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
42194         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
42195         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
42196         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42197         Likewise.
42198         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
42199         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42200         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
42201         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42202         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
42203         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
42204         Simplify sign and nan test too.
42205         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
42206         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
42207         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
42208         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
42209         Likewise.
42210         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42211         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
42212         Likewise.
42213         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42214         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
42215         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
42216         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
42217         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
42218         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
42220 2013-10-04  Alan Modra  <amodra@gmail.com>
42222         * stdio-common/printf_size.c (__printf_size): Don't use
42223         union ieee854_long_double in fpnum union.
42224         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
42225         signbit macro to retrieve sign from long double.
42226         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
42227         retrieve sign from long double.
42228         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
42229         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
42230         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
42231         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42232         * math/test-misc.c (main): Don't use union ieee854_long_double.
42234 2013-10-04  Alan Modra  <amodra@gmail.com>
42236         [BZ #15680]
42237         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
42238         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
42239         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
42240         calculation.  Remove unnecessary test for denormal exponent.
42241         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
42242         Correct handling of denormals.  Avoid undefined shift behaviour.
42243         Correct normalisation of low mantissa when low double is denormal.
42244         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
42245         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
42246         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
42247         Correct normalisation of low mantissa.  Test for overflow of high
42248         mantissa and normalise.
42249         (ldbl_nearbyint): Use more readable constant for two52.
42250         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
42251         (__mpn_construct_long_double): Fix test for overflow of high
42252         mantissa and correct normalisation.  Avoid undefined shift.
42254 2013-10-04  Alan Modra  <amodra@gmail.com>
42256         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
42257         (union ibm_extended_long_double): Define as an array of ieee754_double.
42258         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
42259         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
42260         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
42261         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42262         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42263         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
42264         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42265         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42266         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42267         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
42268         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42270 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
42272         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
42273         page size instead of calling getpagesize.
42275         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
42276         (LOCFILE_ALIGN_MASK): Likewise.
42277         (LOCFILE_ALIGN_UP): Likewise.
42278         (LOCFILE_ALIGNED_P): Likewise.
42279         * locale/programs/ld-collate.c (collate_output): Use the new
42280         macros instead of __alignof__ (int32_t).
42281         * locale/weight.h (findidx): Likewise.
42283 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
42285         [BZ #431]
42286         * manual/string.texi: Fix strncat and wcsncat.
42288 2013-10-03  Brooks Moses  <bmoses@google.com>
42290         [BZ #15915]
42291         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
42292         * Makerules: ...here, and adjust associated comments.
42294 2013-10-02  Will Newton  <will.newton@linaro.org>
42296         * malloc/Makefile: Add tst-pvalloc.
42297         * malloc/tst-pvalloc.c: New file.
42299 2013-10-02  Will Newton  <will.newton@linaro.org>
42301         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
42302         improve test coverage.
42304 2013-10-02  Will Newton  <will.newton@linaro.org>
42306         * malloc/Makefile: Add tst-posix_memalign.
42307         * malloc/tst-posix_memalign.c: New file.
42309 2013-10-01  Eric Blake  <eblake@redhat.com>
42311         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
42312         Use __THROWNL rather than __THROW on static functions.
42314 2013-09-30  Petr Machata  <pmachata@redhat.com>
42316         * elf/elf.h (R_AARCH64_ABS16): New macro.
42317         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
42318         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
42319         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
42320         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
42321         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
42322         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
42323         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
42324         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
42325         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
42326         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
42327         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
42328         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
42329         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
42330         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
42331         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
42332         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
42333         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
42334         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
42335         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
42336         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
42337         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
42338         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
42339         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
42340         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
42341         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
42342         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
42343         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
42344         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
42345         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
42346         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
42347         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
42348         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
42349         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
42350         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
42351         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
42352         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
42353         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
42354         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
42355         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
42356         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
42357         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
42358         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
42359         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
42360         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
42361         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
42362         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
42363         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
42364         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
42365         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
42366         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
42367         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
42368         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
42369         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
42370         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
42371         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
42372         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
42373         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
42374         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
42375         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
42376         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
42377         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
42378         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
42379         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
42380         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
42381         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
42382         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
42383         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
42384         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
42385         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
42386         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
42387         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
42388         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
42389         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
42390         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
42391         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
42392         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
42393         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
42394         (R_AARCH64_TLSDESC_LDR): Likewise.
42395         (R_AARCH64_TLSDESC_ADD): Likewise.
42396         (R_AARCH64_TLSDESC_CALL): Likewise.
42398 2013-09-30  Andreas Schwab  <schwab@suse.de>
42400         [BZ #15048]
42401         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
42402         the nss database lookup.
42403         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42404         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42406 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
42408         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
42410 2013-09-28  P. J. McDermott  <pj@pehjota.net>
42412         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
42413         ${Bash-specific parameter/pattern/string} parameter expansion.
42414         * sysdeps/unix/make-syscalls.sh: Likewise.
42416 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42418         * sysdeps/sh/stackguard-macros.h: New file.
42420 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
42422         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42423         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
42424         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
42425         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
42426         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42427         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
42429 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42431         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
42432         Fix thread ID register.
42434 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
42436         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
42437         [POSIX || UNIX98]: Require rather than permitting all symbols from
42438         <time.h>.
42439         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
42440         element of struct sched_param.
42441         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
42442         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
42443         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
42444         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
42445         constant.
42447 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
42449         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
42450         argument calculation.
42452 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
42454         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
42455         Expect macro.
42456         [POSIX] (pthread_attr_t): Do not require type.
42457         [POSIX] (pthread_cond_t): Likewise.
42458         [POSIX] (pthread_condattr_t): Likewise.
42459         [POSIX] (pthread_key_t): Likewise.
42460         [POSIX] (pthread_mutex_t): Likewise.
42461         [POSIX] (pthread_mutexattr_t): Likewise.
42462         [POSIX] (pthread_once_t): Likewise.
42463         [POSIX] (pthread_t): Likewise.
42464         [POSIX-based standards] (pthread_atfork): Expect function.
42466 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
42467             Richard Sandiford  <richard@codesourcery.com>
42469         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
42470         (swap_endianness_p): New extern variable.
42471         (set_big_endian): New inline function.
42472         (maybe_swap_uint32): Likewise.
42473         (maybe_swap_uint32_array): Likewise.
42474         (maybe_swap_uint32_obstack): Likewise.
42475         * locale/programs/locfile.c: Include <stdbool.h>.
42476         (swap_endianness_p): New variable.
42477         (add_locale_uint32): Call maybe_swap_uint32.
42478         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
42479         (write_locale_data): Call maybe_swap_uint32_array.
42480         * locale/programs/ld-collate.c (obstack_int32_grow): Call
42481         maybe_swap_uint32.
42482         (obstack_int32_grow_fast): Likewise.
42483         (output_weightwc): Call maybe_swap_uint32_obstack.
42484         (collate_output): Likewise.
42485         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
42486         (OPT_LITTLE_ENDIAN): Likewise.
42487         (options): Add --little-endian and --big-endian options.
42488         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
42489         * locale/programs/locarchive.c: Include "locfile.h".
42490         (GET): New macro.
42491         (SET): Likewise.
42492         (INC): Likewise.
42493         (create_archive): Use the new macros to access fields of
42494         structures directly mapped from or written to locale archives.
42495         (oldlocrecentcmp): Likewise.
42496         (enlarge_archive): Likewise.
42497         (insert_name): Likewise.
42498         (add_alias): Likewise.
42499         (add_locale): Likewise.
42500         (delete_locales_from_archive): Likewise.
42501         (show_archive_content): Likewise.
42502         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
42503         locale data.
42505 2013-09-24  Roland McGrath  <roland@hack.frob.com>
42507         * manual/freemanuals.texi: Updated from (newly) canonical copy at
42508         http://www.gnu.org/doc/freemanuals.texi.
42509         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
42511 2013-09-24  Will Newton  <will.newton@linaro.org>
42513         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
42514         macro.
42516 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
42518         * locale/hashval.h (compute_hashval): Interpret bytes of key as
42519         unsigned char.
42521 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
42523         * manual/threads.texi (POSIX Threads): Fix a typo.
42525 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42527         [BZ #14547]
42528         * string/tst-strcoll-overflow.c: New test case.
42529         * string/Makefile (xtests): Add tst-strcoll-overflow.
42530         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
42531         cache if string sizes may cause integer overflow.
42533         [BZ #14547]
42534         * string/strcoll_l.c (coll_seq): New members rule, idx,
42535         save_idx and back_us.
42536         (get_next_seq_nocache): New function.
42537         (do_compare_nocache): New function.
42538         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
42539         when malloc fails.
42541 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
42543         [BZ #15754]
42544         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
42545         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
42546         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
42548         [BZ #15754]
42549         * elf/Makefile (tests): Add tst-ptrguard1.
42550         (tests-static): Add tst-ptrguard1-static.
42551         (tst-ptrguard1-ARGS): Define.
42552         (tst-ptrguard1-static-ARGS): Define.
42553         * elf/tst-ptrguard1.c: New file.
42554         * elf/tst-ptrguard1-static.c: New file.
42555         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
42556         * sysdeps/i386/stackguard-macros.h: Likewise.
42557         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42558         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42559         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42560         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42561         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42562         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42564 2013-09-23  Hector Marco  <hecmargi@upv.es>
42565             Ismael Ripoll  <iripoll@disca.upv.es>
42566             Carlos O'Donell  <carlos@redhat.com>
42568         [BZ #15754]
42569         * sysdeps/generic/stackguard-macros.h: Define
42570         __pointer_chk_guard_local and POINTER_CHK_GUARD.
42571         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
42572         Define __pointer_chk_guard_local.
42573         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
42574         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
42576 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
42578         [BZ #15859]
42579         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
42581 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
42583         * include/string.h (__ffs): Declare as hidden.
42584         * string/ffs.c (__ffs): Define as hidden.
42585         * sysdeps/i386/ffs.c (__ffs): Likewise.
42586         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
42587         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
42588         * sysdeps/s390/ffs.c (__ffs): Likewise.
42589         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
42591 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
42593         * NEWS: Mention malloc probes.
42595         * malloc/arena.c (new_heap): New memory_heap_new probe.
42596         (grow_heap): New memory_heap_more probe.
42597         (shrink_heap): New memory_heap_less probe.
42598         (heap_trim): New memory_heap_free probe.
42599         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
42600         (systrim): New memory_sbrk_less probe.
42601         * manual/probes.texi: Document them.
42603         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
42604         * manual/probes.texi: Document it.
42606         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
42607         (__libc_realloc): Add memory_realloc_retry probe.
42608         (__libc_memalign): Add memory_memalign_retry probe.
42609         (__libc_valloc): Add memory_valloc_retry probe.
42610         (__libc_pvalloc): Add memory_pvalloc_retry probe.
42611         (__libc_calloc): Add memory_calloc_retry probe.
42612         * manual/probes.texi: Document them.
42614         * malloc/arena.c (get_free_list): Add probe
42615         memory_arena_reuse_free_list.
42616         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
42617         and memory_arena_reuse.
42618         (arena_get2) [!PER_THREAD]: Likewise.
42619         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
42620         memory_arena_reuse_realloc.
42621         * manual/probes.texi: Document them.
42623         * malloc/malloc.c (__libc_free): Add
42624         memory_mallopt_free_dyn_thresholds probe.
42625         (__libc_mallopt): Add multiple memory_mallopt probes.
42626         * manual/probes.texi: Document them.
42628         * malloc/malloc.c: Include stap-probe.h.
42629         (__libc_mallopt): Add memory_mallopt probe.
42630         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
42631         * manual/probes.texi: New.
42632         * manual/Makefile (chapters): Add probes.
42633         * manual/threads.texi: Set next node.
42635 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
42637         [BZ #15963, #13985]
42638         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
42639         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
42640         Add `Chinese' to `nan' entry name.
42642 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42644         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
42645         (POLYNOMIAL): Likewise.
42646         (TAYLOR_SINCOS): Likewise.
42647         (TAYLOR_SLOW): Likewise.
42648         (__sin): Use TAYLOR_SINCOS.
42649         (__cos): Likewise.
42650         (slow): Use TAYLOR_SLOW.
42651         (sloww): Likewise.
42652         (bsloww): Likewise.
42653         (csloww): Likewise.
42655 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42657         * stdlib/strtod_l.c: Fix buffer overrun.
42659 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42661         * benchtests/Makefile (bench): Add sincos.
42662         * benchtests/bench-sincos.c: New file.
42664         * math/libm-test.inc (cos_test_data): New test inputs.
42665         (sin_test_data): Likewise.
42667         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
42668         macro.
42669         (__sin): Use it.
42670         (__cos): Likewise.
42671         (slow1): Likewise.
42672         (slow2): Likewise.
42673         (sloww1): Likewise.
42674         (sloww2): Likewise.
42675         (bsloww1): Likewise.
42676         (bsloww2): Likewise.
42677         (cslow2): Likewise.
42678         (csloww1): Likewise.
42679         (csloww2): Likewise.
42681         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
42682         function.
42683         (__sin): Use it.
42684         (__cos): Likewise.
42686         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
42687         gotos.
42688         (__cos): Likewise.
42690 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
42692         * config.h.in (HAVE_MIPS_NAN2008): New macro.
42693         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
42694         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
42695         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
42696         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
42697         * elf/cache.c (print_entry): Handle the new cache flags.
42699 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
42700             Aldy Hernandez  <aldyh@redhat.com>
42702         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
42703         Change condition to [_SOFT_FLOAT].
42704         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
42705         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
42706         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
42707         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
42708         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
42709         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
42710         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
42711         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
42712         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
42713         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
42714         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
42715         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
42716         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
42717         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
42718         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
42719         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
42720         declaration.
42722 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
42724         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
42725         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
42726         (__longjmp): Use LOAD_GP to load saved GPRs.
42727         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
42728         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
42729         (__sigsetjmp): Use SAVE_GP to save GPRs.
42731         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
42732         Do not append -msoft-float.
42733         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
42735 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42737         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
42739 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
42741         [BZ #15966]
42742         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
42743         (_FPU_GETCW): Use initial "__" on variable and field names but not
42744         on macro parameter name.
42745         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
42746         parentheses around reference to macro parameter.
42748 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
42750         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
42751         prototype.
42752         (ctype_startup): Use uint32_t in cast and sizeof for
42753         ctype->charnames.
42755 2013-09-11  Jia Liu  <proljc@gmail.com>
42757         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
42758         __daddr_t_defined.
42759         [__FreeBSD__]: Likewise.
42761 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
42763         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
42764         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
42765         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
42766         (strchr): Remove __strchr_sse42 ifunc selection.
42767         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
42768         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
42770 2013-09-11  Will Newton  <will.newton@linaro.org>
42772         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
42773         parameter to RES. Remove hardcoded 1000 value.
42774         * benchtests/bench-skeleton.c (main): Pass RES parameter
42775         to TIMING_INIT and multiply result by 1000.
42777 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42781 2013-09-11  Andreas Schwab  <schwab@suse.de>
42783         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
42784         if not defined.
42785         (O_TMPFILE) [__USE_GNU]: Define.
42786         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
42787         Define.
42789 2013-09-11  Will Newton  <will.newton@linaro.org>
42791         [BZ #15857]
42792         * malloc/malloc.c (__libc_memalign): Check the value of bytes
42793         does not overflow.
42795 2013-09-11  Will Newton  <will.newton@linaro.org>
42797         [BZ #15856]
42798         * malloc/malloc.c (__libc_valloc): Check the value of bytes
42799         does not overflow.
42801 2013-09-11  Will Newton  <will.newton@linaro.org>
42803         [BZ #15855]
42804         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
42805         does not overflow.
42807 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
42809         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
42810         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42811         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42812         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42813         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42815 2013-09-10  Allan McRae  <allan@archlinux.org>
42817         [BZ #15748]
42818         * manual/arith.texi (Parsing of Floats): Clarify
42819         cross-reference.
42821         [BZ #15849]
42822         * manual/install.texi (Running make install): Mention
42823         --enable-pt-chown.
42824         * INSTALL: Regenerated.
42826 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
42828         * csu/init-first.c (_init): Remove the !SHARED condition around
42829         FPU control word initialization.
42830         * elf/dl-support.c (_dl_fpu_control): New variable.
42831         (_dl_aux_init) <AT_FPUCW>: Initialize it.
42832         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
42833         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
42834         * math/test-fpucw-static.c: New file.
42835         * math/test-fpucw-ieee.c: New file.
42836         * math/test-fpucw-ieee-static.c: New file.
42837         * math/Makefile (tests): Add `test-fpucw-ieee' and
42838         `$(tests-static)'.
42839         (tests-static): New variable.
42840         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
42841         dependency to...
42842         [($(build-shared),yes)]
42843         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
42844         ... this.
42845         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
42846         New dependency.
42848 2013-09-09  Allan McRae  <allan@archlinux.org>
42850         [BZ #15939]
42851         * manual/string.texi (Collation Functions): Fix typo in
42852         strcoll example.
42853         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
42855         [BZ #15893]
42856         * stdlib/isomac.c (get_null_defines): Fix memory leak.
42858         [BZ #15892]
42859         * libio/memstream.c (open_memstream): Fix memory leak.
42860         * libio/wmemstream.c (open_wmemstream): Likewise.
42862         [BZ #15895]
42863         * nscd/netgroupcache.c: Fix nesting of ifdefs.
42865 2013-09-09  Will Newton  <will.newton@linaro.org>
42867         * malloc/Makefile: Add tst-realloc to tests.
42868         * malloc/tst-realloc.c: New file.
42870 2013-09-09  Allan McRae  <allan@archlinux.org>
42872         [BZ #15844]
42873         * COPYING: Update from GNU website to fix FSF address.
42874         * COPYING.LIB: Likewise.
42876 2013-09-06  David S. Miller  <davem@davemloft.net>
42878         * po/zh_TW.po: Update Chinese (traditional) translation from
42879         translation project.
42881 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
42882             Joseph Myers  <joseph@codesourcery.com>
42884         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
42885         "localeinfo.h".
42886         (obstack_chunk_alloc): New macro.
42887         (obstack_chunk_free): Likewise.
42888         (record_offset): New function.
42889         (init_locale_data): Likewise.
42890         (align_locale_data): Likewise.
42891         (add_locale_empty): Likewise.
42892         (add_locale_raw_data): Likewise.
42893         (add_locale_raw_obstack): Likewise.
42894         (add_locale_string): Likewise.
42895         (add_locale_wstring): Likewise.
42896         (add_locale_uint32): Likewise.
42897         (add_locale_uint32_array): Likewise.
42898         (add_locale_char): Likewise.
42899         (start_locale_structure): Likewise.
42900         (end_locale_structure): Likewise.
42901         (start_locale_prelude): Likewise.
42902         (end_locale_prelude): Likewise.
42903         (write_locale_data): Take locale_file structure rather than an
42904         iovec.
42905         * locale/programs/locfile.h: Include "obstack.h".
42906         (struct locale_file): Change to store locale file contents instead
42907         of header.
42908         (init_locale_data): New prototype.
42909         (align_locale_data): Likewise.
42910         (add_locale_empty): Likewise.
42911         (add_locale_raw_data): Likewise.
42912         (add_locale_raw_obstack): Likewise.
42913         (add_locale_string): Likewise.
42914         (add_locale_wstring): Likewise.
42915         (add_locale_uint32): Likewise.
42916         (add_locale_uint32_array): Likewise.
42917         (add_locale_char): Likewise.
42918         (start_locale_structure): Likewise.
42919         (end_locale_structure): Likewise.
42920         (start_locale_prelude): Likewise.
42921         (end_locale_prelude): Likewise.
42922         (write_locale_data): Update prototype.
42923         * locale/programs/3level.h (struct TABLE): Remove result field.
42924         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
42925         Use new locale_file interface.
42926         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
42927         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
42928         * locale/programs/ld-address.c (address_output): Use new
42929         locale_file interface.
42930         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
42931         NO_ADD_LOCALE.
42932         (collate_finish): Don't call collseq_table_finalize.
42933         (collate_output): Use new locale_file interface.
42934         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
42935         in file.
42936         (NO_FINALIZE): Change to NO_ADD_LOCALE.
42937         (TABLE): Move defines earlier in file.
42938         (ELEMENT): Likewise.
42939         (DEFAULT): Likewise.
42940         (wctrans_table_add): Move macro and inline function earlier in
42941         file.
42942         (struct wctype_table): Move type earlier in file.
42943         (add_locale_wctype_table): New static prototype.
42944         (struct locale_ctype_t): Use logical types instead of struct iovec
42945         pointers for members.
42946         (ctype_output): Use new locale_file interface.
42947         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
42948         new locale_file interface.
42949         (allocate_arrays): Update for use of new locale_file interface.
42950         * locale/programs/ld-identification.c (identification_output): Use
42951         new locale_file interface.
42952         * locale/programs/ld-measurement.c (measurement_output): Likewise.
42953         * locale/programs/ld-messages.c (messages_output): Likewise.
42954         * locale/programs/ld-monetary.c (monetary_output): Likewise.
42955         * locale/programs/ld-name.c (name_output): Likewise.
42956         * locale/programs/ld-numeric.c (numeric_output): Likewise.
42957         * locale/programs/ld-paper.c (paper_output): Likewise.
42958         * locale/programs/ld-telephone.c (telephone_output): Likewise.
42959         * locale/programs/ld-time.c (time_output): Likewise.
42961 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42963         * benchtests/Makefile: Add memrchr benchmark.
42964         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
42965         benchmark as memrchr.
42966         * benchtests/bench-memrchr-ifunc.c: New file.
42967         * benchtests/bench-memrchr.c: New file.
42969 2013-09-06   Will Newton  <will.newton@linaro.org>
42971         * benchtests/Makefile (string-bench): Add memcpy.
42973 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
42974             Cong Wang  <amwang@redhat.com>
42976         [BZ #15850]
42977         * sysdeps/unix/sysv/linux/bits/in.h
42978         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
42979         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
42980         before __USE_KERNEL_IPV6_DEFS uses.
42981         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
42982         IPPROTO_BEETPH.
42983         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
42984         sockaddr_in6, or ipv6_mreq.
42986 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42988         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
42989         memory access for final bytes in some large inputs.
42990         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
42992 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42994         * string/test-memrchr.c: New file.
42995         * string/test-memrchr-ifunc.c: New file.
42996         * string/Makefile: Add new memrchr testcase.
42998 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
43000         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
43001         fanotify_init returns EPERM.
43003 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
43005         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
43006         errors.
43007         (top level): Treat second token from macro or constant entries for
43008         allowed headers as allowed.
43009         * include/complex.h: Condition internal declarations on
43010         [!_ISOMAC].
43011         * include/fenv.h: Condition include of <stdbool.h> and internal
43012         declarations on [!_ISOMAC].
43014 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
43016         [BZ #15923]
43017         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
43019 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
43021         * configure.in (--enable-versioning): Remove configure option.
43022         (libc_cv_asm_symver_directive): Remove configure test.
43023         (libc_cv_ld_version_script_option): Likewise.
43024         (VERSIONING): Remove variable and AC_SUBST.
43025         (DO_VERSIONING): Remove AC_DEFINE.
43026         * configure: Regenerated.
43027         * config.h.in (DO_VERSIONING): Remove macro.
43028         * Makerules [$(versioning) = yes]: Change conditionals to
43029         [$(build-shared) = yes].
43030         * config.make.in (versioning): Remove variable.
43031         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
43032         [$(build-shared) = yes].
43033         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
43034         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
43035         * elf/Makefile [$(versioning) = yes]: Change conditionals to
43036         [$(build-shared) = yes].
43037         * extra-lib.mk [$(versioning) = yes]: Likewise.
43038         * hurd/Makefile [$(versioning) = yes]: Likewise.
43039         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
43040         [SHARED].
43041         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
43042         [SHARED].
43043         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43044         [SHARED && !NO_HIDDEN].
43045         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
43046         [SHARED].
43047         [SHARED && DO_VERSIONING]: Likewise..
43048         * libio/Makefile [$(versioning) = yes]: Change conditionals to
43049         [$(build-shared) = yes].
43050         * manual/install.texi (--disable-versioning): Remove
43051         documentation.
43052         * INSTALL: Regenerated.
43053         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
43054         to [SHARED].
43055         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
43056         [$(build-shared) = yes].
43057         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
43058         * sysdeps/i386/i686/multiarch/strstr-c.c
43059         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43060         [SHARED && !NO_HIDDEN].
43061         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
43062         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
43063         * sysdeps/powerpc/powerpc32/dl-machine.c
43064         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
43065         * sysdeps/powerpc/powerpc32/sysdep.h
43066         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
43067         to [SHARED && PIC && !NO_HIDDEN].
43068         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
43069         conditional to [SHARED].
43071 2013-09-04   Will Newton  <will.newton@linaro.org>
43073         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
43074         * benchtests/bench-string.h: Include bench-timing.h instead
43075         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
43076         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
43077         call to HP_TIMING_DIFF_INIT.
43078         * benchtests/bench-memccpy.c: Use bench-timing.h macros
43079         instead of hp-timing.h macros.
43080         * benchtests/bench-memchr.c: Likewise.
43081         * benchtests/bench-memcmp.c: Likewise.
43082         * benchtests/bench-memcpy.c: Likewise.
43083         * benchtests/bench-memmem.c: Likewise.
43084         * benchtests/bench-memmove.c: Likewise.
43085         * benchtests/bench-memset.c: Likewise.
43086         * benchtests/bench-rawmemchr.c: Likewise.
43087         * benchtests/bench-strcasecmp.c: Likewise.
43088         * benchtests/bench-strcasestr.c: Likewise.
43089         * benchtests/bench-strcat.c: Likewise.
43090         * benchtests/bench-strchr.c: Likewise.
43091         * benchtests/bench-strcmp.c: Likewise.
43092         * benchtests/bench-strcpy.c: Likewise.
43093         * benchtests/bench-strcpy_chk.c: Likewise.
43094         * benchtests/bench-strlen.c: Likewise.
43095         * benchtests/bench-strncasecmp.c: Likewise.
43096         * benchtests/bench-strncat.c: Likewise.
43097         * benchtests/bench-strncmp.c: Likewise.
43098         * benchtests/bench-strncpy.c: Likewise.
43099         * benchtests/bench-strnlen.c: Likewise.
43100         * benchtests/bench-strpbrk.c: Likewise.
43101         * benchtests/bench-strrchr.c: Likewise.
43102         * benchtests/bench-strspn.c: Likewise.
43103         * benchtests/bench-strstr.c: Likewise.
43105 2013-09-04  Will Newton  <will.newton@linaro.org>
43107         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
43109 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
43111         [BZ #15427]
43112         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
43113         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
43114         * math/libm-test.inc (lgamma_test_data): Add more tests.
43115         * sysdeps/i386/fpu/libm-test-ulps: Update.
43116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43118 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
43120         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
43121         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43122         Add ifunc.
43123         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43124         Add strcmp-sse2-unaligned
43125         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
43127 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43129         * Versions.def (libc): Add GLIBC_2.19.
43131 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43133         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
43134         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
43136 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
43138         [BZ #14155]
43139         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
43140         intermediate calculations in recurrence.
43141         (__ieee754_ynf): Likewise.
43142         * math/libm-test.inc (jn_test_data): Do not allow spurious
43143         underflow exception.  Add more tests.
43144         (yn_test_data): Add more tests.
43145         * sysdeps/i386/fpu/libm-test-ulps: Update.
43146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43148 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
43150         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
43152 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43154         * csu/init-first.c: Fix then/than typos.
43155         * locale/programs/ld-collate.c: Likewise.
43156         * locale/programs/linereader.h: Likewise.
43157         * manual/charset.texi: Likewise.
43158         * manual/filesys.texi: Likewise.
43159         * manual/stdio.texi: Likewise.
43160         * manual/string.texi: Likewise.
43161         * stdlib/fmtmsg.c: Likewise.
43162         * sysdeps/i386/stpncpy.S: Likewise.
43163         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43164         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43165         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43166         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43168 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43170         * elf/dl-open.c: Fix typos.
43171         * iconvdata/gbbig5.c: Likewise.
43172         * iconvdata/iso-2022-jp.c: Likewise.
43173         * iconv/gconv_int.h: Likewise.
43174         * iconv/loop.c: Likewise.
43175         * nis/rpcsvc/nis.h: Likewise.
43176         * resolv/ns_name.c: Likewise.
43177         * stdio-common/vfscanf.c: Likewise.
43178         * streams/stropts.h: Likewise.
43179         * sunrpc/rpc_thread.c: Likewise.
43180         * sysdeps/i386/strpbrk.S: Likewise.
43181         * sysdeps/ieee754/k_standard.c: Likewise.
43182         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43183         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43184         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
43185         * sysdeps/mach/hurd/profil.c: Likewise.
43186         * sysdeps/s390/dl-procinfo.h: Likewise.
43187         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
43188         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
43189         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
43190         * sysdeps/x86_64/dl-trampoline.S: Likewise.
43191         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43193 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
43195         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
43196         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
43198 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
43200         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
43201         aix specific files.
43202         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
43203         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
43204         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
43205         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
43206         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
43207         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
43208         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
43209         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
43211 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43212             Roland McGrath  <roland@hack.frob.com>
43214         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
43215         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
43217 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43219         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
43220         __executable_start symbol instead of _start.
43222 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43224         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
43225         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
43226         Move macros to...
43227         * sysdeps/gnu/ldsodefs.h: ... this new file.
43229         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
43230         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
43231         instead of ELFOSABI_LINUX.
43233         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
43234         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
43235         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
43236         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
43237         Likewise.
43238         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
43239         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
43240         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
43241         Likewise.
43242         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43243         (ibm_extended_long_double): Add ieee_nan member.
43244         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
43245         (do_test): New function.
43247         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
43248         TEST_TRUNC.
43249         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
43250         functions, renamed from truncdfsf_test, trunctfsf_test,
43251         trunctfdf_test.
43252         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
43253         functions.
43254         (do_test): Run all these.
43256 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
43258         * argp/argp-help.c: Fix typos.
43259         * argp/argp-parse.c: Likewise.
43260         * debug/backtracesyms.c: Likewise.
43261         * elf/elf.h: Likewise.
43262         * malloc/malloc.c: Likewise.
43263         * nis/nis_print.c: Likewise.
43264         * resolv/res_comp.c: Likewise.
43265         * stdlib/stdlib.h: Likewise.
43266         * sunrpc/clnt_tcp.c: Likewise.
43267         * sunrpc/clnt_udp.c: Likewise.
43268         * sunrpc/clnt_unix.c: Likewise.
43269         * sysdeps/unix/bsd/ptsname.c: Likewise.
43270         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
43271         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
43272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
43273         Likewise.
43274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
43275         Likewise.
43276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
43277         Likewise.
43278         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43280 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43282         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
43283         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43285 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
43287         [BZ #15897]
43288         * dlfcn/Makefile (tests): Add bug-dl-leaf.
43289         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
43290         ($(objpfx)bug-dl-leaf): New rule.
43291         ($(objpfx)bug-dl-leaf.so): Likewise.
43292         ($(objpfx)bug-dl-leaf.out): Likewise.
43293         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
43294         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
43295         * dlfcn/bug-dl-leaf.c: New test.
43296         * dlfcn/bug-dl-leaf-lib.c: Likewise.
43297         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
43298         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
43299         (dlclose): Likewise.
43300         (dlmopen): Likewise.
43302 2013-08-27  Roland McGrath  <roland@hack.frob.com>
43304         * include/netdb.h [!_ISOMAC]:
43305         Don't include <tls.h>.
43306         (h_errno, __libc_h_errno): Move declaration and macros out of
43307         [_LIBC_REENTRANT].
43309         * include/resolv.h [_RESOLV_H_]:
43310         Don't include <tls.h>.
43311         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
43312         * resolv/res_libc.c: Don't include <tls.h>.
43313         (_res): Use __attribute__ ((nocommon)) in place of
43314         __attribute__ ((section (".bss"))).
43316         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
43317         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
43319         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
43321         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
43322         only under [SIOCGIFCONF && SIOCGIFNETMASK].
43324         * resolv/res_mkquery.c: Include <sys/time.h>.
43326         * inet/ifreq.c: Moved to ...
43327         * sysdeps/unix/ifreq.c: ... here.
43328         * inet/ifreq.c: New file, true stub version.
43330         * socket/sa_len.c: New file.
43331         * socket/Makefile (aux): Add it.
43332         * sysdeps/unix/sysv/linux/Makefile
43333         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
43334         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
43335         and #include <socket/sa_len.c>.
43336         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
43337         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
43339         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
43340         * bits/socket.h: ... here.
43342         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
43343         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
43344         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
43346 2013-08-27  Andreas Schwab  <schwab@suse.de>
43348         [BZ #15736]
43349         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
43350         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
43351         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
43352         * string/test-strcasecmp.c (test_main): Run tests in several
43353         locales.
43354         * string/test-strncasecmp.c (test_main): Likewise.
43356         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
43357         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
43358         to __strcasecmp_nonascii and __strncasecmp_nonascii.
43359         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
43360         (__strncasecmp_ssse3) [PIC]: Likewise.
43362 2013-08-26  Roland McGrath  <roland@hack.frob.com>
43364         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
43366         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
43367         instead of explicitly declaring xdecrypt.
43368         * nis/nss_nis/nis-publickey.c: Likewise.
43370 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43372         [BZ #15890]
43373         * nscd/aicache.c: Include res_hconf.h.
43374         (addhstaiX): Initialize res_hconf.
43376 2013-08-26  Andreas Schwab  <schwab@suse.de>
43378         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
43379         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
43381 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43383         * nscd/aicache.c (addhstaiX): Fix indentation.
43385 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
43387         * configure.ac: Quote $build_pt_chown test.
43388         * configure: Regenerated.
43390 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
43392         [BZ #15532]
43393         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
43394         * math/s_cexpf.c (__cexpf): Likewise.
43395         * math/s_cexpl.c (__cexpl): Likewise.
43396         * math/libm-test.inc (cexp_test_data): Correct expected return
43397         value for NaN + i0.  Add another test.
43399 2013-08-22  David S. Miller  <davem@davemloft.net>
43401         * po/ca.po: Update Catalan translation from translation project.
43402         * po/uk.po: Add Ukrainian translations from translation project.
43404 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
43406         [BZ #15797]
43407         * math/s_fdim.c (__fdim): Check for infinite arguments if result
43408         is infinite, not alongside NaN test.
43409         * math/s_fdimf.c (__fdimf): Likewise.
43410         * math/s_fdiml.c (__fdiml): Likewise.
43411         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
43412         errno is unchanged.
43414 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
43416         * argp/argp-help.c: Fix typos.
43417         * crypt/speeds.c: Likewise.
43418         * csu/check_fds.c: Likewise.
43419         * elf/dl-load.c: Likewise.
43420         * elf/dl-open.c: Likewise.
43421         * elf/reldep3.c: Likewise.
43422         * elf/reldep.c: Likewise.
43423         * elf/sprof.c: Likewise.
43424         * iconv/iconv_charmap.c: Likewise.
43425         * iconv/skeleton.c: Likewise.
43426         * iconv/strtab.c: Likewise.
43427         * io/lockf64.c: Likewise.
43428         * libio/libioP.h: Likewise.
43429         * resolv/gai_notify.c: Likewise.
43430         * resolv/ns_name.c: Likewise.
43431         * resolv/ns_samedomain.c: Likewise.
43432         * resolv/res_send.c: Likewise.
43433         * stdlib/random.c: Likewise.
43434         * sunrpc/rpc/xdr.h: Likewise.
43435         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
43436         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43437         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43438         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43439         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43440         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43441         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43442         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43443         * sysdeps/mach/hurd/check_fds.c: Likewise.
43444         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
43445         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43446         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43447         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
43448         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43449         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
43450         * sysdeps/pthread/aio_notify.c: Likewise.
43451         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
43452         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
43453         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
43454         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43455         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
43457 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43459         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
43460         version if bit_Slow_SSE4_2 is set.
43461         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43462         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43464 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43466         [BZ #15867]
43467         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
43468         trampoline stack frame information.
43469         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
43470         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
43471         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
43472         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
43473         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
43474         * sysdeps/unix/sysv/linux/powerpc/init-first.c
43475         (_libc_vdso_platform_setup): Initialize the signal trampolines.
43476         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
43477         sa_flags value.
43478         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
43479         interrupting a syscall and set with option SA_SIGINFO.
43481 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
43483         [BZ #15531]
43484         * math/s_cproj.c (__cproj): Only return an infinity if one part of
43485         argument is infinite.
43486         * math/s_cprojf.c (__cprojf): Likewise.
43487         * math/s_cprojl.c (__cprojl): Likewise.
43488         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
43489         * math/libm-test.inc (cproj_test_data): Add more tests.
43491         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
43493         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
43494         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
43495         size.  Use __ffs to determine corresponding shift.
43497 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
43498             Roland McGrath  <roland@hack.frob.com>
43500         * Makefile (INSTALL): Remove trailing blank lines from output of
43501         makeinfo.
43503 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43505         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
43506         Align 32 bit compat elf_greg to 8 bytes.
43508 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
43510         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
43512 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43514         * string/strcoll_l.c (coll_seq): New structure.
43515         (get_next_seq_cached): New function.
43516         (get_next_seq): New function.
43517         (do_compare): New function.
43518         (STRCOLL): Use GNU style definition.  Simplify implementation
43519         by using get_next_seq, get_next_seq_cached and do_compare.
43521 2013-08-16  Florian Weimer  <fweimer@redhat.com>
43523         [BZ #14699]
43524         CVE-2013-4237
43525         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
43526         member.
43527         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
43528         member.
43529         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
43530         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
43531         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
43532         conditional.
43533         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
43534         GETDENTS_64BIT_ALIGNED.
43535         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43536         * manual/filesys.texi (Reading/Closing Directory): Document
43537         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
43538         strongly.
43539         * manual/conf.texi (Limits for Files): Add portability note to
43540         NAME_MAX, PATH_MAX.
43541         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
43543 2013-08-13  Andreas Schwab  <schwab@suse.de>
43545         [BZ #15749]
43546         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
43547         of fabs.
43548         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
43549         LDBL_MAX_EXP >= 16384]: Add tests for it.
43551 2013-08-12  David S. Miller  <davem@davemloft.net>
43553         * version.h (RELEASE): Set to "development".
43554         (VERSION): Set to "2.18.90".
43555         * NEWS: Add 2.19 section.
43557 2013-08-03  David S. Miller  <davem@davemloft.net>
43559         * po/ko.po: Update Korean translation from translation project.
43561 2013-08-01  David S. Miller  <davem@davemloft.net>
43563         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
43564         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
43565         Bilka.
43567 2013-07-30  David S. Miller  <davem@davemloft.net>
43569         * po/fr.po: Update French translation from translation project.
43571 2013-07-28  David S. Miller  <davem@davemloft.net>
43573         * po/cs.po: Update Czech translation from translation project.
43575         * po/sv.po: Update Swedish translation from translation project.
43577 2013-07-27  David S. Miller  <davem@davemloft.net>
43579         * po/eo.po: Update Esperanto translation from translation project.
43581         * po/vi.po: Update Vietnamese translation from translation project.
43583         * po/de.po: Update German translation from translation project.
43585 2013-07-26  David S. Miller  <davem@davemloft.net>
43587         * po/bg.po: Update Bulgarian translation from translation project.
43589         * po/nl.po: Update Dutch translation from translation project.
43590         * po/pl.po: Update Polish translation from translation project.
43591         * po/ru.po: Update Russian translation from translation project.
43593 2013-07-24  David S. Miller  <davem@davemloft.net>
43595         * po/libc.pot: Update.
43597 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43599         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
43600         variable page size.
43601         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
43602         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
43603         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
43605 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43607         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
43609 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43610             Andreas Schwab  <schwab@suse.de>
43611             Roland McGrath  <roland@hack.frob.com>
43612             Joseph Myers  <joseph@codesourcery.com>
43613             Carlos O'Donell  <carlos@redhat.com>
43615         [BZ #15755]
43616         * config.h.in: Define HAVE_PT_CHOWN.
43617         * config.make.in (build-pt-chown): New variable.
43618         * configure.in (--enable-pt_chown): New configure option.
43619         * configure: Regenerate.
43620         * login/Makefile: Include Makeconfig.  Build pt_chown only if
43621         build-pt-chown is enabled.
43622         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
43623         pt_chown to fix pty ownership.
43624         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
43625         CLOSE_ALL_FDS.
43626         * manual/install.texi (Configuring and compiling): Mention
43627         --enable-pt_chown. Add @findex for grantpt.
43628         * INSTALL: Regenerate.
43630 2013-07-20  David S. Miller  <davem@davemloft.net>
43632         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
43633         difference between 32-bit and 64-bit.
43635 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
43637         [BZ #15711]
43638         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
43639         Avoid system header dependency with -ffreestanding.
43640         ($(objpfx)bits/syscall%d): Likewise.
43642 2013-07-13  David S. Miller  <davem@davemloft.net>
43644         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
43645         underflows from atanl/atan2l due to bug 15319.
43646         (casinh_test_data): Likewise.
43648 2013-07-07  David S. Miller  <davem@davemloft.net>
43650         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
43652 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
43654         * sysdeps/i386/fpu/libm-test-ulps: Update.
43655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43657 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43659         * configure.in (--enable-lock-elision): Fix message text.
43660         * INSTALL: Regenerate.
43661         * configure: Regenerate.
43663 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43665         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43667 2013-07-03  Andreas Jaeger  <aj@suse.de>
43669         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
43670         define.
43671         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
43672         (ptrace_peeksiginfo_args): Add.
43673         (__ptrace_peeksiginfo_flags): Add.
43674         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43675         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43676         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43678 2013-07-03  Allan McRae  <allan@archlinux.org>
43680         * sysdeps/i386/fpu/libm-test-ulps: Update.
43682 2013-07-02  David S. Miller  <davem@davemloft.net>
43684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43686 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
43688         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43690 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
43692         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
43693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43695 2013-07-02  Andi Kleen <ak@linux.intel.com>
43697         * config.h.in (ENABLE_LOCK_ELISION): Add.
43698         * configure.in (--enable-lock-elision): Add option.
43699         * manual/install.texi: Document --enable lock elision.
43700         * configure: Regenerate
43701         * INSTALL: Regenerate.
43703 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
43705         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
43706         SSE4.2 strcasecmp for libc.a.
43707         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
43709 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
43711         [BZ #13304]
43712         * soft-fp/op-common.h (_FP_FMA): New macro.
43713         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
43714         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
43715         (_FP_MUL_MEAT_1_imm): ... here.
43716         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
43717         (_FP_MUL_MEAT_1_wide): ... here.
43718         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
43719         (_FP_MUL_MEAT_1_hard): ... here.
43720         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
43721         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
43722         (_FP_MUL_MEAT_2_wide): ... here.
43723         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
43724         (_FP_MUL_MEAT_2_wide_3mul): ... here.
43725         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
43726         (_FP_MUL_MEAT_2_gmp): ... here.
43727         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
43728         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
43729         (_FP_MUL_MEAT_4_wide): ... here.
43730         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
43731         (_FP_MUL_MEAT_4_gmp): ... here.
43732         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
43733         (_FP_WFRACBITS_DW_S): Likewise.
43734         (_FP_WFRACXBITS_DW_S): Likewise.
43735         (_FP_HIGHBIT_DW_S): Likewise.
43736         (FP_FMA_S): Likewise.
43737         (_FP_FRAC_HIGH_DW_S): Likewise.
43738         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
43739         (_FP_WFRACBITS_DW_D): Likewise.
43740         (_FP_WFRACXBITS_DW_D): Likewise.
43741         (_FP_HIGHBIT_DW_D): Likewise.
43742         (FP_FMA_D): Likewise.
43743         (_FP_FRAC_HIGH_DW_D): Likewise.
43744         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
43745         (_FP_WFRACBITS_DW_E): Likewise.
43746         (_FP_WFRACXBITS_DW_E): Likewise.
43747         (_FP_HIGHBIT_DW_E): Likewise.
43748         (FP_FMA_E): Likewise.
43749         (_FP_FRAC_HIGH_DW_E): Likewise.
43750         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
43751         (_FP_WFRACBITS_DW_Q): Likewise.
43752         (_FP_WFRACXBITS_DW_Q): Likewise.
43753         (_FP_HIGHBIT_DW_Q): Likewise.
43754         (FP_FMA_Q): Likewise.
43755         (_FP_FRAC_HIGH_DW_Q): Likewise.
43756         * soft-fp/fmasf4.c: New file.
43757         * soft-fp/fmadf4.c: Likewise.
43758         * soft-fp/fmatf4.c: Likewise.
43760 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43762         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43763         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
43764         Silvermont.
43765         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
43766         macro.
43767         (index_Slow_SSE4_2): Likewise.
43768         (index_Prefer_PMINUB_for_stringop): Likewise.
43769         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
43770         bit_Slow_SSE4_2 is set.
43771         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43772         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43774 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43776         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
43777         rtld_global._dl_hwcap2.
43778         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
43779         POWER8.
43780         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
43781         POWER8 feature descriptions defined in _dl_hwcap2.
43782         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
43783         string handling for POWER8 feature bits.
43784         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
43785         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
43786         _dl_powerpc_cap_flags.
43787         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
43788         * sysdeps/powerpc/rtld-global-offsets.sym
43789         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
43790         _dl_hwcap2 in the rtld_global_ro structure.
43792 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43794         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
43795         hardware capabilities in support of AT_HWCAP2.
43796         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
43797         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
43798         GLRO(dl_hwcap2).
43799         (_dl_show_auxv): Add support for calling _dl_procinfo to display
43800         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
43801         explicitly the unknown a_type display mechanism is used.
43802         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
43803         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
43804         struct member.
43805         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
43806         to macro prototype for AT_HWCAP2 support.
43807         * sysdeps/i386/dl-procinfo.h: Likewise.
43808         * sysdeps/s390/dl-procinfo.h: Likewise.
43809         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
43810         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
43811         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
43812         return -1 for unknown a_type display fallback.
43813         * sysdeps/sparc/dl-procinfo.h: Likewise.
43814         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
43815         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
43817 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
43819         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
43820         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
43822 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
43824         [BZ #12492]
43825         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
43826         mprotect making __stack_prot writable.
43828 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
43829             Joseph Myers  <joseph@codesourcery.com>
43831         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
43832         as being properly aligned.
43834 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
43836         * dlfcn/modstatic5.c: New file.
43837         * dlfcn/tststatic5.c: New file.
43838         * dlfcn/Makefile (tests): Add tststatic5.
43839         (tests-static): Likewise.
43840         (modules-names): Add modstatic5.
43841         (tststatic5-ENV): New variable.
43842         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
43844         [BZ #15022]
43845         * elf/dl-support.c (_dl_main_map): New variable.
43846         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
43847         (_dl_nns, _dl_load_adds): Set to 1.
43848         (_dl_initial_searchlist): Refer to _dl_main_map.
43849         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
43850         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
43851         call to _dl_get_origin.
43852         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
43853         around call_map.
43854         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
43855         * dlfcn/modstatic3.c: New file.
43856         * dlfcn/tststatic3.c: New file.
43857         * dlfcn/tststatic4.c: New file.
43858         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
43859         (tests-static): Likewise.
43860         (modules-names): Add modstatic3.
43861         (tststatic3-ENV, tststatic4-ENV): New variables.
43862         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
43863         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
43865 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
43867         * configure.in (CC): Require GCC version 4.4 or later.
43868         * configure: Regenerated.
43869         * manual/install.texi (Tools for Compilation): Update GCC version
43870         requirement.
43871         * INSTALL: Regenerated.
43873 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43875         [BZ #15674]
43876         * string/test-memcmp.c (check2): New.
43877         (main): Call check2.
43879         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
43881 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
43883         [BZ #15022]
43884         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
43885         over to...
43886         (dl_open_worker) [!SHARED]: ... here.
43888 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43890         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
43892 2013-06-25  Richard Henderson  <rth@redhat.com>
43894         * locale/programs/locarchive.c: Include <libc-internal.h>
43896 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
43898         * manual/texinfo.tex: Update to version 2013-06-21.17, with
43899         trailing whitespace removed.
43901 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
43903         [BZ #10283]
43904         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
43905         * locale/programs/locarchive.c: Include libc-mmap.h.
43906         (prepare_address_space): Take two new outputs (the mmap base and len).
43907         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
43908         values.
43909         (create_archive): Declare new mmap base and len values for
43910         prepare_address_space, and store the result in ah.
43911         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
43912         (enlarge_archive): If ah->mmap_base is not NULL, use that and
43913         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
43914         Declare new mmap base and len values for
43915         prepare_address_space, and store the result in new_ah.
43916         (open_archive): Declare new mmap base and len values for
43917         prepare_address_space, and store the result in ah.
43918         (close_archive): If ah->mmap_base is not NULL, use that and
43919         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
43920         * sysdeps/generic/libc-mmap.h: New file.
43922 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
43924         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
43925         (ALIGN_UP): Likewise.
43926         (PTR_ALIGN_DOWN): Likewise.
43927         (PTR_ALIGN_UP): Likewise.
43929 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43931         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
43932         entry mapped to PPC_PLATFORM_POWER8.
43933         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
43934         POWER8.
43935         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
43936         (_dl_string_platform): Add case for exporting platform position for
43937         POWER8.
43938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
43939         search path to sysdeps/powerpc/powerpc32/power8 directory.
43940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
43941         search path to sysdeps/powerpc/powerpc64/power8 directory.
43942         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
43943         power7 directories.
43944         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
43945         power7 directories.
43947 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43949         * INSTALL: Regenerate.
43951         * nscd/connections.c (nscd_init): Fix comment.
43953 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
43955         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
43957         [BZ #15667]
43958         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
43959         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
43961 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
43963         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
43964         DL_DST_REQ_STATIC.
43965         (DL_DST_REQ_STATIC): Remove macro.
43967 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
43969         [BZ #7006]
43970         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
43971         with a shift of 0 bits.
43973 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
43975         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
43976         $(tststatic-ENV).
43978 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43980         [BZ #15655]
43981         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
43983 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43985         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
43986         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
43987         accepts -fno-tree-loop-distribute-patterns.
43988         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
43989         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
43990         recursive call.
43991         * string/memset.c (memset): Likewise.
43992         * string/test-memmove.c (simple_memmove): Disable loop transformation
43993         to library calls.
43994         * string/test-memset.c (simple_memset): Likewise.
43995         * benchtests/bench-memmove.c (simple_memmove): Likewise.
43996         * benchtests/bench-memset.c (simple_memset): Likewise.
43997         * configure: Regenerated.
43999 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
44001         * math/test-misc.c (main): Ignore fesetround failure when failures
44002         of subsequent rounding tests would be ignored.
44004         [BZ #15654]
44005         * math/fedisblxcpt.c (fedisableexcept): Return 0.
44006         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
44007         * math/fegetenv.c (__fegetenv): Return 0.
44008         * math/fegetexcept.c (fegetexcept): Return 0.
44009         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
44010         FE_TONEAREST.
44011         * math/feholdexcpt.c (feholdexcept): Return 0.
44012         * math/fesetenv.c (__fesetenv): Return 0.
44013         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
44014         argument FE_TONEAREST.
44015         * math/feupdateenv.c (__feupdateenv): Return 0.
44016         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
44018 2013-06-18  Roland McGrath  <roland@hack.frob.com>
44020         * elf/rtld-Rules (rtld-compile-command.S): New variable.
44021         (rtld-compile-command.s, rtld-compile-command.c): New variables.
44022         ($(objpfx)rtld-%.os rules): Use them.
44024 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44026         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
44027         fields.
44029 2013-06-17  Roland McGrath  <roland@hack.frob.com>
44031         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
44032         length of target pattern, then descending length of dependency pattern.
44033         * configure.in (AWK): Require gawk 3.1.2 or newer.
44034         * manual/install.texi (Tools for Compilation): Say that we do.
44035         * configure: Regenerated.
44037         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
44038         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
44039         * scripts/sysd-rules.awk: ... this new script.
44040         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
44041         than a glob-style pattern.
44043 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
44045         * math/test-misc.c (main): Do not treat incorrectly rounded
44046         conversions as failure unless ROUNDING_TESTS passes.
44048 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
44050         [BZ #15631]
44051         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
44052         restore exception state around main square root computation, then
44053         check for inexactness explicitly.
44055         * math/libm-test.inc (fma_test_data): Add another test.
44057 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44059         * manual/threads.texi (Non-POSIX Extensions): New document
44060         node.  Document pthread_getattr_default_np and
44061         pthread_setattr_default_np.
44063         * Versions.def (libpthread): Add GLIBC_2.18.
44064         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
44065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44066         Likewise.
44067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44068         Likewise.
44069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44070         Likewise.
44071         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44072         Likewise.
44073         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
44074         Likewise.
44075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44076         Likewise.
44077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44078         Likewise.
44079         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44080         Likewise.
44081         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44082         Likewise.
44084 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44086         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44087         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
44089 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44090             H.J. Lu  <hjl.tools@gmail.com>
44092         [BZ #15627]
44093         * sysdeps/x86_64/rtld-memset.c: Remove file.
44094         * sysdeps/x86_64/rtld-memset.S: New file.
44096 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
44098         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
44099         (test_in_one_mode): Take arguments for whether the rounding mode
44100         is supported for each floating-point type.
44101         (do_test): Pass new arguments to test_in_one_mode using
44102         ROUNDING_TESTS.
44104 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44106         * posix/tst-waitid.c (do_test): Distinguish different instances of
44107         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
44108         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
44109         before entering the kernel for waitpid.
44111 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44113         * NEWS: Fix note on clock function precision.  Text by Roland
44114         McGrath.
44116 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44118         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
44119         it into place only when and if the sanity check passes.
44121 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
44123         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
44124         output for whether conversion result is exact.  Take argument
44125         indicating whether type is IBM long double.
44126         (round_for_all): Change need_exact field to ibm_ld.
44127         * stdlib/tst-strtod-round.c (struct exactness): New type.
44128         (struct test): Change bool ld_ok field to struct exactness exact.
44129         (TEST): Update all definitions for change to field.
44130         (tests): Regenerate array contents.
44131         (test_in_one_mode): Take pointer to new field instead of old ld_ok
44132         field value.  Check for IBM long double here.
44133         (do_test): Update calls to test_in_one_mode.
44135 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44137         [BZ #12515]
44138         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
44139         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
44141 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44143         [BZ #15605]
44144         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
44145         generated by the compiler on loop optimizations.
44146         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
44147         general definitions.
44149 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
44151         * math/bug-nextafter.c: Include <math-tests.h>.
44152         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44153         the relevant type.
44154         * math/bug-nexttoward.c: Include <math-tests.h>.
44155         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44156         the relevant type.
44157         * math/test-misc.c: Include <math-tests.h>.
44158         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44159         the relevant type.
44161 2013-06-12  Andreas Jaeger  <aj@suse.de>
44163         * po/ia.po: Update Interlingua translation from translation
44164         project.
44166 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44168         * include/fenv.h: Include stdbool.h.
44169         (struct rm_ctx): New structure.
44170         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
44171         Define macro.
44172         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
44173         (SET_RESTORE_ROUNDF): Likewise.
44174         (SET_RESTORE_ROUNDL): Likewise.
44175         (SET_RESTORE_ROUND_NOEX): Likewise.
44176         (SET_RESTORE_ROUND_NOEXF): Likewise.
44177         (SET_RESTORE_ROUND_NOEXL): Likewise.
44178         (SET_RESTORE_ROUND_53BIT): Likewise.
44179         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
44180         (libc_feresetround_noexf_ctx): Likewise.
44181         (libc_feresetround_noexl_ctx): Likewise.
44182         (libc_feholdsetround_53bit_ctx): Likewise.
44183         (libc_feresetround_53bit_ctx): Likewise.
44184         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
44185         (libc_feholdexcept_setround_sse_ctx): New function.
44186         (libc_fesetenv_sse_ctx): Likewise.
44187         (libc_feupdateenv_sse_ctx): Likewise.
44188         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
44189         (libc_feholdexcept_setround_387_ctx): Likewise.
44190         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
44191         (libc_feholdsetround_387_prec_ctx): Likewise.
44192         (libc_feholdsetround_387_ctx): Likewise.
44193         (libc_feholdsetround_387_53bit_ctx): Likewise.
44194         (libc_feholdsetround_sse_ctx): Likewise.
44195         (libc_feresetround_sse_ctx): Likewise.
44196         (libc_feresetround_387_ctx): Likewise.
44197         (libc_feupdateenv_387_ctx): Likewise.
44198         (libc_feholdexcept_setroundf_ctx): Define macro.
44199         (libc_fesetenvf_ctx): Likewise.
44200         (libc_feupdateenvf_ctx): Likewise.
44201         (libc_feholdsetroundf_ctx): Likewise.
44202         (libc_feresetroundf_ctx): Likewise.
44203         (libc_feholdexcept_setround_ctx): Likewise.
44204         (libc_fesetenv_ctx): Likewise.
44205         (libc_feupdateenv_ctx): Likewise.
44206         (libc_feholdsetround_ctx): Likewise.
44207         (libc_feresetround_ctx): Likewise.
44208         (libc_feholdexcept_setroundl_ctx): Likewise.
44209         (libc_feupdateenvl_ctx): Likewise.
44210         (libc_feholdsetroundl_ctx): Likewise.
44211         (libc_feresetroundl_ctx): Likewise.
44212         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
44213         (libc_feresetround_53bit_ctx): Likewise.
44215 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44217         * locale/iso-639.def: Convert to UTF-8.
44219 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
44221         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
44222         (EXCEPTION_TESTS_double): Likewise.
44223         (EXCEPTION_TESTS_long_double): Likewise.
44224         (EXCEPTION_TESTS): Likewise.
44225         * math/libm-test.inc (test_exceptions): Only test exceptions if
44226         EXCEPTION_TESTS (FLOAT).
44228 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44230         * benchtests/Makefile (string-bench): Add strcpy_chk and
44231         stpcpy_chk.
44232         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
44233         * benchtests/bench-stpcpy_chk.c: New file.
44234         * benchtests/bench-strcpy_chk-ifunc.c: New file.
44235         * benchtests/bench-strcpy_chk.c: New file.
44236         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
44237         code.
44238         (do_test): Likewise.
44240 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44242         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
44243         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
44244         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
44245         with tabs where appropriate.
44246         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
44247         dl-procinfo.h.
44248         [PPC_PLATFORM_PPC440]: Likewise.
44249         [PPC_PLATFORM_PPC464]: Likewise.
44250         [PPC_PLATFORM_PPC476]: Likewise.
44251         (_dl_string_platform): Add support for detecting ppc405, ppc440,
44252         ppc464, and ppc476 platform strings merging from ports/
44253         dl-procinfo.h.
44255 2013-06-11  Andreas Schwab  <schwab@suse.de>
44257         [BZ #14991]
44258         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
44259         (from_ucs4_idx): Regenerate.
44260         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
44261         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
44262         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
44263         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
44264         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
44265         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
44266         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
44267         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
44268         from FROM_LOOP and TO_LOOP specific macros.
44269         (BODY): Handle combining characters.
44270         * iconvdata/BIG5HKSCS.irreversible: Update.
44271         * iconvdata/BIG5HKSCS.precomposed: New file.
44272         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
44273         characters.
44274         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
44276 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44278         * include/sys/time.h: Fix indentation and add copyright header.
44280         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
44281         (do_test): Likewise.
44282         * string/test-memchr.c (do_one_test): Likewise.
44283         (do_test): Likewise.
44284         * string/test-memcmp.c (do_one_test): Likewise.
44285         (do_test): Likewise.
44286         * string/test-memcpy.c (do_one_test): Likewise.
44287         (do_test): Likewise.
44288         * string/test-memmem.c (do_one_test): Likewise.
44289         (do_test): Likewise.
44290         (do_random_tests): Likewise.
44291         * string/test-memmove.c (do_one_test): Likewise.
44292         (do_test): Likewise.
44293         * string/test-memset.c (do_one_test): Likewise.
44294         (do_test): Likewise.
44295         * string/test-rawmemchr.c (do_one_test): Likewise.
44296         (do_test): Likewise.
44297         * string/test-strcasecmp.c (do_one_test): Likewise.
44298         (do_test): Likewise.
44299         * string/test-strcasestr.c (do_one_test): Likewise.
44300         (do_test): Likewise.
44301         * string/test-strcat.c (do_one_test): Likewise.
44302         (do_test): Likewise.
44303         * string/test-strchr.c (do_one_test): Likewise.
44304         (do_test): Likewise.
44305         * string/test-strcmp.c (do_one_test): Likewise.
44306         (do_test): Likewise.
44307         * string/test-strcpy.c (do_one_test): Likewise.
44308         (do_test): Likewise.
44309         * string/test-string.h: Likewise.
44310         (test_init): Likewise.
44311         * string/test-strlen.c (do_one_test): Likewise.
44312         (do_test): Likewise.
44313         * string/test-strncasecmp.c (do_one_test): Likewise.
44314         (do_test): Likewise.
44315         * string/test-strncat.c (do_one_test): Likewise.
44316         (do_test): Likewise.
44317         * string/test-strncmp.c (do_one_test): Likewise.
44318         (do_test_limit): Likewise.
44319         (do_test): Likewise.
44320         * string/test-strncpy.c (do_one_test): Likewise.
44321         (do_test): Likewise.
44322         * string/test-strnlen.c (do_one_test): Likewise.
44323         (do_test): Likewise.
44324         * string/test-strpbrk.c (do_one_test): Likewise.
44325         (do_test): Likewise.
44326         * string/test-strrchr.c (do_one_test): Likewise.
44327         (do_test): Likewise.
44328         * string/test-strspn.c (do_one_test): Likewise.
44329         (do_test): Likewise.
44330         * string/test-strstr.c (do_one_test): Likewise.
44331         (do_test): Likewise.
44333         * benchtests/Makefile (string-bench): Add string benchmarks.
44334         * benchtests/bench-bcopy-ifunc.c: New file.
44335         * benchtests/bench-bcopy.c: New file.
44336         * benchtests/bench-bzero-ifunc.c: New file.
44337         * benchtests/bench-bzero.c: New file.
44338         * benchtests/bench-memccpy-ifunc.c: New file.
44339         * benchtests/bench-memccpy.c: New file.
44340         * benchtests/bench-memchr-ifunc.c: New file.
44341         * benchtests/bench-memchr.c: New file.
44342         * benchtests/bench-memcmp-ifunc.c: New file.
44343         * benchtests/bench-memcmp.c: New file.
44344         * benchtests/bench-memmem-ifunc.c: New file.
44345         * benchtests/bench-memmem.c: New file.
44346         * benchtests/bench-memmove-ifunc.c: New file.
44347         * benchtests/bench-memmove.c: New file.
44348         * benchtests/bench-mempcpy-ifunc.c: New file.
44349         * benchtests/bench-mempcpy.c: New file.
44350         * benchtests/bench-memset-ifunc.c: New file.
44351         * benchtests/bench-memset.c: New file.
44352         * benchtests/bench-rawmemchr-ifunc.c: New file.
44353         * benchtests/bench-rawmemchr.c: New file.
44354         * benchtests/bench-stpcpy-ifunc.c: New file.
44355         * benchtests/bench-stpcpy.c: New file.
44356         * benchtests/bench-stpncpy-ifunc.c: New file.
44357         * benchtests/bench-stpncpy.c: New file.
44358         * benchtests/bench-strcasecmp-ifunc.c: New file.
44359         * benchtests/bench-strcasecmp.c: New file.
44360         * benchtests/bench-strcasestr-ifunc.c: New file.
44361         * benchtests/bench-strcasestr.c: New file.
44362         * benchtests/bench-strcat-ifunc.c: New file.
44363         * benchtests/bench-strcat.c: New file.
44364         * benchtests/bench-strchr-ifunc.c: New file.
44365         * benchtests/bench-strchr.c: New file.
44366         * benchtests/bench-strchrnul-ifunc.c: New file.
44367         * benchtests/bench-strchrnul.c: New file.
44368         * benchtests/bench-strcmp-ifunc.c: New file.
44369         * benchtests/bench-strcmp.c: New file.
44370         * benchtests/bench-strcpy-ifunc.c: New file.
44371         * benchtests/bench-strcpy.c: New file.
44372         * benchtests/bench-strcspn-ifunc.c: New file.
44373         * benchtests/bench-strcspn.c: New file.
44374         * benchtests/bench-strlen-ifunc.c: New file.
44375         * benchtests/bench-strlen.c: New file.
44376         * benchtests/bench-strncasecmp-ifunc.c: New file.
44377         * benchtests/bench-strncasecmp.c: New file.
44378         * benchtests/bench-strncat-ifunc.c: New file.
44379         * benchtests/bench-strncat.c: New file.
44380         * benchtests/bench-strncmp-ifunc.c: New file.
44381         * benchtests/bench-strncmp.c: New file.
44382         * benchtests/bench-strncpy-ifunc.c: New file.
44383         * benchtests/bench-strncpy.c: New file.
44384         * benchtests/bench-strnlen-ifunc.c: New file.
44385         * benchtests/bench-strnlen.c: New file.
44386         * benchtests/bench-strpbrk-ifunc.c: New file.
44387         * benchtests/bench-strpbrk.c: New file.
44388         * benchtests/bench-strrchr-ifunc.c: New file.
44389         * benchtests/bench-strrchr.c: New file.
44390         * benchtests/bench-strspn-ifunc.c: New file.
44391         * benchtests/bench-strspn.c: New file.
44392         * benchtests/bench-strstr-ifunc.c: New file.
44393         * benchtests/bench-strstr.c: New file.
44395         * benchtests/Makefile: Disable parallel execution of targets.
44396         (string-bench): Add memcpy.
44397         (benchset): New variable to store a list of benchmark sets.
44398         (bench-func): Renamed from bench.
44399         (bench-set): New target.
44400         (bench): Depend on bench-func and bench-set.
44401         * benchtests/README: Add section on benchmark sets.
44402         * benchtests/bench-memcpy-ifunc.c: New file.
44403         * benchtests/bench-memcpy.c: New file.
44404         * benchtests/bench-string.h: New file.
44406 2013-06-11  Andreas Schwab  <schwab@suse.de>
44408         [BZ #15577]
44409         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
44410         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
44411         values in the triple.
44412         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
44413         terminator in the group key.
44415 2013-06-11  Andreas Jaeger  <aj@suse.de>
44417         * po/zh_TW.po: Update Chinese (traditional) translation from
44418         translation project.
44420 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44422         * include/time.h (__clock_gettime): Add libc_hidden_proto.
44423         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
44424         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
44425         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44426         (clock_getcpuclockid): Likewise.
44427         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
44428         Add weak_alias and libc_hidden_def.
44429         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
44430         * rt/clock_gettime.c (clock_gettime): Rename to
44431         __clock_gettime.  Add weak_alias and libc_hidden_def.
44432         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
44433         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
44434         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
44435         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
44436         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
44437         Likewise.
44438         * rt/clock_settime.c (clock_settime): Rename to
44439         __clock_settime.  Add weak_alias and libc_hidden_def.
44440         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
44442 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
44444         * mach/err_boot.sub: Remove trailing whitespace.
44445         * mach/err_ipc.sub: Likewise.
44446         * mach/err_mach.sub: Likewise.
44448         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
44449         (ROUNDING_TESTS_double): Likewise.
44450         (ROUNDING_TESTS_long_double): Likewise.
44451         (ROUNDING_TESTS): Likewise.
44452         * math/libm-test.inc: Include <math-tests.h>.
44453         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
44454         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
44455         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
44456         (IF_ROUND_INIT_FE_UPWARD): Likewise.
44458 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44460         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
44461         of assigning.
44463 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
44465         * sysdeps/gnu/errlist.awk: Do not generate space at end of
44466         otherwise empty TRANS lines.
44467         * sysdeps/gnu/errlist.c: Regenerated.
44469         * catgets/gencat.c (error_print): Use (void) in function
44470         definition.
44471         * crypt/crypt_util.c (__init_des): Likewise.
44472         * crypt/speeds.c (Stop): Likewise.
44473         (main): Likewise.
44474         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
44475         * inet/ruserpass.c (token): Likewise.
44476         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
44477         * intl/localealias.c (extend_alias_table): Likewise.
44478         * intl/plural-exp.c (init_germanic_plural): Likewise.
44479         * libio/fcloseall.c (__fcloseall): Likewise.
44480         * libio/genops.c (_IO_flush_all): Likewise.
44481         (_IO_flush_all_linebuffered): Likewise.
44482         (_IO_cleanup): Likewise.
44483         (_IO_iter_begin): Likewise.
44484         (_IO_iter_end): Likewise.
44485         (_IO_list_lock): Likewise.
44486         (_IO_list_unlock): Likewise.
44487         (_IO_list_resetlock): Likewise.
44488         * libio/getchar.c (getchar): Likewise.
44489         * libio/getchar_u.c (getchar_unlocked): Likewise.
44490         * libio/getwchar.c (getwchar): Likewise.
44491         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
44492         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
44493         * login/getpt.c (__getpt): Likewise.
44494         * login/tst-utmp.c (main): Likewise.
44495         * malloc/hooks.c (__malloc_check_init): Likewise.
44496         * malloc/malloc.c (__malloc_stats): Likewise.
44497         * malloc/mtrace.c (tr_break): Likewise.
44498         (mtrace): Likewise.
44499         (muntrace): Likewise.
44500         * misc/fstab.c (endfsent): Likewise.
44501         * misc/getclktck.c (__getclktck): Likewise.
44502         * misc/getdtsz.c (__getdtablesize): Likewise.
44503         * misc/gethostid.c (gethostid): Likewise.
44504         * misc/getpagesize.c (__getpagesize): Likewise.
44505         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
44506         (__get_nprocs): Likewise.
44507         (__get_phys_pages): Likewise.
44508         (__get_avphys_pages): Likewise.
44509         * misc/getttyent.c (getttyent): Likewise.
44510         (setttyent): Likewise.
44511         (endttyent): Likewise.
44512         * misc/getusershell.c (getusershell): Likewise.
44513         (endusershell): Likewise.
44514         (setusershell): Likewise.
44515         (initshells): Likewise.
44516         * misc/hsearch.c (__hdestroy): Likewise.
44517         * misc/sync.c (sync): Likewise.
44518         * misc/syslog.c (closelog_internal): Likewise.
44519         (closelog): Likewise.
44520         * misc/ttyslot.c (ttyslot): Likewise.
44521         * misc/vhangup.c (vhangup): Likewise.
44522         * posix/fork.c (__fork): Likewise.
44523         * posix/getegid.c (__getegid): Likewise.
44524         * posix/geteuid.c (__geteuid): Likewise.
44525         * posix/getgid.c (__getgid): Likewise.
44526         * posix/getpid.c (__getpid): Likewise.
44527         * posix/getppid.c (__getppid): Likewise.
44528         * posix/getuid.c (__getuid): Likewise.
44529         * posix/pause.c (pause): Likewise.
44530         * posix/setpgrp.c (setpgrp): Likewise.
44531         * posix/setsid.c (__setsid): Likewise.
44532         * posix/test-vfork.c (noop): Likewise.
44533         * resolv/gethnamaddr.c (_endhtent): Likewise.
44534         (_gethtent): Likewise.
44535         (ht_endhostent): Likewise.
44536         (gethostent): Likewise.
44537         (dns_service): Likewise.
44538         * stdlib/drand48.c (drand48): Likewise.
44539         * stdlib/lrand48.c (lrand48): Likewise.
44540         * stdlib/mrand48.c (mrand48): Likewise.
44541         * stdlib/rand.c (rand): Likewise.
44542         * stdlib/random.c (__random): Likewise.
44543         * stdlib/setenv.c (clearenv): Likewise.
44544         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
44545         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
44546         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
44547         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
44548         (__get_nprocs): Likewise.
44549         (__get_phys_pages): Likewise.
44550         (__get_avphys_pages): Likewise.
44551         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
44552         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
44553         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
44554         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
44555         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
44556         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
44557         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
44558         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
44559         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
44560         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
44561         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
44562         * sysdeps/mach/hurd/sync.c (sync): Likewise.
44563         * sysdeps/posix/clock.c (clock): Likewise.
44564         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
44565         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
44566         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
44567         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
44568         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
44569         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
44570         (__get_nprocs_conf): Likewise.
44571         (__get_phys_pages): Likewise.
44572         (__get_avphys_pages): Likewise.
44573         * time/clock.c (clock): Likewise.
44574         * time/tzset.c (__tzname_max): Likewise.
44576 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
44578         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
44579         (__bswap_32): Do not use "register".
44580         * crypt/crypt.c (_ufc_doit_r): Likewise.
44581         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
44582         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
44583         * gmon/gmon.c (__monstartup): Likewise.
44584         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
44585         * hurd/hurdmalloc.c (more_memory): Likewise.
44586         (malloc): Likewise.
44587         (free): Likewise.
44588         (realloc): Likewise.
44589         (malloc_fork_prepare): Likewise.
44590         (malloc_fork_parent): Likewise.
44591         (malloc_fork_child): Likewise.
44592         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
44593         (_svcauth_des): Likewise.
44594         * inet/inet_lnaof.c (inet_lnaof): Likewise.
44595         * inet/inet_net.c (inet_network): Likewise.
44596         * inet/inet_netof.c (inet_netof): Likewise.
44597         * inet/rcmd.c (__validuser2_sa): Likewise.
44598         * io/fts.c (fts_open): Likewise.
44599         (fts_load): Likewise.
44600         (fts_close): Likewise.
44601         (fts_read): Likewise.
44602         (fts_children): Likewise.
44603         (fts_build): Likewise.
44604         (fts_stat): Likewise.
44605         (fts_sort): Likewise.
44606         (fts_alloc): Likewise.
44607         (fts_lfree): Likewise.
44608         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
44609         (_IO_file_xsgetn): Likewise.
44610         (_IO_file_xsgetn_mmap): Likewise.
44611         * libio/iofopncook.c (_IO_cookie_read): Likewise.
44612         (_IO_cookie_write): Likewise.
44613         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
44614         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
44615         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
44616         * malloc/obstack.c (_obstack_begin): Likewise.
44617         (_obstack_begin_1): Likewise.
44618         (_obstack_newchunk): Likewise.
44619         (_obstack_allocated_p): Likewise.
44620         (obstack_free): Likewise.
44621         (_obstack_memory_used): Likewise.
44622         * misc/getttyent.c (getttynam): Likewise.
44623         (getttyent): Likewise.
44624         (skip): Likewise.
44625         (value): Likewise.
44626         * misc/getusershell.c (initshells): Likewise.
44627         * misc/syslog.c (__vsyslog_chk): Likewise.
44628         * misc/ttyslot.c (ttyslot): Likewise.
44629         * nis/nis_hash.c (__nis_hash): Likewise.
44630         * posix/fnmatch_loop.c (FCT): Likewise.
44631         * posix/getconf.c (print_all): Likewise.
44632         (main): Likewise.
44633         * posix/getopt.c (exchange): Likewise.
44634         * posix/glob.c (globfree): Likewise.
44635         (prefix_array): Likewise.
44636         (__glob_pattern_type): Likewise.
44637         * resolv/arpa/nameser.h (NS_GET16): Likewise.
44638         (NS_GET32): Likewise.
44639         (NS_PUT16): Likewise.
44640         (NS_PUT32): Likewise.
44641         * resolv/gethnamaddr.c (getanswer): Likewise.
44642         (gethostbyname2): Likewise.
44643         (gethostbyaddr): Likewise.
44644         (_gethtent): Likewise.
44645         (_gethtbyname2): Likewise.
44646         (_gethtbyaddr): Likewise.
44647         * resolv/ns_print.c (dst_s_get_int16): Likewise.
44648         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
44649         * resolv/res_init.c (__res_vinit): Likewise.
44650         (net_mask): Likewise.
44651         * resolv/res_mkquery.c (outchar): Likewise.
44652         (PRINT): Likewise.
44653         * stdio-common/printf_fp.c (outchar): Likewise.
44654         (PRINT): Likewise.
44655         * stdio-common/printf_fphex.c (outchar): Likewise.
44656         (PRINT): Likewise.
44657         * stdio-common/printf_size.c (outchar): Likewise.
44658         (PRINT): Likewise.
44659         * stdio-common/test_rdwr.c (main): Likewise.
44660         * stdio-common/tfformat.c (matches): Likewise.
44661         * stdio-common/vfprintf.c (outchar): Likewise.
44662         (printf_unknown): Likewise.
44663         (buffered_vfprintf): Likewise.
44664         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
44665         * stdio-common/xbug.c (AppendToBuffer): Likewise.
44666         (ReadFile): Likewise.
44667         * stdlib/qsort.c (SWAP): Likewise.
44668         (_quicksort): Likewise.
44669         * stdlib/setenv.c (__add_to_environ): Likewise.
44670         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
44671         * stdlib/strtol_l.c (__strtol_l): Likewise.
44672         * stdlib/tst-strtod.c (main): Likewise.
44673         * stdlib/tst-strtol.c (main): Likewise.
44674         * stdlib/tst-strtoll.c (main): Likewise.
44675         * string/bits/string2.h (__strcmp_cc): Likewise.
44676         (__strcmp_cg): Likewise.
44677         (__strcspn_c1): Likewise.
44678         (__strcspn_c2): Likewise.
44679         (__strcspn_c3): Likewise.
44680         (__strspn_c1): Likewise.
44681         (__strspn_c2): Likewise.
44682         (__strspn_c3): Likewise.
44683         (__strsep_1c): Likewise.
44684         (__strsep_2c): Likewise.
44685         (__strsep_3c): Likewise.
44686         * string/memccpy.c (__memccpy): Likewise.
44687         * string/stpcpy.c (__stpcpy): Likewise.
44688         * string/strcmp.c (strcmp): Likewise.
44689         * string/strrchr.c (strrchr): Likewise.
44690         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
44691         Likewise.
44692         * sysdeps/mach/hurd/getcwd.c
44693         (_hurd_canonicalize_directory_name_internal): Likewise.
44694         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
44695         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
44696         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
44697         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
44698         Likewise, in both definitions.
44699         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
44700         definitions.
44701         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
44702         64] (__bswap_64): Likewise.
44703         * time/test_time.c (main): Likewise.
44704         * time/tzfile.c (__tzfile_read): Likewise.
44705         (__tzfile_compute): Likewise.
44706         * time/tzset.c (__tzset_parse_tz): Likewise.
44707         (tzset_internal): Likewise.
44708         (compute_change): Likewise.
44709         * wcsmbs/wcscat.c (__wcscat): Likewise.
44710         * wcsmbs/wcschr.c (wcschr): Likewise.
44711         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
44712         * wcsmbs/wcscspn.c (wcscspn): Likewise.
44713         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
44714         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
44715         * wcsmbs/wcsspn.c (wcsspn): Likewise.
44716         * wcsmbs/wcsstr.c (wcsstr): Likewise.
44717         * wcsmbs/wmemchr.c (wmemchr): Likewise.
44718         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44719         * wcsmbs/wmemset.c (wmemset): Likewise.
44721 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
44723         * scripts/config.guess: Update to version 2013-05-16.
44724         * scripts/config.sub: Update to version 2013-04-24.
44725         * scripts/install-sh: Update to version 2011-11-20.07.
44726         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
44727         * scripts/move-if-change: Update to version 2012-01-06 07:23.
44729 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
44731         * debug/fgetws_u_chk.c: Fix leading whitespaces.
44732         * elf/sln.c: Likewise.
44733         * hurd/hurd/ioctl.h: Likewise.
44734         * hurd/hurdmalloc.c: Likewise.
44735         * hurd/xattr.c: Likewise.
44736         * include/shlib-compat.h: Likewise.
44737         * inet/ruserpass.c: Likewise.
44738         * libio/iofgets_u.c: Likewise.
44739         * libio/iofgetws_u.c: Likewise.
44740         * locale/programs/ld-identification.c: Likewise.
44741         * locale/programs/ld-time.c: Likewise.
44742         * mach/msg-destroy.c: Likewise.
44743         * nss/nss_files/files-netgrp.c: Likewise.
44744         * resolv/res_data.c: Likewise.
44745         * soft-fp/op-1.h: Likewise.
44746         * soft-fp/op-2.h: Likewise.
44747         * soft-fp/op-4.h: Likewise.
44748         * soft-fp/op-common.h: Likewise.
44749         * stdio-common/printf_fphex.c: Likewise.
44750         * stdlib/strtod_l.c: Likewise.
44751         * sunrpc/rpc/clnt.h: Likewise.
44752         * sysdeps/generic/framestate.c: Likewise.
44753         * sysdeps/i386/bsd-_setjmp.S: Likewise.
44754         * sysdeps/i386/bsd-setjmp.S: Likewise.
44755         * sysdeps/i386/__longjmp.S: Likewise.
44756         * sysdeps/i386/setjmp.S: Likewise.
44757         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44758         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44759         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44760         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44761         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44762         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44763         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44764         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44765         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44766         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
44767         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44768         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44769         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44770         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44771         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44772         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44773         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44774         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
44775         * sysdeps/ieee754/support.c: Likewise.
44776         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44777         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
44778         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
44779         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
44780         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
44781         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
44782         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
44783         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
44784         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
44785         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
44786         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
44787         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
44788         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
44789         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
44790         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
44791         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
44792         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
44795 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
44797         * posix/transbug.c: Remove executable mode.
44799 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
44801         * crypt/speeds.c: Remove trailing whitespace.
44802         * dlfcn/default.c: Likewise.
44803         * elf/ifuncdep2.c: Likewise.
44804         * elf/ifuncmain1.c: Likewise.
44805         * elf/ifuncmain1vis.c: Likewise.
44806         * elf/testobj.h: Likewise.
44807         * elf/tst-stackguard1.c: Likewise.
44808         * gmon/sys/gmon.h: Likewise.
44809         * hurd/hurdmsg.c: Likewise.
44810         * hurd/new-fd.c: Likewise.
44811         * hurd/ports-get.c: Likewise.
44812         * iconvdata/ibm1008_420.c: Likewise.
44813         * inet/tst-getni1.c: Likewise.
44814         * inet/tst-getni2.c: Likewise.
44815         * libio/ioungetc.c: Likewise.
44816         * libio/wfiledoalloc.c: Likewise.
44817         * manual/libm-err-tab.pl: Likewise.
44818         * math/w_dremf.c: Likewise.
44819         * misc/ftruncate.c: Likewise.
44820         * posix/bug-glob2.c: Likewise.
44821         * posix/tst-pcre.c: Likewise.
44822         * posix/wait4.c: Likewise.
44823         * resolv/README: Likewise.
44824         * resolv/res_debug.h: Likewise.
44825         * resolv/tst-inet_ntop.c: Likewise.
44826         * setjmp/bug269-setjmp.c: Likewise.
44827         * soft-fp/extended.h: Likewise.
44828         * soft-fp/op-1.h: Likewise.
44829         * soft-fp/op-2.h: Likewise.
44830         * soft-fp/op-4.h: Likewise.
44831         * soft-fp/op-8.h: Likewise.
44832         * soft-fp/testit.c: Likewise.
44833         * stdio-common/bug16.c: Likewise.
44834         * stdlib/random.c: Likewise.
44835         * sunrpc/rpcsvc/rquota.x: Likewise.
44836         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
44837         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44838         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44839         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44840         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44841         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44842         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44843         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44844         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44845         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44846         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44847         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44848         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44849         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44850         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44851         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44852         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44853         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44854         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44855         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44856         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44857         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44858         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
44859         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44860         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44861         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44862         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44863         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44864         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44865         * sysdeps/ieee754/s_lib_version.c: Likewise.
44866         * sysdeps/mach/hurd/check_fds.c: Likewise.
44867         * sysdeps/mach/hurd/getsockname.c: Likewise.
44868         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
44869         * sysdeps/mach/hurd/recvfrom.c: Likewise.
44870         * sysdeps/powerpc/bits/link.h: Likewise.
44871         * sysdeps/powerpc/dl-procinfo.c: Likewise.
44872         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
44873         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
44874         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
44875         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
44876         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44877         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
44878         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
44879         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
44880         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44881         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
44882         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44883         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
44884         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44885         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44886         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44887         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44888         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44889         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44890         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44891         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44892         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
44893         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44894         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44895         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
44896         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44897         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44898         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44899         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44900         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44901         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44902         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44903         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44904         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44905         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
44906         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
44907         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
44908         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44909         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
44910         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
44911         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
44912         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
44913         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
44914         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
44915         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44916         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
44917         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
44918         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44919         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
44920         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
44921         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44922         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44923         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44924         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44925         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
44926         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
44927         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
44928         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44929         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
44930         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
44931         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
44932         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
44933         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
44934         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44935         * sysdeps/powerpc/sysdep.h: Likewise.
44936         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44937         * sysdeps/s390/s390-64/sub_n.S: Likewise.
44938         * sysdeps/sh/dl-trampoline.S: Likewise.
44939         * sysdeps/sh/memset.S: Likewise.
44940         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
44941         * sysdeps/sh/strlen.S: Likewise.
44942         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
44943         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
44944         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
44945         * sysdeps/sparc/sparc32/rem.S: Likewise.
44946         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
44947         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
44948         * sysdeps/sparc/sparc32/strchr.S: Likewise.
44949         * sysdeps/sparc/sparc32/udiv.S: Likewise.
44950         * sysdeps/sparc/sparc32/urem.S: Likewise.
44951         * sysdeps/sparc/sparc64/add_n.S: Likewise.
44952         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44953         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
44954         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
44955         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
44956         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
44957         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
44958         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
44959         * sysdeps/unix/bsd/times.c: Likewise.
44960         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
44961         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
44962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
44963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
44964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
44965         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
44966         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44967         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
44968         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
44969         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
44970         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
44971         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
44972         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
44973         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44974         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
44975         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
44976         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
44977         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
44978         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
44979         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
44980         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
44981         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
44982         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44983         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
44984         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
44985         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
44986         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
44987         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44988         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
44989         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
44990         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
44991         * sysdeps/x86_64/strcspn.S: Likewise.
44993 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44995         * locale/C-translit.h: Revert #include <stdint.h> because this is a
44996         generated file.  Regenerate properly from gen-translit.pl.
44997         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
44998         locale/C-translit.h.
45000 2013-06-05  Andreas Schwab  <schwab@suse.de>
45002         [BZ #15100]
45003         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
45004         week as 6 instead of -1.
45005         * time/tst-strptime.c (day_tests): Add test case.
45007 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45009         * sysdeps/generic/math_private.h
45010         (libc_feholdexcept_setround_53bit): Replace with
45011         libc_feholdsetround_53bit.
45012         (libc_feupdateenv_53bit): Replace with
45013         libc_feresetround_53bit.
45014         (SET_RESTORE_ROUND_53BIT): Adjust.
45016 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45018         * string/test-strchrnul.c: Add copyright header.
45020         * posix/tst-getaddrinfo4.c: Increase test timeout.
45022 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
45024         [BZ #15536]
45025         * math/libm-test.inc (MAX_EXP): Remove
45026         (MIN_EXP): Define.
45027         (ulp): Use MIN_EXP - MANT_DIG.
45028         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
45030 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
45032         * po/be.po: Revert last change.
45033         * po/zh_CN.po: Likewise.
45034         * po/header.pot: Likewise.
45036 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
45038         * Makefile ($(common-objpfx)linkobj/libc.so): Define
45039         link-libc-deps to empty as target-specific variable.
45040         * Makerules (link-libc-args): New variable.
45041         (libc-for-link): Likewise.
45042         (link-libc-deps): Likewise.
45043         (lib%.so): Depend on $(link-libc-deps).  Link with
45044         $(link-libc-args).
45045         (build-module): Link with $(link-libc-args).
45046         (build-module-asneeded): Likewise.
45047         (build-module-helper-objlist): Filter out $(link-libc-deps) from
45048         list of objects.
45049         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
45050         target-specific variable.
45051         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
45052         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
45053         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
45054         libc.
45055         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
45056         libc and ld.so.
45057         ($(objpfx)libpcprofile.so): Likewise.
45058         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
45059         libc_nonshared.a.
45060         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
45061         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
45062         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
45063         $(link-libc-deps).
45064         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
45065         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
45066         * login/Makefile ($(objpfx)libutil.so): Likewise.
45067         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
45068         * math/Makefile ($(objpfx)libm.so): Likewise.
45069         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
45070         $(objpfx)libnsl.so): Define libc-for-link as target-specific
45071         variable instead of depending directly on libc.
45072         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
45073         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
45074         $(link-libc-deps).
45075         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
45076         libc.
45077         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
45078         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
45079         ($(objpfx)libanl.so): Likewise.
45080         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
45081         ld.so.
45082         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
45083         $(link-libc-deps).
45084         * sysdeps/i386/fpu/Makefile: Remove file.
45085         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
45086         ($(objpfx)libm.so): Remove dependency on ld.so.
45088 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
45090         [BZ # 15553]
45091         * nis/yp_xdr.c (XDRMAXNAME): Define.
45092         (XDRMAXRECORD): Define.
45093         (xdr_domainname): Use XDRMAXNAME.
45094         (xdr_mapname): Likewise.
45095         (xdr_peername): Likewise.
45096         (xdr_keydat): Use XDRMAXRECORD.
45097         (xdr_valdat): Likewise.
45099 2013-05-30  Jeff Law  <law@redhat.com>
45101         [BZ #14256]
45102         * manual/errno.texi (ESTALE): Update to account for more than
45103         just NFS file systems.
45104         * sysdeps/gnu/errlist.c: Regenerated.
45106 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45108         [BZ #15465]
45109         * elf/Makefile (tests): Add tst-null-argv.
45110         (modules-names):  Add tst-null-argv-lib.
45111         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
45112         (tst-null-argv-ENV): Set environment for tst-null-argv.
45113         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
45114         (RTLD_PROGNAME): New macro.
45115         * elf/tst-null-argv.c: New test case.
45116         * elf/tst-null-argv-lib.c: Library for test case.
45117         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
45118         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
45119         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
45120         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
45121         * elf/dl-init.c (call_init): Likewise.
45122         (_dl_init): Likewise.
45123         * elf/dl-load.c (print_search_path): Likewise.
45124         (_dl_map_object): Likewise.
45125         * elf/dl-lookup.c (do_lookup_x): Likewise.
45126         (add_dependency): Likewise.
45127         (_dl_lookup_symbol_x): Likewise.
45128         (_dl_debug_bindings): Likewise.
45129         * elf/dl-open.c (_dl_show_scope): Likewise.
45130         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
45131         * elf/dl-version.c (match_symbol): Likewise.
45132         (_dl_check_map_versions): Likewise.
45133         * elf/rtld.c (dl_main): Likewise.
45134         (print_unresolved): Use RTLD_PROGNAME.
45135         (print_missing_version): Likewise.
45136         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
45137         (elf_machine_rela): Likewise.
45138         * sysdeps/powerpc/powerpc32/dl-machine.c
45139         (__process_machine_rela): Likewise.
45140         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45141         Likewise.
45142         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45143         Likewise.
45144         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
45145         Likewise.
45146         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45147         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
45148         Likewise.
45149         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
45150         Likewise.
45151         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45153 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
45155         * po/be.po: Add descriptive title.
45156         * po/zh_CN.po: Likewise.
45157         * po/header.pot: Likewise.
45159 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
45161         * locale/programs/locarchive.c (create_archive): Inlucde fname in
45162         error message.
45163         (enlarge_archive): Likewise.
45165 2013-05-28  Ben North  <ben@redfrontdoor.org>
45167         * manual/arith.texi (frexp): It is the magnitude of the return
45168         value which lies in [0.5, 1), not the return value itself.
45170 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45174 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
45176         * stdio-common/bug26.c (main): Correct fscanf template.
45178         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
45179         declare _dl_skip_args.
45181         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
45182         Don't declare.
45184         * manual/platform.texi: Add missing @end deftypefun.
45186 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45188         [BZ #15529]
45189         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
45190         bit of mantissa of 2^16382.
45191         * math/libm-test.inc (hypot_test_data): Add more tests.
45193         * math/libm-test.inc: Add drem and pow10 to list of tested
45194         functions.
45195         (pow10_test): New function.
45196         (drem_test): Likewise.
45197         (drem_test_tonearest): Likewise.
45198         (drem_test_towardzero): Likewise.
45199         (drem_test_downward): Likewise.
45200         (drem_test_upward): Likewise.
45201         (main): Call the new functions.
45203         * math/libm-test.inc (finite_test_data): Remove.
45204         (finite_test): Run tests from isfinite_test_data.
45205         (gamma_test_data): Remove.
45206         (gamma_test): Run tests from lgamma_test_data.
45207         * sysdeps/i386/fpu/libm-test-ulps: Update.
45208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45210 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45212         * manual/platform.texi: Add PowerPC PPR function set documentation.
45213         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
45214         implementation.
45216 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
45218         * math/libm-test.inc (MAX_EXP): Define.
45219         (ULPDIFF): Define.
45220         (ulp): New function.
45221         (check_float_internal): Use ULPDIFF.
45222         (cpow_test): Disable failing test.
45223         (check_ulp): Test ulp() implemetnation.
45224         (main): Call check_ulp before starting tests.
45226 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45228         * math/gen-libm-test.pl (generate_testfile): Do not handle
45229         START_DATA and END_DATA.
45230         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
45231         END_DATA.
45232         (acos_tonearest_test_data): Likewise.
45233         (acos_towardzero_test_data): Likewise.
45234         (acos_downward_test_data): Likewise.
45235         (acos_upward_test_data): Likewise.
45236         (acosh_test_data): Likewise.
45237         (asin_test_data): Likewise.
45238         (asin_tonearest_test_data): Likewise.
45239         (asin_towardzero_test_data): Likewise.
45240         (asin_downward_test_data): Likewise.
45241         (asin_upward_test_data): Likewise.
45242         (asinh_test_data): Likewise.
45243         (atan_test_data): Likewise.
45244         (atanh_test_data): Likewise.
45245         (atan2_test_data): Likewise.
45246         (cabs_test_data): Likewise.
45247         (cacos_test_data): Likewise.
45248         (cacosh_test_data): Likewise.
45249         (carg_test_data): Likewise.
45250         (casin_test_data): Likewise.
45251         (casinh_test_data): Likewise.
45252         (catan_test_data): Likewise.
45253         (catanh_test_data): Likewise.
45254         (cbrt_test_data): Likewise.
45255         (ccos_test_data): Likewise.
45256         (ccosh_test_data): Likewise.
45257         (ceil_test_data): Likewise.
45258         (cexp_test_data): Likewise.
45259         (cimag_test_data): Likewise.
45260         (clog_test_data): Likewise.
45261         (clog10_test_data): Likewise.
45262         (conj_test_data): Likewise.
45263         (copysign_test_data): Likewise.
45264         (cos_test_data): Likewise.
45265         (cos_tonearest_test_data): Likewise.
45266         (cos_towardzero_test_data): Likewise.
45267         (cos_downward_test_data): Likewise.
45268         (cos_upward_test_data): Likewise.
45269         (cosh_test_data): Likewise.
45270         (cosh_tonearest_test_data): Likewise.
45271         (cosh_towardzero_test_data): Likewise.
45272         (cosh_downward_test_data): Likewise.
45273         (cosh_upward_test_data): Likewise.
45274         (cpow_test_data): Likewise.
45275         (cproj_test_data): Likewise.
45276         (creal_test_data): Likewise.
45277         (csin_test_data): Likewise.
45278         (csinh_test_data): Likewise.
45279         (csqrt_test_data): Likewise.
45280         (ctan_test_data): Likewise.
45281         (ctan_tonearest_test_data): Likewise.
45282         (ctan_towardzero_test_data): Likewise.
45283         (ctan_downward_test_data): Likewise.
45284         (ctan_upward_test_data): Likewise.
45285         (ctanh_test_data): Likewise.
45286         (ctanh_tonearest_test_data): Likewise.
45287         (ctanh_towardzero_test_data): Likewise.
45288         (ctanh_downward_test_data): Likewise.
45289         (ctanh_upward_test_data): Likewise.
45290         (erf_test_data): Likewise.
45291         (erfc_test_data): Likewise.
45292         (exp_test_data): Likewise.
45293         (exp_tonearest_test_data): Likewise.
45294         (exp_towardzero_test_data): Likewise.
45295         (exp_downward_test_data): Likewise.
45296         (exp_upward_test_data): Likewise.
45297         (exp10_test_data): Likewise.
45298         (exp2_test_data): Likewise.
45299         (expm1_test_data): Likewise.
45300         (fabs_test_data): Likewise.
45301         (fdim_test_data): Likewise.
45302         (finite_test_data): Likewise.
45303         (floor_test_data): Likewise.
45304         (fma_test_data): Likewise.
45305         (fma_towardzero_test_data): Likewise.
45306         (fma_downward_test_data): Likewise.
45307         (fma_upward_test_data): Likewise.
45308         (fmax_test_data): Likewise.
45309         (fmin_test_data): Likewise.
45310         (fmod_test_data): Likewise.
45311         (fpclassify_test_data): Likewise.
45312         (frexp_test_data): Likewise.
45313         (gamma_test_data): Likewise.
45314         (hypot_test_data): Likewise.
45315         (ilogb_test_data): Likewise.
45316         (isfinite_test_data): Likewise.
45317         (isgreater_test_data): Likewise.
45318         (isgreaterequal_test_data): Likewise.
45319         (isinf_test_data): Likewise.
45320         (isless_test_data): Likewise.
45321         (islessequal_test_data): Likewise.
45322         (islessgreater_test_data): Likewise.
45323         (isnan_test_data): Likewise.
45324         (isnormal_test_data): Likewise.
45325         (issignaling_test_data): Likewise.
45326         (isunordered_test_data): Likewise.
45327         (j0_test_data): Likewise.
45328         (j1_test_data): Likewise.
45329         (jn_test_data): Likewise.
45330         (ldexp_test_data): Likewise.
45331         (lgamma_test_data): Likewise.
45332         (lrint_test_data): Likewise.
45333         (lrint_tonearest_test_data): Likewise.
45334         (lrint_towardzero_test_data): Likewise.
45335         (lrint_downward_test_data): Likewise.
45336         (lrint_upward_test_data): Likewise.
45337         (llrint_test_data): Likewise.
45338         (llrint_tonearest_test_data): Likewise.
45339         (llrint_towardzero_test_data): Likewise.
45340         (llrint_downward_test_data): Likewise.
45341         (llrint_upward_test_data): Likewise.
45342         (log_test_data): Likewise.
45343         (log10_test_data): Likewise.
45344         (log1p_test_data): Likewise.
45345         (log2_test_data): Likewise.
45346         (logb_test_data): Likewise.
45347         (logb_downward_test_data): Likewise.
45348         (lround_test_data): Likewise.
45349         (llround_test_data): Likewise.
45350         (modf_test_data): Likewise.
45351         (nearbyint_test_data): Likewise.
45352         (nextafter_test_data): Likewise.
45353         (nexttoward_test_data): Likewise.
45354         (pow_test_data): Likewise.
45355         (pow_tonearest_test_data): Likewise.
45356         (pow_towardzero_test_data): Likewise.
45357         (pow_downward_test_data): Likewise.
45358         (pow_upward_test_data): Likewise.
45359         (remainder_test_data): Likewise.
45360         (remainder_tonearest_test_data): Likewise.
45361         (remainder_towardzero_test_data): Likewise.
45362         (remainder_downward_test_data): Likewise.
45363         (remainder_upward_test_data): Likewise.
45364         (remquo_test_data): Likewise.
45365         (rint_test_data): Likewise.
45366         (rint_tonearest_test_data): Likewise.
45367         (rint_towardzero_test_data): Likewise.
45368         (rint_downward_test_data): Likewise.
45369         (rint_upward_test_data): Likewise.
45370         (round_test_data): Likewise.
45371         (scalb_test_data): Likewise.
45372         (scalbn_test_data): Likewise.
45373         (scalbln_test_data): Likewise.
45374         (signbit_test_data): Likewise.
45375         (sin_test_data): Likewise.
45376         (sin_tonearest_test_data): Likewise.
45377         (sin_towardzero_test_data): Likewise.
45378         (sin_downward_test_data): Likewise.
45379         (sin_upward_test_data): Likewise.
45380         (sincos_test_data): Likewise.
45381         (sinh_test_data): Likewise.
45382         (sinh_tonearest_test_data): Likewise.
45383         (sinh_towardzero_test_data): Likewise.
45384         (sinh_downward_test_data): Likewise.
45385         (sinh_upward_test_data): Likewise.
45386         (sqrt_test_data): Likewise.
45387         (tan_test_data): Likewise.
45388         (tan_tonearest_test_data): Likewise.
45389         (tan_towardzero_test_data): Likewise.
45390         (tan_downward_test_data): Likewise.
45391         (tan_upward_test_data): Likewise.
45392         (tanh_test_data): Likewise.
45393         (tgamma_test_data): Likewise.
45394         (trunc_test_data): Likewise.
45395         (y0_test_data): Likewise.
45396         (y1_test_data): Likewise.
45397         (yn_test_data): Likewise.
45398         (significand_test_data): Likewise.
45400         * math/gen-libm-test.pl (@functions): Remove variable.
45401         (generate_testfile): Don't handle START and END lines.
45402         * math/libm-test.inc (START): New macro.
45403         (END): Likewise.
45404         (END_COMPLEX): Likewise.
45405         (acos_test): Use END macro without arguments.
45406         (acos_test_tonearest): Likewise.
45407         (acos_test_towardzero): Likewise.
45408         (acos_test_downward): Likewise.
45409         (acos_test_upward): Likewise.
45410         (acosh_test): Likewise.
45411         (asin_test): Likewise.
45412         (asin_test_tonearest): Likewise.
45413         (asin_test_towardzero): Likewise.
45414         (asin_test_downward): Likewise.
45415         (asin_test_upward): Likewise.
45416         (asinh_test): Likewise.
45417         (atan_test): Likewise.
45418         (atanh_test): Likewise.
45419         (atan2_test): Likewise.
45420         (cabs_test): Likewise.
45421         (cacos_test): Use END_COMPLEX macro without arguments.
45422         (cacosh_test): Likewise.
45423         (carg_test): Use END macro without arguments.
45424         (casin_test): Use END_COMPLEX macro without arguments.
45425         (casinh_test): Likewise.
45426         (catan_test): Likewise.
45427         (catanh_test): Likewise.
45428         (cbrt_test): Use END macro without arguments.
45429         (ccos_test): Use END_COMPLEX macro without arguments.
45430         (ccosh_test): Likewise.
45431         (ceil_test): Use END macro without arguments.
45432         (cexp_test): Use END_COMPLEX macro without arguments.
45433         (cimag_test): Use END macro without arguments.
45434         (clog_test): Use END_COMPLEX macro without arguments.
45435         (clog10_test): Likewise.
45436         (conj_test): Likewise.
45437         (copysign_test): Use END macro without arguments.
45438         (cos_test): Likewise.
45439         (cos_test_tonearest): Likewise.
45440         (cos_test_towardzero): Likewise.
45441         (cos_test_downward): Likewise.
45442         (cos_test_upward): Likewise.
45443         (cosh_test): Likewise.
45444         (cosh_test_tonearest): Likewise.
45445         (cosh_test_towardzero): Likewise.
45446         (cosh_test_downward): Likewise.
45447         (cosh_test_upward): Likewise.
45448         (cpow_test): Use END_COMPLEX macro without arguments.
45449         (cproj_test): Likewise.
45450         (creal_test): Use END macro without arguments.
45451         (csin_test): Use END_COMPLEX macro without arguments.
45452         (csinh_test): Likewise.
45453         (csqrt_test): Likewise.
45454         (ctan_test): Likewise.
45455         (ctan_test_tonearest): Likewise.
45456         (ctan_test_towardzero): Likewise.
45457         (ctan_test_downward): Likewise.
45458         (ctan_test_upward): Likewise.
45459         (ctanh_test): Likewise.
45460         (ctanh_test_tonearest): Likewise.
45461         (ctanh_test_towardzero): Likewise.
45462         (ctanh_test_downward): Likewise.
45463         (ctanh_test_upward): Likewise.
45464         (erf_test): Use END macro without arguments.
45465         (erfc_test): Likewise.
45466         (exp_test): Likewise.
45467         (exp_test_tonearest): Likewise.
45468         (exp_test_towardzero): Likewise.
45469         (exp_test_downward): Likewise.
45470         (exp_test_upward): Likewise.
45471         (exp10_test): Likewise.
45472         (exp2_test): Likewise.
45473         (expm1_test): Likewise.
45474         (fabs_test): Likewise.
45475         (fdim_test): Likewise.
45476         (finite_test): Likewise.
45477         (floor_test): Likewise.
45478         (fma_test): Likewise.
45479         (fma_test_towardzero): Likewise.
45480         (fma_test_downward): Likewise.
45481         (fma_test_upward): Likewise.
45482         (fmax_test): Likewise.
45483         (fmin_test): Likewise.
45484         (fmod_test): Likewise.
45485         (fpclassify_test): Likewise.
45486         (frexp_test): Likewise.
45487         (gamma_test): Likewise.
45488         (hypot_test): Likewise.
45489         (ilogb_test): Likewise.
45490         (isfinite_test): Likewise.
45491         (isgreater_test): Likewise.
45492         (isgreaterequal_test): Likewise.
45493         (isinf_test): Likewise.
45494         (isless_test): Likewise.
45495         (islessequal_test): Likewise.
45496         (islessgreater_test): Likewise.
45497         (isnan_test): Likewise.
45498         (isnormal_test): Likewise.
45499         (issignaling_test): Likewise.
45500         (isunordered_test): Likewise.
45501         (j0_test): Likewise.
45502         (j1_test): Likewise.
45503         (jn_test): Likewise.
45504         (ldexp_test): Likewise.
45505         (lgamma_test): Likewise.
45506         (lrint_test): Likewise.
45507         (lrint_test_tonearest): Likewise.
45508         (lrint_test_towardzero): Likewise.
45509         (lrint_test_downward): Likewise.
45510         (lrint_test_upward): Likewise.
45511         (llrint_test): Likewise.
45512         (llrint_test_tonearest): Likewise.
45513         (llrint_test_towardzero): Likewise.
45514         (llrint_test_downward): Likewise.
45515         (llrint_test_upward): Likewise.
45516         (log_test): Likewise.
45517         (log10_test): Likewise.
45518         (log1p_test): Likewise.
45519         (log2_test): Likewise.
45520         (logb_test): Likewise.
45521         (logb_test_downward): Likewise.
45522         (lround_test): Likewise.
45523         (llround_test): Likewise.
45524         (modf_test): Likewise.
45525         (nearbyint_test): Likewise.
45526         (nextafter_test): Likewise.
45527         (nexttoward_test): Likewise.
45528         (pow_test): Likewise.
45529         (pow_test_tonearest): Likewise.
45530         (pow_test_towardzero): Likewise.
45531         (pow_test_downward): Likewise.
45532         (pow_test_upward): Likewise.
45533         (remainder_test): Likewise.
45534         (remainder_test_tonearest): Likewise.
45535         (remainder_test_towardzero): Likewise.
45536         (remainder_test_downward): Likewise.
45537         (remainder_test_upward): Likewise.
45538         (remquo_test): Likewise.
45539         (rint_test): Likewise.
45540         (rint_test_tonearest): Likewise.
45541         (rint_test_towardzero): Likewise.
45542         (rint_test_downward): Likewise.
45543         (rint_test_upward): Likewise.
45544         (round_test): Likewise.
45545         (scalb_test): Likewise.
45546         (scalbn_test): Likewise.
45547         (scalbln_test): Likewise.
45548         (signbit_test): Likewise.
45549         (sin_test): Likewise.
45550         (sin_test_tonearest): Likewise.
45551         (sin_test_towardzero): Likewise.
45552         (sin_test_downward): Likewise.
45553         (sin_test_upward): Likewise.
45554         (sincos_test): Likewise.
45555         (sinh_test): Likewise.
45556         (sinh_test_tonearest): Likewise.
45557         (sinh_test_towardzero): Likewise.
45558         (sinh_test_downward): Likewise.
45559         (sinh_test_upward): Likewise.
45560         (sqrt_test): Likewise.
45561         (tan_test): Likewise.
45562         (tan_test_tonearest): Likewise.
45563         (tan_test_towardzero): Likewise.
45564         (tan_test_downward): Likewise.
45565         (tan_test_upward): Likewise.
45566         (tanh_test): Likewise.
45567         (tgamma_test): Likewise.
45568         (trunc_test): Likewise.
45569         (y0_test): Likewise.
45570         (y1_test): Likewise.
45571         (yn_test): Likewise.
45572         (significand_test): Likewise.
45574 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
45576         [BZ #15381]
45577         * libio/genops.c (_IO_no_init): Initialize wide struct info.
45579 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
45581         [BZ #14894]
45582         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
45583         __ppc_mdoio and __ppc_mdoom.
45584         * manual/platform.texi: Document new functions __ppc_yield,
45585         __ppc_mdoio and __ppc_mdoom.
45587 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
45589         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
45590         (main): Mention "tls" pseudo-hwcap is legacy.
45591         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
45593 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
45595         * math/gen-libm-test.pl (parse_args): Output only string of
45596         arguments as text for test name, not full call or descriptions of
45597         tests for extra outputs.
45598         (generate_testfile): Do not pass function name to parse_args.
45599         Generate this_func variable from START.
45600         * math/libm-test.inc (struct test_f_f_data): Rename test_name
45601         field to arg_str.
45602         (struct test_ff_f_data): Likewise.
45603         (test_ff_f_data_nexttoward): Likewise.
45604         (struct test_fi_f_data): Likewise.
45605         (struct test_fl_f_data): Likewise.
45606         (struct test_if_f_data): Likewise.
45607         (struct test_fff_f_data): Likewise.
45608         (struct test_c_f_data): Likewise.
45609         (struct test_f_f1_data): Likewise.  Remove field extra_name.
45610         (struct test_fF_f1_data): Likewise.
45611         (struct test_ffI_f1_data): Likewise.
45612         (struct test_c_c_data): Rename test_name field to arg_str.
45613         (struct test_cc_c_data): Likewise.
45614         (struct test_f_i_data): Likewise.
45615         (struct test_ff_i_data): Likewise.
45616         (struct test_f_l_data): Likewise.
45617         (struct test_f_L_data): Likewise.
45618         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
45619         and extra2_name.
45620         (COMMON_TEST_SETUP): New macro.
45621         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
45622         (COMMON_TEST_CLEANUP): Likewise.
45623         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
45624         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
45625         macros.
45626         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
45627         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
45628         macros.
45629         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
45630         (RUN_TEST_fff_f): Take argument string.  Call new setup and
45631         cleanup macros.
45632         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
45633         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
45634         macros.
45635         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
45636         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
45637         macros.
45638         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
45639         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
45640         cleanup macros.
45641         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
45642         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
45643         cleanup macros.
45644         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
45645         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
45646         cleanup macros.
45647         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
45648         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
45649         macros.
45650         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
45651         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
45652         macros.
45653         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
45654         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
45655         macros.
45656         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
45657         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
45658         cleanup macros.
45659         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
45660         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
45661         cleanup macros.
45662         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
45663         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
45664         macros.
45665         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
45666         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
45667         cleanup macros.
45668         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
45669         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
45670         macros.
45671         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
45672         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
45673         macros.
45674         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
45675         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
45676         cleanup macros.
45677         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
45679 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
45681         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
45682         to _sifields.sigfault.
45683         (si_addr_lsb): Define new macro.
45684         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
45685         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45686         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
45688 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
45690         [BZ #15441]
45691         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
45692         returns -1.
45693         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
45694         null return -1.
45695         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
45696         loading the domain.
45698 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
45700         * math/gen-libm-test.pl (parse_args): Do not include expected
45701         result in test name.
45702         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
45703         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45704         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45705         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45706         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45709 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45711         * benchtests/Makefile: Sort function entries.
45713         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
45714         tanh, asinh, acosh, atanh.
45715         * benchtests/acos-inputs: New file.
45716         * benchtests/acosh-inputs: New file.
45717         * benchtests/asin-inputs: New file.
45718         * benchtests/asinh-inputs: New file.
45719         * benchtests/atanh-inputs: New file.
45720         * benchtests/cosh-inputs: New file.
45721         * benchtests/log-inputs: New file.
45722         * benchtests/sinh-inputs: New file.
45723         * benchtests/tanh-inputs: New file.
45725 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
45727         [BZ #15339]
45728         * posix/tst-getaddrinfo4.c: New test.
45729         * posix/Makefile (tests): Add it.
45731 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45733         [BZ #15339]
45734         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
45735         when no services were used.
45736         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
45737         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
45739 2013-05-21  Andreas Schwab  <schwab@suse.de>
45741         [BZ #15014]
45742         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
45743         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
45744         successful.
45745         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
45746         redundant variable declarations and reallocation of buffer when
45747         parsing as IPv6 address.  Always set NSS status when called from
45748         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
45749         buffer too small.  Correct computation of needed size.
45750         * nss/Makefile (tests): Add test-digits-dots.
45751         * nss/test-digits-dots.c: New test.
45753 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45755         * benchtests/Makefile: Remove instructions for adding
45756         benchmark tests.
45757         * benchtests/README: New file to explain how to execute and
45758         enhance the benchmark tests.
45760 2013-05-21  Andreas Schwab  <schwab@suse.de>
45762         [BZ #15493]
45763         * setjmp/Makefile (tests): Add tst-sigsetjmp.
45764         * setjmp/tst-sigsetjmp.c: New test.
45766 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45768         * sysdeps/x86_64/memset.S (memset): New implementation.
45769         (__bzero): Likewise.
45770         (__memset_tail): New function.
45772 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45774         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
45775         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
45776         __memcpy_sse2_unaligned ifunc selection.
45777         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45778         Add memcpy-sse2-unaligned.S.
45779         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45780         Add: __memcpy_sse2_unaligned.
45782 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
45784         [BZ #15490]
45785         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
45786         math_force_eval before restoring floating-point envrionment.
45787         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
45788         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
45789         Likewise.
45790         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
45791         <math_private.h>.
45792         (__nearbyintl): Use math_force_eval before restoring
45793         floating-point environment.
45794         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
45796         * math/gen-libm-test.pl (special_functions): Remove.
45797         (parse_args): Don't handle TEST_extra.  Handle functions with no
45798         return value.
45799         * math/libm-test.inc (struct test_sincos_data): Replace with
45800         struct test_fFF_11_data.
45801         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
45802         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
45803         (sincos_test_data): Change element type to struct
45804         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
45805         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
45806         RUN_TEST_LOOP_sincos.
45807         * math/README.libm-test: Don't mention special handling of
45808         individual functions.
45809         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
45810         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45811         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45812         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45813         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45816         * math/gen-libm-test.pl (get_variable): Remove function.
45817         (parse_args): Don't show pointer parameters to call in test
45818         names.  Use "extra output N" in test names for extra outputs
45819         rather than naming variables.
45821 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
45823         [BZ #15488]
45824         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
45825         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
45826         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
45827         double tests.
45828         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
45829         disable.
45830         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
45831         check_long_double.
45833         * math/gen-libm-test.pl (@tests): Remove variable.
45834         ($count): Likewise.
45835         (new_test): Remove function.
45836         (show_exceptions): New function.
45837         (special_functions): Use show_exceptions instead of new_test.
45838         (parse_args): Likewise.
45839         (generate_testfile): Pass only function name in generated call to
45840         print_max_error or print_complex_max_error.
45841         (get_ulps): Do not handle complex tests specially.
45842         (output_test): Rename to ...
45843         (get_all_ulps_for_test): ... this.  Return a string rather than
45844         printing to a file.  Require ulps to be present.
45845         (output_ulps): Generate arrays rather than #defines.
45846         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
45847         (struct ulp_data): New type.
45848         (BUILD_COMPLEX_ULP): Remove macro.
45849         (compare_ulp_data): New function.
45850         (find_ulps): Likewise.
45851         (find_test_ulps): Likewise.
45852         (find_function_ulps): Likewise.
45853         (find_complex_function_ulps): Likewise.
45854         (print_max_error): Determine allowed ulps using
45855         find_function_ulps.
45856         (print_complex_max_error): Determine allowed ulps using
45857         find_complex_function_ulps.
45858         (check_float_internal): Determine max ulps using find_test_ulps.
45859         (check_float): Do not take max_ulp parameter.  Update call to
45860         check_float_internal.
45861         (check_complex): Likewise.
45862         (check_int): Do not take max_ulp parameter.
45863         (check_long): Likewise.
45864         (check_bool): Likewise.
45865         (check_longlong): Likewise.
45866         (struct test_f_f_data): Remove max_ulp field.
45867         (struct test_ff_f_data): Likewise.
45868         (struct test_ff_f_data_nexttoward): Likewise.
45869         (struct test_fi_f_data): Likewise.
45870         (struct test_fl_f_data): Likewise.
45871         (struct test_if_f_data): Likewise.
45872         (struct test_fff_f_data): Likewise.
45873         (struct test_c_f_data): Likewise.
45874         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
45875         (struct test_fF_f1_data): Likewise.
45876         (struct test_ffI_f1_data): Likewise.
45877         (struct test_c_c_data): Remove max_ulp field.
45878         (struct test_cc_c_data): Likewise.
45879         (struct test_f_i_data): Likewise.
45880         (struct test_ff_i_data): Likewise.
45881         (struct test_f_l_data): Likewise.
45882         (struct test_f_L_data): Likewise.
45883         (struct test_sincos_data): Likewise.
45884         (RUN_TEST_f_f): Do not handle ulps.
45885         (RUN_TEST_LOOP_f_f): Likewise.
45886         (RUN_TEST_2_f): Likewise.
45887         (RUN_TEST_LOOP_2_f): Likewise.
45888         (RUN_TEST_fff_f): Likewise.
45889         (RUN_TEST_LOOP_fff_f): Likewise.
45890         (RUN_TEST_c_f): Likewise.
45891         (RUN_TEST_LOOP_c_f): Likewise.
45892         (RUN_TEST_f_f1): Likewise.
45893         (RUN_TEST_LOOP_f_f1): Likewise.
45894         (RUN_TEST_fF_f1): Likewise.
45895         (RUN_TEST_LOOP_fF_f1): Likewise.
45896         (RUN_TEST_fI_f1): Likewise.
45897         (RUN_TEST_LOOP_fI_f1): Likewise.
45898         (RUN_TEST_ffI_f1): Likewise.
45899         (RUN_TEST_LOOP_ffI_f1): Likewise.
45900         (RUN_TEST_c_c): Likewise.
45901         (RUN_TEST_LOOP_c_c): Likewise.
45902         (RUN_TEST_cc_c): Likewise.
45903         (RUN_TEST_LOOP_cc_c): Likewise.
45904         (RUN_TEST_f_i): Likewise.
45905         (RUN_TEST_LOOP_f_i): Likewise.
45906         (RUN_TEST_f_i_tg): Likewise.
45907         (RUN_TEST_LOOP_f_i_tg): Likewise.
45908         (RUN_TEST_ff_i_tg): Likewise.
45909         (RUN_TEST_LOOP_ff_i_tg): Likewise.
45910         (RUN_TEST_f_b): Likewise.
45911         (RUN_TEST_LOOP_f_b): Likewise.
45912         (RUN_TEST_f_b_tg): Likewise.
45913         (RUN_TEST_LOOP_f_b_tg): Likewise.
45914         (RUN_TEST_f_l): Likewise.
45915         (RUN_TEST_LOOP_f_l): Likewise.
45916         (RUN_TEST_f_L): Likewise.
45917         (RUN_TEST_LOOP_f_L): Likewise.
45918         (RUN_TEST_sincos): Likewise.
45919         (RUN_TEST_LOOP_sincos): Likewise.
45921 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
45923         [BZ #15480]
45924         [BZ #15485]
45925         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
45926         main case of finite arguments, set rounding mode to FE_TONEAREST
45927         and discard exceptions.
45928         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
45929         exceptions.
45930         (remainder_tonearest_test_data): New variable.
45931         (remainder_test_tonearest): New function.
45932         (remainder_towardzero_test_data): New variable.
45933         (remainder_test_towardzero): New function.
45934         (remainder_downward_test_data): New variable.
45935         (remainder_test_downward): New function.
45936         (remainder_upward_test_data): New variable.
45937         (remainder_test_upward): New function.
45938         (main): Call the new test functions.
45940         * math/libm-test.inc (struct test_f_f1_data): Remove field
45941         extra_init.
45942         (struct test_fF_f1_data): Likewise.
45943         (struct test_ffI_f1_data): Likewise.
45944         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
45945         based on value of EXTRA_EXPECTED.
45946         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
45947         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
45948         EXTRA_VAR based on value of EXTRA_EXPECTED.
45949         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
45950         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
45951         EXTRA_VAR based on value of EXTRA_EXPECTED.
45952         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
45953         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
45954         EXTRA_VAR based on value of EXTRA_EXPECTED.
45955         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
45956         * math/gen-libm-test.pl (parse_args): Don't output initializers
45957         for extra output values.
45959         * math/libm-test.inc (check_int): Expect result to be exactly
45960         equal to expected value and do not handle ulps.
45961         (check_long): Likewise.
45962         (check_longlong): Likewise.
45964         * math/libm-test.inc (ceil_test_data): Test for "inexact"
45965         exceptions.
45966         (cimag_test_data): Likewise.
45967         (conj_test_data): Likewise.
45968         (copysign_test_data): Likewise.
45969         (cproj_test_data): Likewise.
45970         (creal_test_data): Likewise.
45971         (fabs_test_data): Likewise.
45972         (fdim_test_data): Likewise.
45973         (finite_test_data): Likewise.
45974         (floor_test_data): Likewise.
45975         (fmax_test_data): Likewise.
45976         (fmin_test_data): Likewise.
45977         (fmod_test_data): Likewise.
45978         (fpclassify_test_data): Likewise.
45979         (frexp_test_data): Likewise.
45980         (ilogb_test_data): Likewise.
45981         (isfinite_test_data): Likewise.
45982         (isgreater_test_data): Likewise.
45983         (isgreaterequal_test_data): Likewise.
45984         (isinf_test_data): Likewise.
45985         (isless_test_data): Likewise.
45986         (islessequal_test_data): Likewise.
45987         (islessgreater_test_data): Likewise.
45988         (isnan_test_data): Likewise.
45989         (isnormal_test_data): Likewise.
45990         (issignaling_test_data): Likewise.
45991         (isunordered_test_data): Likewise.
45992         (ldexp_test_data): Likewise.
45993         (lrint_test_data): Likewise.
45994         (lrint_test_data) [TEST_FLOAT]: Disable one test.
45995         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
45996         (lrint_tonearest_test_data): Test for "inexact" exceptions.
45997         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
45998         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
45999         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
46000         test input.
46001         (lrint_towardzero_test_data): Test for "inexact" exceptions.
46002         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
46003         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
46004         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
46005         that test input.
46006         (lrint_downward_test_data): Test for "inexact" exceptions.
46007         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
46008         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
46009         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
46010         test input.
46011         (lrint_upward_test_data): Test for "inexact" exceptions.
46012         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
46013         test input.
46014         (llrint_test_data): Test for "inexact" exceptions.
46015         (llrint_test_data) [TEST_FLOAT]: Disable one test.
46016         (llrint_tonearest_test_data): Test for "inexact" exceptions.
46017         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
46018         (llrint_towardzero_test_data): Test for "inexact" exceptions.
46019         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
46020         (llrint_downward_test_data): Test for "inexact" exceptions.
46021         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
46022         (llrint_upward_test_data): Test for "inexact" exceptions.
46023         (logb_test_data): Likewise.
46024         (logb_downward_test_data): Likewise.
46025         (nextafter_test_data): Likewise.
46026         (nexttoward_test_data): Likewise.
46027         (remainder_test_data): Likewise.
46028         (remquo_test_data): Likewise.
46029         (scalbn_test_data): Likewise.
46030         (scalbln_test_data): Likewise.
46031         (signbit_test_data): Likewise.
46032         (sqrt_test_data): Likewise.
46033         (significand_test_data): Likewise.
46035 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46037         [BZ #15424]
46038         * benchtests/bench-modf.c (struct args): Mark arg0 as
46039         volatile.
46040         * scripts/bench.pl: Mark members of struct args as volatile.
46042 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46044         [BZ # 15497]
46045         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
46046         negative infinity on POWER6 or lower.
46047         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
46049 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
46051         [BZ #15442]
46052         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
46053         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
46054         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
46055         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
46056         (_FP_SETQNAN): New macro.
46057         (_FP_SETQNAN_SEMIRAW): Likewise.
46058         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
46059         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
46060         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
46061         (FP_EXTEND): Use _FP_FRAC_SNANP.
46062         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
46063         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
46064         into account.
46065         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46066         New macro.
46067         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46068         Likewise.
46070 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46072         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
46073         with DIVIDE_BY_ZERO_EXCEPTION.
46074         (gamma_test_data): Likewise.
46075         (lgamma_test_data): Likewise.
46076         (log_test_data): Likewise.
46077         (log10_test_data): Likewise.
46078         (log2_test_data): Likewise.
46079         (tgamma_test_data): Likewise.
46081         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
46082         (acos_test_tonearest): Likewise.
46083         (acos_test_towardzero): Likewise.
46084         (acos_test_downward): Likewise.
46085         (acos_test_upward): Likewise.
46086         (acosh_test): Likewise.
46087         (asin_test): Likewise.
46088         (asin_test_tonearest): Likewise.
46089         (asin_test_towardzero): Likewise.
46090         (asin_test_downward): Likewise.
46091         (asin_test_upward): Likewise.
46092         (asinh_test): Likewise.
46093         (atan_test): Likewise.
46094         (atanh_test): Likewise.
46095         (atan2_test): Likewise.
46096         (cabs_test): Likewise.
46097         (cacos_test): Likewise.
46098         (cacosh_test): Likewise.
46099         (casin_test): Likewise.
46100         (casinh_test): Likewise.
46101         (catan_test): Likewise.
46102         (catanh_test): Likewise.
46103         (cbrt_test): Likewise.
46104         (ccos_test): Likewise.
46105         (ccosh_test): Likewise.
46106         (cexp_test): Likewise.
46107         (clog_test): Likewise.
46108         (clog10_test): Likewise.
46109         (cos_test): Likewise.
46110         (cos_test_tonearest): Likewise.
46111         (cos_test_towardzero): Likewise.
46112         (cos_test_downward): Likewise.
46113         (cos_test_upward): Likewise.
46114         (cosh_test): Likewise.
46115         (cosh_test_tonearest): Likewise.
46116         (cosh_test_towardzero): Likewise.
46117         (cosh_test_downward): Likewise.
46118         (cosh_test_upward): Likewise.
46119         (cpow_test): Likewise.
46120         (csin_test): Likewise.
46121         (csinh_test): Likewise.
46122         (csqrt_test): Likewise.
46123         (ctan_test): Likewise.
46124         (ctan_test_tonearest): Likewise.
46125         (ctan_test_towardzero): Likewise.
46126         (ctan_test_downward): Likewise.
46127         (ctan_test_upward): Likewise.
46128         (ctanh_test): Likewise.
46129         (ctanh_test_tonearest): Likewise.
46130         (ctanh_test_towardzero): Likewise.
46131         (ctanh_test_downward): Likewise.
46132         (ctanh_test_upward): Likewise.
46133         (erf_test): Likewise.
46134         (erfc_test): Likewise.
46135         (exp_test): Likewise.
46136         (exp_test_tonearest): Likewise.
46137         (exp_test_towardzero): Likewise.
46138         (exp_test_downward): Likewise.
46139         (exp_test_upward): Likewise.
46140         (exp10_test): Likewise.
46141         (exp2_test): Likewise.
46142         (expm1_test): Likewise.
46143         (fmod_test): Likewise.
46144         (gamma_test): Likewise.
46145         (hypot_test): Likewise.
46146         (j0_test): Likewise.
46147         (j1_test): Likewise.
46148         (jn_test): Likewise.
46149         (lgamma_test): Likewise.
46150         (log_test): Likewise.
46151         (log10_test): Likewise.
46152         (log1p_test): Likewise.
46153         (log2_test): Likewise.
46154         (logb_test_downward): Likewise.
46155         (pow_test): Likewise.
46156         (pow_test_tonearest): Likewise.
46157         (pow_test_towardzero): Likewise.
46158         (pow_test_downward): Likewise.
46159         (pow_test_upward): Likewise.
46160         (remainder_test): Likewise.
46161         (remquo_test): Likewise.
46162         (sin_test): Likewise.
46163         (sin_test_tonearest): Likewise.
46164         (sin_test_towardzero): Likewise.
46165         (sin_test_downward): Likewise.
46166         (sin_test_upward): Likewise.
46167         (sincos_test): Likewise.
46168         (sinh_test): Likewise.
46169         (sinh_test_tonearest): Likewise.
46170         (sinh_test_towardzero): Likewise.
46171         (sinh_test_downward): Likewise.
46172         (sinh_test_upward): Likewise.
46173         (sqrt_test): Likewise.
46174         (tan_test): Likewise.
46175         (tan_test_tonearest): Likewise.
46176         (tan_test_towardzero): Likewise.
46177         (tan_test_downward): Likewise.
46178         (tan_test_upward): Likewise.
46179         (tanh_test): Likewise.
46180         (tgamma_test): Likewise.
46181         (y0_test): Likewise.
46182         (y1_test): Likewise.
46183         (yn_test): Likewise.
46185         * math/gen-libm-test.pl (adjust_arg): Remove function.
46186         (special_function): Remove argument $in_func.  Only handle
46187         generating output for tables of tests, not inside functions.
46188         (parse_args): Likewise.
46189         (generate_testfile): Remove variable $in_func.  Update call to
46190         parse_args.
46191         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
46192         (MINUS_ZERO_INIT): Rename macro to minus_zero.
46193         (PLUS_INFTY_INIT): Rename macro to plus_infty.
46194         (MINUS_INFTY_INIT): Rename macro to minus_infty.
46195         (QNAN_VALUE_INIT): Rename macro to qnan_value.
46196         (MAX_VALUE_INIT): Rename macro to max_value.
46197         (MIN_VALUE_INIT): Rename macro to min_value.
46198         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
46199         (plus_zero): Remove variable.
46200         (minus_zero): Likewise.
46201         (plus_infty): Likewise.
46202         (minus_infty): Likewise.
46203         (qnan_value): Likewise.
46204         (max_value): Likewise.
46205         (min_value): Likewise.
46206         (min_subnorm_value): Likewise.
46208 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46210         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
46211         uint64_t or uint32_t usage.
46212         * crypt/sha256-block.c: Likewise.
46213         * crypt/sha256-crypt.c: Likewise.
46214         * crypt/sha256.c: Likewise.
46215         * crypt/sha512-block.c: Likewise.
46216         * crypt/sha512-crypt.c: Likewise.
46217         * crypt/sha512.c: Likewise.
46218         * debug/backtrace-tst.c: Likewise.
46219         * debug/pcprofiledump.c: Likewise.
46220         * elf/cache.c: Likewise.
46221         * elf/dl-cache.c: Likewise.
46222         * elf/dl-misc.c: Likewise.
46223         * elf/dl-profile.c: Likewise.
46224         * elf/dl-support.c: Likewise.
46225         * elf/ldconfig.c: Likewise.
46226         * elf/sprof.c: Likewise.
46227         * iconv/dummy-repertoire.c: Likewise.
46228         * iconv/iconv_charmap.c: Likewise.
46229         * iconv/skeleton.c: Likewise.
46230         * iconvdata/8bit-generic.c: Likewise.
46231         * iconvdata/cp737.h: Likewise.
46232         * iconvdata/cp775.h: Likewise.
46233         * iconvdata/ibm1008.h: Likewise.
46234         * iconvdata/ibm1025.h: Likewise.
46235         * iconvdata/ibm1046.h: Likewise.
46236         * iconvdata/ibm1097.h: Likewise.
46237         * iconvdata/ibm1112.h: Likewise.
46238         * iconvdata/ibm1122.h: Likewise.
46239         * iconvdata/ibm1123.h: Likewise.
46240         * iconvdata/ibm1124.h: Likewise.
46241         * iconvdata/ibm1129.h: Likewise.
46242         * iconvdata/ibm1130.h: Likewise.
46243         * iconvdata/ibm1132.h: Likewise.
46244         * iconvdata/ibm1133.h: Likewise.
46245         * iconvdata/ibm1137.h: Likewise.
46246         * iconvdata/ibm1140.h: Likewise.
46247         * iconvdata/ibm1141.h: Likewise.
46248         * iconvdata/ibm1142.h: Likewise.
46249         * iconvdata/ibm1143.h: Likewise.
46250         * iconvdata/ibm1144.h: Likewise.
46251         * iconvdata/ibm1145.h: Likewise.
46252         * iconvdata/ibm1146.h: Likewise.
46253         * iconvdata/ibm1147.h: Likewise.
46254         * iconvdata/ibm1148.h: Likewise.
46255         * iconvdata/ibm1149.h: Likewise.
46256         * iconvdata/ibm1153.h: Likewise.
46257         * iconvdata/ibm1154.h: Likewise.
46258         * iconvdata/ibm1155.h: Likewise.
46259         * iconvdata/ibm1156.h: Likewise.
46260         * iconvdata/ibm1157.h: Likewise.
46261         * iconvdata/ibm1158.h: Likewise.
46262         * iconvdata/ibm1160.h: Likewise.
46263         * iconvdata/ibm1161.h: Likewise.
46264         * iconvdata/ibm1162.h: Likewise.
46265         * iconvdata/ibm1163.h: Likewise.
46266         * iconvdata/ibm1164.h: Likewise.
46267         * iconvdata/ibm1166.h: Likewise.
46268         * iconvdata/ibm1167.h: Likewise.
46269         * iconvdata/ibm12712.h: Likewise.
46270         * iconvdata/ibm1390.h: Likewise.
46271         * iconvdata/ibm1399.h: Likewise.
46272         * iconvdata/ibm16804.h: Likewise.
46273         * iconvdata/ibm4517.h: Likewise.
46274         * iconvdata/ibm4899.h: Likewise.
46275         * iconvdata/ibm4909.h: Likewise.
46276         * iconvdata/ibm4971.h: Likewise.
46277         * iconvdata/ibm5347.h: Likewise.
46278         * iconvdata/ibm803.h: Likewise.
46279         * iconvdata/ibm856.h: Likewise.
46280         * iconvdata/ibm901.h: Likewise.
46281         * iconvdata/ibm902.h: Likewise.
46282         * iconvdata/ibm9030.h: Likewise.
46283         * iconvdata/ibm9066.h: Likewise.
46284         * iconvdata/ibm921.h: Likewise.
46285         * iconvdata/ibm922.h: Likewise.
46286         * iconvdata/ibm9448.h: Likewise.
46287         * iconvdata/isiri-3342.h: Likewise.
46288         * iconvdata/jis0201.h: Likewise.
46289         * include/link.h: Likewise.
46290         * include/netdb.h: Likewise.
46291         * inet/check_native.c: Likewise.
46292         * inet/check_pf.c: Likewise.
46293         * inet/getipv4sourcefilter.c: Likewise.
46294         * inet/getnameinfo.c: Likewise.
46295         * inet/getsourcefilter.c: Likewise.
46296         * inet/htonl.c: Likewise.
46297         * inet/setipv4sourcefilter.c: Likewise.
46298         * inet/setsourcefilter.c: Likewise.
46299         * inet/test-inet6_opt.c: Likewise.
46300         * inet/tst-network.c: Likewise.
46301         * locale/C-collate.c: Likewise.
46302         * locale/C-ctype.c: Likewise.
46303         * locale/C-time.c: Likewise.
46304         * locale/C-translit.h: Likewise.
46305         * locale/loadarchive.c: Likewise.
46306         * locale/programs/3level.h: Likewise.
46307         * locale/programs/charmap.c: Likewise.
46308         * locale/programs/charmap.h: Likewise.
46309         * locale/programs/ld-address.c: Likewise.
46310         * locale/programs/ld-collate.c: Likewise.
46311         * locale/programs/ld-ctype.c: Likewise.
46312         * locale/programs/ld-identification.c: Likewise.
46313         * locale/programs/ld-measurement.c: Likewise.
46314         * locale/programs/ld-messages.c: Likewise.
46315         * locale/programs/ld-monetary.c: Likewise.
46316         * locale/programs/ld-name.c: Likewise.
46317         * locale/programs/ld-numeric.c: Likewise.
46318         * locale/programs/ld-paper.c: Likewise.
46319         * locale/programs/ld-telephone.c: Likewise.
46320         * locale/programs/ld-time.c: Likewise.
46321         * locale/programs/linereader.c: Likewise.
46322         * locale/programs/locale.c: Likewise.
46323         * locale/programs/locarchive.c: Likewise.
46324         * locale/programs/locfile.h: Likewise.
46325         * locale/programs/repertoire.c: Likewise.
46326         * locale/programs/simple-hash.c: Likewise.
46327         * locale/programs/simple-hash.h: Likewise.
46328         * malloc/memusage.c: Likewise.
46329         * malloc/memusagestat.c: Likewise.
46330         * nis/nis_defaults.c: Likewise.
46331         * nis/nis_hash.c: Likewise.
46332         * nis/nis_print.c: Likewise.
46333         * nis/nis_xdr.c: Likewise.
46334         * nscd/connections.c: Likewise.
46335         * nscd/hstcache.c: Likewise.
46336         * nscd/nscd_gethst_r.c: Likewise.
46337         * nscd/nscd_getserv_r.c: Likewise.
46338         * nscd/nscd_helper.c: Likewise.
46339         * nscd/servicescache.c: Likewise.
46340         * nss/makedb.c: Likewise.
46341         * nss/nss_db/db-XXX.c: Likewise.
46342         * nss/nss_db/db-initgroups.c: Likewise.
46343         * nss/nss_db/db-netgrp.c: Likewise.
46344         * nss/nss_files/files-network.c: Likewise.
46345         * nss/nss_files/files-parse.c: Likewise.
46346         * posix/bug-regex5.c: Likewise.
46347         * posix/fnmatch_loop.c: Likewise.
46348         * posix/regcomp.c: Likewise.
46349         * posix/regexec.c: Likewise.
46350         * posix/tst-rfc3484-2.c: Likewise.
46351         * posix/tst-rfc3484-3.c: Likewise.
46352         * posix/tst-rfc3484.c: Likewise.
46353         * resolv/nss_dns/dns-canon.c: Likewise.
46354         * resolv/nss_dns/dns-network.c: Likewise.
46355         * resolv/res_init.c: Likewise.
46356         * resolv/res_mkquery.c: Likewise.
46357         * resolv/tst-aton.c: Likewise.
46358         * stdlib/cxa_atexit.c: Likewise.
46359         * stdlib/cxa_finalize.c: Likewise.
46360         * stdlib/gen-fpioconst.c: Likewise.
46361         * stdlib/strtol_l.c: Likewise.
46362         * string/tst-endian.c: Likewise.
46363         * sunrpc/auth_des.c: Likewise.
46364         * sunrpc/clnt_udp.c: Likewise.
46365         * sunrpc/rtime.c: Likewise.
46366         * sunrpc/svcauth_des.c: Likewise.
46367         * sunrpc/xdr.c: Likewise.
46368         * sunrpc/xdr_intXX_t.c: Likewise.
46369         * sunrpc/xdr_rec.c: Likewise.
46370         * sysdeps/generic/ldconfig.h: Likewise.
46371         * sysdeps/generic/ldsodefs.h: Likewise.
46372         * sysdeps/generic/memusage.h: Likewise.
46373         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46374         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
46375         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
46376         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46377         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46378         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46379         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46380         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46381         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46382         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46383         * sysdeps/posix/getaddrinfo.c: Likewise.
46384         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46385         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46386         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46387         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46388         * sysdeps/powerpc/test-gettimebase.c: Likewise.
46389         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
46390         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
46391         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
46392         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
46393         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
46394         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46395         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46396         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
46397         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
46398         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
46399         * sysdeps/x86_64/dl-tls.h: Likewise.
46400         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
46401         * time/alt_digit.c: Likewise.
46402         * time/era.c: Likewise.
46403         * wcsmbs/tst-c16c32-1.c: Likewise.
46405 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46407         * math/libm-test.inc (struct test_sincos_data): New type.
46408         (RUN_TEST_LOOP_sincos): New macro.
46409         (sincos_test_data): New variable.
46410         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
46412 2013-05-16  Richard Henderson  <rth@redhat.com>
46414         * math/atest-exp2.c (LIMB64): New macro.
46415         (CONSTSZ): New macro.
46416         (mp_exp1, mp_exp_m1, mp_log2): New variables.
46417         (hexdig): Move ...
46418         (print_mpn_fp): ... to function scope.
46419         (read_mpn_hex): Remove.
46420         (get_log2): Remove.
46421         (exp2_mpn): Use mp_log2.
46422         (main): Use mp_exp1.
46424 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46426         * math/libm-test.inc: Remove comment about not testing "inexact"
46427         exceptions.
46428         (INEXACT_EXCEPTION): New macro.
46429         (NO_INEXACT_EXCEPTION): Likewise.
46430         (INVALID_EXCEPTION_OK): Update value.
46431         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46432         (OVERFLOW_EXCEPTION_OK): Likewise.
46433         (UNDERFLOW_EXCEPTION_OK): Likewise.
46434         (IGNORE_ZERO_INF_SIGN): Likewise.
46435         (ERRNO_UNCHANGED): Likewise.
46436         (ERRNO_EDOM): Likewise.
46437         (ERRNO_ERANGE): Likewise.
46438         (test_exceptions): Handle testing "inexact" exceptions.
46439         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
46440         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
46441         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
46442         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
46443         INEXACT_EXCEPTION.
46444         (rint_towardzero_test_data): Likewise.
46445         (rint_downward_test_data): Likewise.
46446         (rint_upward_test_data): Likewise.
46448         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
46449         with OVERFLOW_EXCEPTION.
46450         (exp10_test_data): Likewise.
46451         (exp2_test_data): Likewise.
46452         (expm1_test_data): Likewise.
46453         (lgamma_test_data): Likewise.
46454         (pow_test_data): Likewise.
46455         (tgamma_test_data): Likewise.
46456         (yn_test_data): Remove duplicate test of overflow.
46458         * math/libm-test.inc (struct test_cc_c_data): New type.
46459         (RUN_TEST_LOOP_cc_c): New macro.
46460         (cpow_test_data): New variable.
46461         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
46463         * math/libm-test.inc (struct test_f_L_data): New type.
46464         (RUN_TEST_LOOP_f_L): New macro.
46465         (llrint_test_data): New variable.
46466         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
46467         (llrint_tonearest_test_data): New variable.
46468         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
46469         (llrint_towardzero_test_data): New variable.
46470         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
46471         (llrint_downward_test_data): New variable.
46472         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
46473         (llrint_upward_test_data): New variable.
46474         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
46475         (llround_test_data): New variable.
46476         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
46478 2013-05-13  Peter Collingbourne  <pcc@google.com>
46480         * math/atest-exp2.c (get_log2): Remove const attribute.
46482 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
46484         * math/libm-test.inc (struct test_f_l_data): New type.
46485         (RUN_TEST_LOOP_f_l): New macro.
46486         (lrint_test_data): New variable.
46487         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
46488         (lrint_tonearest_test_data): New variable.
46489         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
46490         (lrint_towardzero_test_data): New variable.
46491         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
46492         (lrint_downward_test_data): New variable.
46493         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
46494         (lrint_upward_test_data): New variable.
46495         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
46496         (lround_test_data): New variable.
46497         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
46499 2013-05-15  Peter Collingbourne  <pcc@google.com>
46501         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
46502         (EXTRACT_WORDS64) Use where appropriate.
46503         (INSERT_WORDS64) Likewise.
46505         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
46506         constraints with x constraints.
46507         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
46509         * malloc/obstack.c (_obstack_compat): Add initializer.
46511 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
46513         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
46514         si_trapno and add si_addr_lsb to _sifields.sigfault.
46515         (si_trapno): Remove macro.
46516         (si_addr_lsb): Define new macro.
46517         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
46519 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
46521         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
46522         instead of TEST_f_l.
46523         (llrint_test_tonearest): Likewise.
46524         (llrint_test_towardzero): Likewise.
46525         (llrint_test_downward): Likewise.
46526         (llrint_test_upward): Likewise.
46527         (llround_test): Likewise.
46529         * math/libm-test.inc (struct test_f_i_data): Add comment.
46530         (RUN_TEST_LOOP_f_b): New macro.
46531         (RUN_TEST_LOOP_f_b_tg): Likewise.
46532         (finite_test_data): New variable.
46533         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
46534         (isfinite_test_data): New variable.
46535         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46536         (isinf_test_data): New variable.
46537         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46538         (isnan_test_data): New variable.
46539         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46540         (isnormal_test_data): New variable.
46541         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46542         (issignaling_test_data): New variable.
46543         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46544         (signbit_test_data): New variable.
46545         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46547         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
46548         with INVALID_EXCEPTION.
46549         (acosh_test_data): Likewise.
46550         (asin_test_data): Likewise.
46551         (atanh_test_data): Likewise.
46552         (fmod_test_data): Likewise.
46553         (log_test_data): Likewise.
46554         (log10_test_data): Likewise.
46555         (log2_test_data): Likewise.
46556         (pow_test_data): Likewise.
46557         (sqrt_test_data): Likewise.
46558         (y0_test_data): Likewise.
46559         (y1_test_data): Likewise.
46560         (yn_test_data): Likewise.
46562         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
46563         function contents.
46565         * math/libm-test.inc (struct test_ff_i_data): New type.
46566         (RUN_TEST_LOOP_ff_i_tg): New macro.
46567         (isgreater_test_data): New variable.
46568         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46569         (isgreaterequal_test_data): New variable.
46570         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46571         (isless_test_data): New variable.
46572         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46573         (islessequal_test_data): New variable.
46574         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46575         (islessgreater_test_data): New variable.
46576         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46577         (isunordered_test_data): New variable.
46578         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46580 2013-05-14  David S. Miller  <davem@davemloft.net>
46582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46584 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
46586         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
46588         * math/libm-test.inc (struct test_fF_f1_data): Change type of
46589         extra_test to int.
46590         (struct test_f_i_data): Change type of max_ulp to int.
46592         * math/libm-test.inc (test_ffI_f1_data): New type.
46593         (RUN_TEST_LOOP_ffI_f1): New macro.
46594         (remquo_test_data): New variable.
46595         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
46597         * setjmp/tst-setjmp-fp.c: New file.
46598         * setjmp/Makefile (tests): Add tst-setjmp-fp.
46599         (link-libm): New variable.
46600         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
46602         * math/libm-test.inc (struct test_f_i_data): New type.
46603         (RUN_TEST_LOOP_f_i): New macro.
46604         (RUN_TEST_LOOP_f_i_tg): Likewise.
46605         (fpclassify_test_data): New variable.
46606         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
46607         (ilogb_test_data): New variable.
46608         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
46610         * math/libm-test.inc (scalbln_test): Correct function name in END
46611         call.
46613         * math/libm-test.inc (struct test_f_f1_data): Add comment.
46614         (RUN_TEST_LOOP_fI_f1): New macro.
46615         (frexp_test_data): New variable.
46616         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
46618         * math/libm-test.inc (struct test_fF_f1_data): New type.
46619         (RUN_TEST_LOOP_fF_f1): New macro.
46620         (modf_test_data): New variable.
46621         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
46623         * math/libm-test.inc (struct test_f_f1_data): New type.
46624         (RUN_TEST_LOOP_f_f1): New macro.
46625         (gamma_test_data): New variable.
46626         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
46627         (lgamma_test_data): New variable.
46628         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
46630 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
46632         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
46633         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
46634         (main): Comment "tls" pseudo-hwcap.
46636 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
46638         * math/libm-test.inc (struct test_fl_f_data): New type.
46639         (RUN_TEST_LOOP_fl_f): New variable.
46640         (scalbln_test_data): New variable.
46641         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
46643         * math/libm-test.inc (struct test_fi_f_data): New type.
46644         (RUN_TEST_LOOP_fi_f): New macro.
46645         (ldexp_test_data): New variable.
46646         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
46647         (scalbn_test_data): New variable.
46648         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
46650         * math/libm-test.inc (struct test_c_f_data): New type.
46651         (RUN_TEST_LOOP_c_f): New macro.
46652         (cabs_test_data): New variable.
46653         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
46654         (carg_test_data): New variable.
46655         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
46656         (cimag_test_data): New variable.
46657         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
46658         (creal_test_data): New variable.
46659         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
46661         * math/libm-test.inc (struct test_if_f_data): New type.
46662         (RUN_TEST_LOOP_if_f): New macro.
46663         (jn_test_data): New variable.
46664         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
46665         (yn_test_data): New variable.
46666         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
46668         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
46670 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46672         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
46673         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
46675 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46677         * benchtests/Makefile (CPPFLAGS-nonlib): Add
46678         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
46679         (bench-deps): Add bench-timing.h.
46680         * benchtests-bench-skeleton.c: Include bench-timing.h.
46681         (main): Use TIMING_* macros instead of clock_gettime.
46682         * benchtests/bench-timing.h: New file.
46684         [BZ #14582]
46685         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
46686         Renamed from _LIB_VERSION.
46687         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
46689 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
46691         * math/libm-test.inc (struct test_fff_f_data): New type.
46692         (RUN_TEST_LOOP_fff_f): New macro.
46693         (fma_test_data): New variable.
46694         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
46695         (fma_towardzero_test_data): New variable.
46696         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
46697         (fma_downward_test_data): New variable.
46698         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
46699         (fma_upward_test_data): New variable.
46700         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
46702         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
46703         (struct test_c_c_data): New type.
46704         (RUN_TEST_LOOP_c_c): New macro.
46705         (cacos_test_data): New variable.
46706         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
46707         (cacosh_test_data): New variable.
46708         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
46709         (casin_test_data): New variable.
46710         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
46711         (casinh_test_data): New variable.
46712         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
46713         (catan_test_data): New variable.
46714         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
46715         (catanh_test_data): New variable.
46716         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
46717         (ccos_test_data): New variable.
46718         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
46719         (ccosh_test_data): New variable.
46720         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
46721         (cexp_test_data): New variable.
46722         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
46723         (clog_test_data): New variable.
46724         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
46725         (clog10_test_data): New variable.
46726         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
46727         (conj_test_data): New variable.
46728         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
46729         (cproj_test_data): New variable.
46730         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
46731         (csin_test_data): New variable.
46732         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
46733         (csinh_test_data): New variable.
46734         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
46735         (csqrt_test_data): New variable.
46736         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
46737         (ctan_test_data): New variable.
46738         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
46739         (ctan_tonearest_test_data): New variable.
46740         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46741         (ctan_towardzero_test_data): New variable.
46742         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46743         (ctan_downward_test_data): New variable.
46744         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46745         (ctan_upward_test_data): New variable.
46746         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46747         (ctanh_test_data): New variable.
46748         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
46749         (ctanh_tonearest_test_data): New variable.
46750         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46751         (ctanh_towardzero_test_data): New variable.
46752         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46753         (ctanh_downward_test_data): New variable.
46754         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46755         (ctanh_upward_test_data): New variable.
46756         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46757         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
46758         of BUILD_COMPLEX.
46760         * math/libm-test.inc (struct test_ff_f_data): New type.
46761         (struct test_ff_f_data_nexttoward): Likewise.
46762         (RUN_TEST_LOOP_2_f): New macro.
46763         (RUN_TEST_LOOP_ff_f): Likewise.
46764         (atan2_test_data): New variable.
46765         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
46766         (copysign_test_data): New variable.
46767         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
46768         (fdim_test_data): New variable.
46769         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
46770         (fmax_test_data): New variable.
46771         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
46772         (fmin_test_data): New variable.
46773         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
46774         (fmod_test_data): New variable.
46775         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
46776         (hypot_test_data): New variable.
46777         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
46778         (nextafter_test_data): New variable.
46779         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
46780         (nexttoward_test_data): New variable.
46781         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
46782         (pow_test_data): New variable.
46783         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
46784         (pow_tonearest_test_data): New variable.
46785         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
46786         (pow_towardzero_test_data): New variable.
46787         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
46788         (pow_downward_test_data): New variable.
46789         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
46790         (pow_upward_test_data): New variable.
46791         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
46792         (remainder_test_data): New variable.
46793         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
46794         (scalb_test_data): New variable.
46795         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
46796         * sysdeps/i386/fpu/libm-test-ulps: Update.
46798 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
46800         * math/libm-test.inc (fma_test): Use max_value instead of local
46801         variable fltmax.
46802         (nextafter_test): Likewise.
46804         * math/libm-test.inc (acos_towardzero_test_data): New variable.
46805         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46806         (acos_downward_test_data): New variable.
46807         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46808         (acos_upward_test_data): New variable.
46809         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46810         (acosh_test_data): New variable.
46811         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
46812         (asin_test_data): New variable.
46813         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
46814         (asin_tonearest_test_data): New variable.
46815         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46816         (asin_towardzero_test_data): New variable.
46817         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46818         (asin_downward_test_data): New variable.
46819         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46820         (asin_upward_test_data): New variable.
46821         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46822         (asinh_test_data): New variable.
46823         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
46824         (atan_test_data): New variable.
46825         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
46826         (atanh_test_data): New variable.
46827         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
46828         (cbrt_test_data): New variable.
46829         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
46830         (ceil_test_data): New variable.
46831         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
46832         (cos_test_data): New variable.
46833         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
46834         (cos_tonearest_test_data): New variable.
46835         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46836         (cos_towardzero_test_data): New variable.
46837         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46838         (cos_downward_test_data): New variable.
46839         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46840         (cos_upward_test_data): New variable.
46841         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46842         (cosh_test_data): New variable.
46843         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
46844         (cosh_tonearest_test_data): New variable.
46845         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46846         (cosh_towardzero_test_data): New variable.
46847         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46848         (cosh_downward_test_data): New variable.
46849         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46850         (cosh_upward_test_data): New variable.
46851         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46852         (erf_test_data): New variable.
46853         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
46854         (erfc_test_data): New variable.
46855         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
46856         (exp_test_data): New variable.
46857         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
46858         (exp_tonearest_test_data): New variable.
46859         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46860         (exp_towardzero_test_data): New variable.
46861         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46862         (exp_downward_test_data): New variable.
46863         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46864         (exp_upward_test_data): New variable.
46865         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46866         (exp10_test_data): New variable.
46867         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
46868         (exp2_test_data): New variable.
46869         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
46870         (expm1_test_data): New variable.
46871         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
46872         (fabs_test_data): New variable.
46873         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
46874         (floor_test_data): New variable.
46875         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
46876         (j0_test_data): New variable.
46877         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
46878         (j1_test_data): New variable.
46879         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
46880         (log_test_data): New variable.
46881         (log_test): Run tests with RUN_TEST_LOOP_f_f.
46882         (log10_test_data): New variable.
46883         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
46884         (log1p_test_data): New variable.
46885         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
46886         (log2_test_data): New variable.
46887         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
46888         (logb_test_data): New variable.
46889         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
46890         (logb_downward_test_data): New variable.
46891         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46892         (nearbyint_test_data): New variable.
46893         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
46894         (rint_test_data): New variable.
46895         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
46896         (rint_tonearest_test_data): New variable.
46897         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46898         (rint_towardzero_test_data): New variable.
46899         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46900         (rint_downward_test_data): New variable.
46901         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46902         (rint_upward_test_data): New variable.
46903         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46904         (round_test_data): New variable.
46905         (round_test): Run tests with RUN_TEST_LOOP_f_f.
46906         (sin_test_data): New variable.
46907         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
46908         (sin_tonearest_test_data): New variable.
46909         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46910         (sin_towardzero_test_data): New variable.
46911         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46912         (sin_downward_test_data): New variable.
46913         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46914         (sin_upward_test_data): New variable.
46915         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46916         (sinh_test_data): New variable.
46917         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
46918         (sinh_tonearest_test_data): New variable.
46919         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46920         (sinh_towardzero_test_data): New variable.
46921         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46922         (sinh_downward_test_data): New variable.
46923         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46924         (sinh_upward_test_data): New variable.
46925         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46926         (sqrt_test_data): New variable.
46927         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
46928         (tan_test_data): New variable.
46929         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
46930         (tan_tonearest_test_data): New variable.
46931         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46932         (tan_towardzero_test_data): New variable.
46933         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46934         (tan_downward_test_data): New variable.
46935         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46936         (tan_upward_test_data): New variable.
46937         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46938         (tanh_test_data): New variable.
46939         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
46940         (tgamma_test_data): New variable.
46941         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
46942         (trunc_test_data): New variable.
46943         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
46944         (y0_test_data): New variable.
46945         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
46946         (y1_test_data): New variable.
46947         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
46948         (significand_test_data): New variable.
46949         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
46951 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
46953         [BZ #12387]
46954         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
46956 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46958         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
46960 2013-05-10  Andreas Jaeger  <aj@suse.de>
46962         [BZ #15448]
46963         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
46964         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
46966 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
46968         * math/gen-libm-test.pl (adjust_arg): New function.
46969         (special_functions): Handle generating output in both functions
46970         and arrays.
46971         (parse_args): Likewise.
46972         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
46973         $in_func argument to parse_args.
46974         * math/libm-test.inc (struct test_f_f_data): New type.
46975         (IF_ROUND_INIT_): New macro.
46976         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
46977         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46978         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46979         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46980         (ROUND_RESTORE_): Likewise.
46981         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
46982         (ROUND_RESTORE_FE_TONEAREST): Likewise.
46983         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
46984         (ROUND_RESTORE_FE_UPWARD): Likewise.
46985         (RUN_TEST_LOOP_f_f): New macro.
46986         (acos_test_data): New variable.
46987         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
46988         (acos_tonearest_test_data): New variable.
46989         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46991 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46993         * benchtests/bench-skeleton.c (startup): Fix coding style.
46995 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
46997         [BZ #6809]
46998         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
46999         negative infinity argument.
47000         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
47001         negative infinity argument.
47002         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
47003         negative infinity argument.
47004         * math/libm-test.inc (tgamma_test): Expect errno to be set for
47005         domain errors.
47007 2013-05-10  Florian Weimer  <fweimer@redhat.com>
47009         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
47010         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
47011         * iconv/iconv_prog.c (main): Likewise.
47012         * locale/programs/charmap-dir.c (charmap_readdir)
47013         (fopen_uncompressed): Likewise.
47014         * locale/programs/locfile.c (siblings_uncached)
47015         (write_locale_data): Use lstat64 instead of lstat.
47016         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
47017         stat.
47019 2013-05-10  Andreas Jaeger  <aj@suse.de>
47021         [BZ #15395]
47022         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
47023         localization.
47024         Include <locale.h>.
47026 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
47028         * elf/dl-close.c (_dl_close_worker): Add comments.
47030 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
47032         [BZ #15359]
47033         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
47034         high part of pi/2.
47035         (__ieee754_rem_pio2l): Update comments.
47037         [BZ #15429]
47038         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
47039         high part of pi/2.
47040         (__ieee754_rem_pio2l): Update comments.
47042         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
47043         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
47045         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
47046         M_PI_4l.
47048         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
47049         (M_PI_34_LOG10El): Likewise.
47050         (M_PI2_LOG10El): Likewise.
47051         (M_PI4_LOG10El): Likewise.
47052         (M_PI_LOG10El): Likewise.
47054 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47056         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47058 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
47060         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
47061         (MINUS_ZERO_INIT): Likewise.
47062         (PLUS_INFTY_INIT): Likewise.
47063         (MINUS_INFTY_INIT): Likewise.
47064         (QNAN_VALUE_INIT): Likewise.
47065         (MAX_VALUE_INIT): Likewise.
47066         (MIN_VALUE_INIT): Likewise.
47067         (MIN_SUBNORM_VALUE_INIT): Likewise.
47068         (plus_zero): Initialize with PLUS_ZERO_INIT.
47069         (minus_zero): Initialize with MINUS_ZERO_INIT.
47070         (plus_infty): Initialize with PLUS_INFTY_INIT.
47071         (minus_infty): Initialize with MINUS_INFTY_INIT.
47072         (qnan_value): Initialize with QNAN_VALUE_INIT.
47073         (max_value): Initialize with MAX_VALUE_INIT.
47074         (min_value): Initialize with MIN_VALUE_INIT.
47075         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
47077         * math/libm-test.inc (RUN_TEST_if_f): New macro.
47078         (jn_test): Use TEST_if_f instead of TEST_ff_f.
47079         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
47080         (yn_test): Use TEST_if_f instead of TEST_ff_f.
47082         * math/libm-test.inc (RUN_TEST_f_f): New macro.
47083         (RUN_TEST_2_f): Likewise.
47084         (RUN_TEST_ff_f): Likewise.
47085         (RUN_TEST_fi_f): Likewise.
47086         (RUN_TEST_fl_f): Likewise.
47087         (RUN_TEST_fff_f): Likewise.
47088         (RUN_TEST_c_f): Likewise.
47089         (RUN_TEST_f_f1): Likewise.
47090         (RUN_TEST_fF_f1): Likewise.
47091         (RUN_TEST_fI_f1): Likewise.
47092         (RUN_TEST_ffI_f1): Likewise.
47093         (RUN_TEST_c_c): Likewise.
47094         (RUN_TEST_cc_c): Likewise.
47095         (RUN_TEST_f_i): Likewise.
47096         (RUN_TEST_f_i_tg): Likewise.
47097         (RUN_TEST_ff_i_tg): Likewise.
47098         (RUN_TEST_f_b): Likewise.
47099         (RUN_TEST_f_b_tg): Likewise.
47100         (RUN_TEST_f_l): Likewise.
47101         (RUN_TEST_f_L): Likewise.
47102         (RUN_TEST_sincos): Likewise.
47103         * math/gen-libm-test.pl (new_test): Take new argument to indicate
47104         whether to show exceptions.  Do not include ");\n" in return
47105         value.
47106         (special_functions): Output call to RUN_TEST_sincos instead of
47107         check_float calls.  Update calls to new_test.
47108         (parse_args): Output call to single RUN_TEST_* macro instead of
47109         check_* calls and other assignments.  Update calls to new_test.
47111         [BZ #2546]
47112         [BZ #2560]
47113         [BZ #5159]
47114         [BZ #15426]
47115         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
47116         input to result for tgamma overflow.
47117         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
47118         (gamma_coeff): New variable.
47119         (NCOEFF): New macro.
47120         (gamma_positive): New function.
47121         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
47122         underflow here.  Use gamma_positive instead of exp (lgamma) for
47123         other arguments.
47124         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
47125         (gamma_coeff): New variable.
47126         (NCOEFF): New macro.
47127         (gammaf_positive): New function.
47128         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
47129         underflow here.  Use gamma_positive instead of exp (lgamma) for
47130         other arguments.
47131         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
47132         (gamma_coeff): New variable.
47133         (NCOEFF): New macro.
47134         (gammal_positive): New function.
47135         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
47136         underflow here.  Use gamma_positive instead of exp (lgamma) for
47137         other arguments.
47138         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
47139         (gamma_coeff): New variable.
47140         (NCOEFF): New macro.
47141         (gammal_positive): New function.
47142         (__ieee754_gammal_r): Handle positive infinity, overflow and
47143         underflow here.  Handle NaN the same as positive infinity.  Remove
47144         check x < 0xffffffff for negative integers.  Use gamma_positive
47145         instead of exp (lgamma) for other arguments.
47146         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
47147         (gamma_coeff): New variable.
47148         (NCOEFF): New macro.
47149         (gammal_positive): New function.
47150         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
47151         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
47152         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
47153         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
47154         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
47155         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
47156         * sysdeps/generic/math_private.h (__gamma_productf): New
47157         prototype.
47158         (__gamma_product): Likewise.
47159         (__gamma_productl): Likewise.
47160         * math/Makefile (libm-calls): Add gamma_product.
47161         * math/libm-test.inc (tgamma_test): Add more tests.
47162         * sysdeps/i386/fpu/libm-test-ulps: Update.
47163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47165 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
47167         * benchtests/bench-skeleton.c (main): Preheat CPU.
47169 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
47171         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
47173 2013-05-07  Roland McGrath  <roland@hack.frob.com>
47175         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
47176         and _dl_skip_args_internal.
47178 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
47180         * manual/message.texi (Message Translation): Talk about users.
47181         Message to key mapping impacts design.
47183 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47185         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
47187         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
47189         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
47190         * sysdeps/wordsize-64/glob64.c: ... here.
47192         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
47193         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
47194         New macros.
47196         * debug/getlogin_r_chk.c: Moved to ...
47197         * login/getlogin_r_chk.c: ... here.
47198         * debug/Makefile (routines): Move getlogin_r_chk to ...
47199         * login/Makefile (routines): ... here.
47200         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
47201         * login/Versions (libc: GLIBC_2.4): ... here.
47203         * io/poll.c (__poll): Renamed from poll.
47204         Add libc_hidden_def.
47205         (poll): Define as weak alias.
47207         * debug/ptsname_r_chk.c: Moved to ...
47208         * login/ptsname_r_chk.c: ... here.
47209         * debug/Makefile (routines): Move ptsname_r_chk to ...
47210         * login/Makefile (routines): ... here.
47211         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
47212         * login/Versions (libc: GLIBC_2.4): ... here.
47214         * posix/getlogin.c: Moved to ...
47215         * login/getlogin.c: ... here.
47216         * posix/getlogin_r.c: Moved to ...
47217         * login/getlogin_r.c: ... here.
47218         * posix/getlogin_r.c: Moved to ...
47219         * login/getlogin_r.c: ... here.
47220         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
47221         * login/Makefile (routines): ... here.
47222         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
47223         * login/Versions (libc: GLIBC_2.0): ... here.
47225         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
47226         (setrlimit): Define as weak alias.
47228         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
47229         Call __ names for open, ftruncate, and close.
47230         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
47231         (truncate): Define as weak alias.
47233 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
47235         * math/gen-libm-test.pl (parse_args): Initialize x before each
47236         test of frexp, modf and remquo.
47238         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
47239         test signgam value.
47241 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47243         [BZ #15418]
47244         [BZ #15419]
47245         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
47246         internal tests.
47247         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47249 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47251         * elf/dl-writev.h: New file.
47252         * elf/dl-misc.c: Include it.
47253         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
47254         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
47256 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
47258         * math/libm-test.inc (noXFails): Remove variable.
47259         (noXPasses): Likewise.
47260         (BUILD_COMPLEX_INT): Remove macro.
47261         (print_screen): Remove xfail argument.
47262         (print_screen_max_error): Likewise.
47263         (update_stats): Likewise.
47264         (print_max_error): Likewise.  Update calls to other affected
47265         functions.
47266         (print_complex_max_error): Likewise.
47267         (test_single_exception): Update calls to print_screen.
47268         (test_single_errno): Likewise.
47269         (check_float_internal): Remove xfail argument.  Update calls to
47270         other affected functions.
47271         (check_float): Likewise.
47272         (check_complex): Likewise.
47273         (check_int): Likewise.
47274         (check_long): Likewise.
47275         (check_bool): Likewise.
47276         (check_longlong): Likewise.
47277         (main): Don't print noXFails and noXPasses.
47278         * math/gen-libm-test.pl (top level): Don't mention expected
47279         failure handling in comment.
47280         (new_test): Don't handle expected failures.
47281         (parse_args): Don't mention expected failure handling in comment.
47282         (generate_testfile): Don't handle expected failures.
47283         (parse_ulps): Likewise.
47284         (print_ulps_file): Likewise.
47285         (get_failure): Remove function.
47286         (output_test): Don't handle expected failures.
47287         * make/README.libm-test: Don't mention expected failure handling.
47289         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
47290         (minus_zero): Likewise.
47291         (plus_infty): Likewise.
47292         (minus_infty): Likewise.
47293         (qnan_value): Likewise.
47294         (max_value): Likewise.
47295         (min_value): Likewise.
47296         (min_subnorm_value): Likewise.
47297         (initialize): Do not initialize those variables dynamically.
47299 2013-05-03  Roland McGrath  <roland@hack.frob.com>
47301         * io/open.c (__open_2): Moved to ...
47302         * io/open_2.c: ... this new file.
47303         * io/open64.c (__open64_2): Moved to ...
47304         * io/open64_2.c: ... this new file.
47305         * io/openat.c (__openat_2): Moved to ...
47306         * io/openat_2.c: ... this new file.
47307         * io/openat64.c (__openat64_2): Moved to ...
47308         * io/openat64_2.c: ... this new file.
47309         * io/Makefile (routines): Add them.
47310         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
47311         * sysdeps/unix/sysv/linux/open_2.c: File removed.
47312         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
47313         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
47314         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
47315         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
47316         (__openat64): Add hidden_ver.
47317         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
47318         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
47320         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
47321         Separately conditionalize setting of GLRO(dl_sysinfo) so
47322         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
47323         as well, but the actual setting is only under [NEED_DL_SYSINFO].
47325 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47327         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
47328         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
47329         definition.
47330         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
47331         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47332         (_libc_vdso_platform_setup): Add __vdso_time initialization.
47333         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
47334         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
47336 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
47338         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
47339         test signgam value.
47341         * math/libm-test.inc (hypot_test): Do not use
47342         IGNORE_ZERO_INF_SIGN.
47344 2013-05-03  Andreas Jaeger  <aj@suse.de>
47346         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
47347         Linux 3.9.
47348         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
47349         (PF_MAX): Adjust for VSOCK change.
47351 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47355 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
47357         [BZ #15264]
47358         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
47359         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
47360         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
47362 2013-05-02  David S. Miller  <davem@davemloft.net>
47364         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47366 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
47368         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
47370 2013-05-01  Roland McGrath  <roland@hack.frob.com>
47372         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
47374 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
47376         [BZ #14952]
47377         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
47378         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
47379         Use __attribute__ ((__gnu_inline__)).
47380         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
47381         Don't use __attribute__ ((__gnu_inline__)).
47383 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
47385         [BZ #15423]
47386         * math/s_catan.c (__catan): Handle small real or imaginary part of
47387         input specially to avoid spurious underflow.
47388         * math/s_catanf.c (__catanf): Likewise.
47389         * math/s_catanh.c (__catanh): Likewise.
47390         * math/s_catanhf.c (__catanhf): Likewise.
47391         * math/s_catanhl.c (__catanhl): Likewise.
47392         * math/s_catanl.c (__catanl): Likewise.
47393         * math/libm-test.inc (catan_test): Add more tests.
47394         (catanh_test): Likewise.
47395         * sysdeps/i386/fpu/libm-test-ulps: Update.
47396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47398 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47402 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
47404         [BZ #15416]
47405         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
47406         accurately for denominator in atan2.
47407         * math/s_catanf.c (__catanf): Likewise.
47408         * math/s_catanh.c (__catanh): Likewise.
47409         * math/s_catanhf.c (__catanhf): Likewise.
47410         * math/s_catanhl.c (__catanhl): Likewise.
47411         * math/s_catanl.c (__catanl): Likewise.
47412         * math/libm-test.inc (catan_test): Add more tests.
47413         (catanh_test): Likewise.
47414         * sysdeps/i386/fpu/libm-test-ulps: Update.
47415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47417 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47419         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
47421         * benchtests/Makefile (bench): Remove slow benchmarks.
47422         * benchtests/atan-inputs: Add slow benchmark inputs.
47423         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
47424         (BENCH_FUNC): Accept variant offset.
47425         (VARIANT): Define.
47426         * benchtests/bench-skeleton.c (main): Run benchmark for each
47427         variant.
47428         * benchtests/cos-inputs: Add slow benchmark inputs.
47429         * benchtests/exp-inputs: Likewise.
47430         * benchtests/pow-inputs: Likewise.
47431         * benchtests/sin-inputs: Likewise.
47432         * benchtests/slowatan-inputs: Remove.
47433         * benchtests/slowatan.c: Remove.
47434         * benchtests/slowcos-inputs: Remove.
47435         * benchtests/slowcos.c: Remove.
47436         * benchtests/slowexp-inputs: Remove.
47437         * benchtests/slowexp.c: Remove.
47438         * benchtests/slowpow-inputs: Remove.
47439         * benchtests/slowpow.c: Remove.
47440         * benchtests/slowsin-inputs: Remove.
47441         * benchtests/slowsin.c: Remove.
47442         * benchtests/slowtan-inputs: Remove.
47443         * benchtests/slowtan.c: Remove.
47444         * benchtests/tan-inputs: Add slow benchmark inputs.
47445         * scripts/bench.pl: Parse comments and directives.
47447         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
47448         in CPPFLAGS.
47449         ($(objpfx)bench-%.c): Remove *-ITER.
47450         * benchtests/bench-modf.c: Remove definition of ITER.
47451         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
47452         (main): Loop for DURATION seconds instead of fixed number of
47453         iterations.
47454         * scripts/bench.pl: Don't expect iterations in parameters.
47456 2013-04-29  Roland McGrath  <roland@hack.frob.com>
47458         * io/fchdir.c (__fchdir): Renamed from fchdir.
47459         (fchdir): Define as weak alias.
47461 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
47463         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
47464         (ERRNO_EDOM): Likewise.
47465         (ERRNO_ERANGE): Likewise.
47466         (noErrnoTests): New variable.
47467         (init_max_error): Set errno to 0.
47468         (test_single_errno): New function.
47469         (test_errno): Likewise.
47470         (check_float_internal): Call test_errno.  Set errno to 0.
47471         (check_complex): Refer to errno tests in comment.
47472         (check_int): Call test_errno.  Set errno to 0.
47473         (check_long): Likewise.
47474         (check_bool): Likewise.
47475         (check_longlong): Likewise.
47476         (cos_test): Use ERRNO_* flags for errno tests instead of
47477         check_int.
47478         (expm1_test): Likewise.
47479         (fmod_test): Likewise.
47480         (ilogb_test): Likewise.
47481         (lgamma_test): Likewise.
47482         (pow_test): Likewise.
47483         (remainder_test): Likewise.
47484         (sin_test): Likewise.
47485         (tan_test): Likewise.
47486         (yn_test): Likewise.
47487         (initialize): Set errno to 0.
47488         (main): Print number of errno tests.
47489         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
47491 2013-04-29  Andreas Jaeger  <aj@suse.de>
47493         [BZ #15084]
47494         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
47495         and RES_USEVC.
47497         [BZ #15085]
47498         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
47499         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
47500         unimplemented.
47502         [BZ #15380]
47503         * stdlib/random.c (__initstate): Return NULL if
47504         __initstate fails.
47506         [BZ #15086]
47507         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
47508         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
47509         RES_SNGLKUPREOP.
47511 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47515 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
47517         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
47518         of individual tests.
47519         (casin_test): Likewise.
47520         (casinh_test): Likewise.
47522 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
47524         [BZ #15409]
47525         * math/s_catan.c (__catan): Handle arguments with large real or
47526         imaginary part separately without squaring.
47527         * math/s_catanf.c (__catanf): Likewise.
47528         * math/s_catanh.c (__catanh): Likewise.
47529         * math/s_catanhf.c (__catanhf): Likewise.
47530         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
47531         and redefine.
47532         (__catanhl): Handle arguments with large real or imaginary part
47533         separately without squaring.
47534         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
47535         and redefine.
47536         (__catanl): Handle arguments with large real or imaginary part
47537         separately without squaring.
47538         * math/libm-test.inc (catan_test): Add more tests.
47539         (catanh_test): Likewise.
47540         * sysdeps/i386/fpu/libm-test-ulps: Update.
47541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47543 2013-04-27  Andreas Jaeger  <aj@suse.de>
47545         [BZ #15007]
47546         * stdlib/stdlib.h: Update guards for qecvt.
47547         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
47548         <stdlib.h>.
47550 2013-04-27  Allan McRae  <allan@archlinux.org>
47552         * sysdeps/i386/fpu/libm-test-ulps: Update.
47554 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
47556         [BZ #15406]
47557         * math/s_catan.c: Include <float.h>.
47558         (__catan): Ensure underflow exception occurs for underflowed
47559         result.
47560         * math/s_catanf.c: Include <float.h>.
47561         (__catanf): Ensure underflow exception occurs for underflowed
47562         result.
47563         * math/s_catanh.c: Include <float.h>.
47564         (__catanh): Ensure underflow exception occurs for underflowed
47565         result.
47566         * math/s_catanhf.c: Include <float.h>.
47567         (__catanhf): Ensure underflow exception occurs for underflowed
47568         result.
47569         * math/s_catanhl.c: Include <float.h>.
47570         (__catanhl): Ensure underflow exception occurs for underflowed
47571         result.
47572         * math/s_catanl.c: Include <float.h>.
47573         (__catanl): Ensure underflow exception occurs for underflowed
47574         result.
47575         * math/libm-test.inc (catan_test): Add more tests.
47576         (catanh_test): Likewise.
47578         [BZ #15405]
47579         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
47580         underflowed result.
47581         * math/s_ccoshf.c (__ccoshf): Likewise.
47582         * math/s_ccoshl.c (__ccoshl): Likewise.
47583         * math/s_csin.c (__csin): Likewise.
47584         * math/s_csinf.c (__csinf): Likewise.
47585         * math/s_csinh.c (__csinh): Likewise.
47586         * math/s_csinhf.c (__csinhf): Likewise.
47587         * math/s_csinhl.c (__csinhl): Likewise.
47588         * math/s_csinl.c (__csinl): Likewise.
47589         * math/libm-test.inc (ccos_test): Add more tests.
47590         (ccosh_test): Likewise.
47591         (csin_test): Likewise.
47592         (csinh_test): Likewise.
47594 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47596         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
47597         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
47598         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
47599         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
47600         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
47601         powerpc/power5+/fpu folders.
47602         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
47605 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
47607         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47609 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
47611         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
47612         additions to variable.
47613         [$(config-machine) = x86_64] (modules-names): Likewise.
47614         ($(objpfx)tst-audit3): Remove dependency.
47615         ($(objpfx)tst-audit3.out): Likewise.
47616         ($(objpfx)tst-audit4): Likewise.
47617         ($(objpfx)tst-audit4.out): Likewise.
47618         ($(objpfx)tst-audit5): Likewise.
47619         ($(objpfx)tst-audit5.out): Likewise.
47620         ($(objpfx)tst-audit6): Likewise.
47621         ($(objpfx)tst-audit6.out): Likewise.
47622         ($(objpfx)tst-audit7): Likewise.
47623         ($(objpfx)tst-audit7.out): Likewise.
47624         (tst-audit3-ENV): Remove variable.
47625         (tst-audit4-ENV): Likewise.
47626         (tst-audit5-ENV): Likewise.
47627         (tst-audit6-ENV): Likewise.
47628         (tst-audit7-ENV): Likewise.
47629         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
47630         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
47631         addition to variable.
47632         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
47633         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
47634         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
47635         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
47636         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
47637         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
47638         tst-audit3, tst-audit4 and tst-audit5.
47639         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
47640         tst-audit6 and tst-audit7.
47641         [$(subdir) = elf] (modules-names): Add audit modules for those
47642         tests.
47643         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
47644         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
47645         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
47646         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
47647         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
47648         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
47649         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
47650         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
47651         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
47652         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
47653         [$(subdir) = elf] (tst-audit3-ENV): New variable.
47654         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
47655         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
47656         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
47657         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
47658         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
47659         Likewise.
47660         [$(subdir) = elf && $(config-cflags-avx) = yes]
47661         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
47662         [$(subdir) = elf && $(config-cflags-avx) = yes]
47663         (CFLAGS-tst-auditmod4a.c): Likewise.
47664         [$(subdir) = elf && $(config-cflags-avx) = yes]
47665         (CFLAGS-tst-auditmod4b.c): Likewise.
47666         [$(subdir) = elf && $(config-cflags-avx) = yes]
47667         (CFLAGS-tst-auditmod6b.c): Likewise.
47668         [$(subdir) = elf && $(config-cflags-avx) = yes]
47669         (CFLAGS-tst-auditmod6c.c): Likewise.
47670         [$(subdir) = elf && $(config-cflags-avx) = yes]
47671         (CFLAGS-tst-auditmod7b.c): Likewise.
47672         * elf/tst-audit3.c: Move to ...
47673         * sysdeps/x86_64/tst-audit3.c: ... here.
47674         * elf/tst-audit4.c: Move to ...
47675         * sysdeps/x86_64/tst-audit4.c: ... here.
47676         * elf/tst-audit5.c: Move to ...
47677         * sysdeps/x86_64/tst-audit5.c: ... here.
47678         * elf/tst-audit6.c: Move to ...
47679         * sysdeps/x86_64/tst-audit6.c: ... here.
47680         * elf/tst-audit7.c: Move to ...
47681         * sysdeps/x86_64/tst-audit7.c: ... here.
47682         * elf/tst-auditmod3a.c: Move to ...
47683         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
47684         * elf/tst-auditmod3b.c: Move to ...
47685         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
47686         * elf/tst-auditmod4a.c: Move to ...
47687         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
47688         * elf/tst-auditmod4b.c: Move to ...
47689         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
47690         * elf/tst-auditmod5a.c: Move to ...
47691         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
47692         * elf/tst-auditmod5b.c: Move to ...
47693         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
47694         * elf/tst-auditmod6a.c: Move to ...
47695         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
47696         * elf/tst-auditmod6b.c: Move to ...
47697         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
47698         * elf/tst-auditmod6c.c: Move to ...
47699         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
47700         * elf/tst-auditmod7a.c: Move to ...
47701         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
47702         * elf/tst-auditmod7b.c: Move to ...
47703         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
47705 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
47707         [BZ #15366]
47708         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
47709         define unconditionally.
47710         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
47711         define unconditionally.
47712         (INT8_C, INT16_C, etc.): Likewise.
47714 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
47716         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
47717         __ehdr_start with hidden visibility.
47719         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
47721 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
47723         * math/libm-test.inc (cos_test): Use accurate hex constants.
47724         (sincost_test): Likewise.
47726 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
47728         * math/libm-test.inc (catan_test): Add more tests.
47729         (catanh_test): Likewise.
47731         * math/s_catanf.c (__catanf): Use suffixed floating-point
47732         constants.
47733         * math/s_catanhf.c (__catanhf): Likewise.
47734         * math/s_catanhl.c (__catanhl): Likewise.
47735         * math/s_catanl.c (__catanl): Likewise.
47737         [BZ #15394]
47738         * math/s_catan.c (__catan): Calculate imaginary part of result
47739         with log1p not log unless computing log of number close to 0.
47740         * math/s_catanf.c (__catanf): Likewise.
47741         * math/s_catanl.c (__catanl): Likewise.
47742         * math/s_catanh.c (__catanh): Calculate real part of result with
47743         log1p not log unless computing log of number close to 0.
47744         * math/s_catanhf.c (__catanhf): Likewise.
47745         * math/s_catanhl.c (__catanhl): Likewise.
47746         * math/libm-test.inc (catan_test): Add more tests.
47747         (catanh_test): Likewise.
47748         * sysdeps/i386/fpu/libm-test-ulps: Update.
47749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47751 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47753         * benchtests/Makefile: Mention files in which fast and slow
47754         paths of math functions are implemented.
47756 2013-04-23  Roland McGrath  <roland@hack.frob.com>
47758         * sysdeps/posix/timespec_get.c: New file.
47760 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47762         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
47763         POWER.
47764         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
47765         for POWER.
47766         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
47767         powerpc/power5/fpu folders.
47768         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
47769         * benchtests/Makefile: Add modf testcase.
47770         * benchtests/bench-modf.c: New file: Benchmark test for mo
47772 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47774         [BZ #14888]
47775         * time/Makefile (tests): Add tst-strptime-whitespace.
47776         * time/strptime_l.c (get_number): Use ISSPACE.
47777         (__strptime_internal): Likewise.
47778         * time/tst-strptime-whitespace.c: New test case.
47780 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
47782         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
47783         member.
47784         (_nss_files_init): Set it here.
47786 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
47788         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
47789         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
47790         unsigned.
47792 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
47794         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
47796 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47798         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
47799         size just once.
47801 2013-04-21  David S. Miller  <davem@davemloft.net>
47803         * po/ru.po: Update Russion translation from translation project.
47805 2013-04-17  Adam Conrad  <adconrad@0c3.net>
47807         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
47808         and setfsgid.
47810 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
47812         * configure.in: Remove i386 configure warning. Remove i386 case.
47813         * configure: Regenerate.
47814         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
47815         Add example to error message.
47816         * sysdeps/i386/configure: Regenerate.
47818 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47820         * benchtests/Makefile (bench): Add cos, tan, slowcos and
47821         slowtan.
47822         * benchtests/cos-inputs: New file.
47823         * benchtests/slowcos-inputs: New file.
47824         * benchtests/slowcos.c: New file.
47825         * benchtests/slowtan-inputs: New file.
47826         * benchtests/slowtan.c: New file.
47827         * benchtests/tan-inputs: New file.
47829 2013-04-16  Roland McGrath  <roland@hack.frob.com>
47831         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
47832         considered kosher.
47834 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47836         * benchtests/Makefile: Include cppflags-iterator.mk to add
47837         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
47839         * Makefile.in (bench-clean): New target.
47840         * benchtests/Makefile (bench-clean): Likewise.
47842 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
47844         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
47846 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
47848         * stdio-common/tstdiomisc.c: Fix coding-style violation.
47850 2013-04-15  Andreas Schwab  <schwab@suse.de>
47852         * nscd/grpcache.c (cache_addgr): Properly check for short write.
47853         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47854         * nscd/pwdcache.c (cache_addpw): Likewise.
47855         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
47856         more than recsize.
47858 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47860         * benchtests/Makefile (bench): Write all output to
47861         bench-out.tmp together.
47863 2013-04-15  Andreas Schwab  <schwab@suse.de>
47865         * nscd/nscd.c (main): Don't fork again after closing files.
47867 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47869         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
47871         * benchtests/Rules (bench-deps): Collect dependencies into a
47872         single variable.  Add Makefile to dependencies.
47873         ($(objpfx)bench-%.c): Depend on bench-deps.
47875 2013-04-12  Roland McGrath  <roland@hack.frob.com>
47876             Xavier Roche  <roche+kml2@exalead.com>
47878         [BZ #15361]
47879         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
47880         just that it's a file descriptor.
47881         * manual/llio.texi (Synchronizing AIO Operations): Update description
47882         for EBADF error from aio_fsync.
47884 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47886         * Rules (bench): Move target definition...
47887         * benchtests/Makefile: ... here.
47889 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
47891         * math/libm-test.inc (cos_test): Fix PI/2 test.
47892         (sincos_test): Likewise.
47893         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
47894         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
47896 2013-04-11  Andreas Schwab  <schwab@suse.de>
47898         [BZ #13988]
47899         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
47900         accept exponent character only when digits were seen.
47901         * stdio-common/Makefile (tests): Add bug26.
47902         * stdio-common/bug26.c: New file.
47904         [BZ #14293]
47905         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
47906         non-freeable.
47908 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47910         * Makeconfig (rtld-prefix): Define built linker prefix.
47911         * Rules (run-bench): Use it.
47912         * math/Makefile (run-regen-ulps): Likewise.
47914         * Rules (bench): Remove eval.
47916 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47917             Roland McGrath  <roland@hack.frob.com>
47918             Ondrej Bilka  <neleai@seznam.cz>
47920         [BZ #15346]
47921         * time/getdate.c: Include ctype.h and alloca.h.
47922         (__getdate_r): Trim leading and trailing spaces of input.
47923         * time/tst-getdate.c (tests): Add tests with leading and
47924         trailing spaces.
47926 2013-04-08  Roland McGrath  <roland@hack.frob.com>
47928         [BZ #14280]
47929         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
47930         when computing value.
47932 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47934         * math/README.libm-test (How can I generate "libm-test-ulps"?):
47935         Use testrun.sh to run libm tests.
47937         [BZ #15309]
47938         * elf/dl-open.c (dl_open_worker): memset all of seen array.
47940 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
47942         [BZ #15264]
47943         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
47945 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47947         * Makefile.in (regen-ulps): New target.
47948         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
47949         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
47950         [ifneq (no,$(PERL)] (regen-ulps): New target.
47951         [ifeq (no,$(PERL)] (regen-ulps): New target.
47952         * math/libm-test.inc (ulps_file_name): Define.
47953         (output_dir): New variable.
47954         (options): Add "output-dir" option.
47955         (parse_opt): Handle 'o' case.
47956         (main): If output_dir is non-NULL use it as a prefix
47957         otherwise use "".
47958         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
47960 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47962         [BZ #10060, #10062]
47963         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
47964         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
47965         fail configure if __sync_val_compare_and_swap is not inlined.
47966         * sysdeps/i386/configure: Regenerate.
47967         * configure.in: Build for i686 when configured for i386.
47968         * configure: Regenerate.
47969         * README: Remove i386 reference.
47971 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47973         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
47974         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47976 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
47978         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
47979         (lmsnanval): New variables.
47980         (F): Add conversion tests.
47981         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
47982         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
47984         * stdio-common/tstdiomisc.c (F): Properly collect individual
47985         tests' results.
47987         [BZ #14686, #15336]
47988         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
47989         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
47990         Instead, use input NaN values or generate a qNaN by arithmetic
47991         operation.  Also fix bugs to comply with the standard.
47992         * math/libm-test.inc (remainder_test): Add more tests.
47994         [BZ #15335, #15342]
47995         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
47996         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
47997         input NaN values or generate a qNaN by arithmetic operation.
47999         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
48000         unreachable code.
48002         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
48003         definitions.
48005 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
48007         [BZ #14478]
48008         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
48009         underflowed result.
48010         * math/s_cexpf.c (__cexpf): Likewise.
48011         * math/s_cexpl.c (__cexpl): Likewise.
48012         * math/libm-test.inc (cexp_test): Add more tests.
48014 2013-04-03  Andreas Schwab  <schwab@suse.de>
48016         [BZ #15330]
48017         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
48018         order arrays from heap if bigger than alloca cutoff.
48020 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
48022         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
48023         (SNAN_TESTS_double): Refer to GCC PR56831.
48024         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
48025         GCC PR56828.
48027 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48029         * Rules (bench): Move bench.out after the run is complete.
48031         * Rules (bench): Echo currently running benchmark.
48033         * benchtests/Makefile (bench): Add atan and slowatan.
48034         * benchtests/atan-inputs: New file.
48035         * benchtests/slowatan-inputs: New file.
48036         * benchtests/slowatan.c: New file.
48038         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
48039         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
48040         its value.
48042         [BZ #15305]
48043         * sysdeps/unix/sysv/linux/kernel-features.h
48044         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
48045         __ASSUME_XFS_RESTRICTED_CHOWN.
48046         * sysdeps/unix/sysv/linux/pathconf.c
48047         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48048         Save and restore errno.
48050 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
48052         [BZ #15327]
48053         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
48054         arguments using __kernel_casinh.
48055         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
48056         arguments using __kernel_casinhf.
48057         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
48058         arguments using __kernel_casinhl.
48059         * math/libm-test.inc (cacosh_test): Add more tests.
48060         * sysdeps/i386/fpu/libm-test-ulps: Update.
48061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48063 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48065         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
48066         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
48068         * bench/Makefile (bench): Add sin and slowsin.
48069         * benchtests/sin-inputs: New file.
48070         * benchtests/slowsin-inputs: New file.
48071         * benchtests/slowsin.c: New file.
48073         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
48074         (bench): Add slowexp and slowpow.
48075         (exp-ITER): Increase iterations.
48076         (pow-ITER): Likewise.
48077         * benchtests/exp-inputs: Change input.
48078         * benchtests/pow-inputs: Likewise.
48079         * benchtests/slowexp-inputs: New file.
48080         * benchtests/slowexp.c: New file.
48081         * benchtests/slowpow-inputs: New file.
48082         * benchtests/slowpow.c: New file.
48084 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48086         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
48087         instructions.
48088         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48089         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
48090         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
48091         * benchtests/Makefile: Add rint benchtest.
48092         * benchtests/rint-inputs: Input for rint benchtest.
48094 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
48096         * Versions.def (libm): Add GLIBC_2.18.
48097         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
48098         hidden libm prototypes.
48099         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
48100         * math/Makefile (libm-calls): Add s_issignaling.
48101         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
48102         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
48103         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
48104         declaration.
48105         * math/math.h [__USE_GNU] (issignaling): New macro.
48106         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
48107         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
48108         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
48109         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
48110         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
48111         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
48112         * manual/arith.texi (issignaling): New section.
48113         * manual/libm-err-tab.pl (@all_functions): Update comment.
48114         * math/gen-libm-test.pl (parse_args): Apply special handling for
48115         issignaling.
48116         * math/libm-test.inc (print_float, issignaling_test): New
48117         functions.
48118         (check_float_internal): Add issignaling checks.
48119         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
48120         default definition.
48121         * sysdeps/powerpc/math-tests.h: New file.
48122         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
48123         tests.
48124         * math/test-snan.c (TEST_FUNC): Likewise.
48126 2013-03-30  David S. Miller  <davem@davemloft.net>
48128         * po/de.po: Update from translation team.
48130 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
48132         [BZ #10357]
48133         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48134         imaginary part less than 1.0 and real part less than 0.5
48135         specially.
48136         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48137         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48138         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
48139         (cacos_test): Add more tests.
48140         (casin_test): Likewise.
48141         (casinh_test): Likewise.
48142         * sysdeps/i386/fpu/libm-test-ulps: Update.
48143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48145 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48147         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
48148         ONE with its value.
48150         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
48151         (__pow_mp): Replace ONE and MONE with their values.
48152         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48153         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
48154         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48155         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
48156         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48157         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48159         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
48161         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
48162         (__pow_mp): Replace ZERO and MZERO with their values.
48163         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48164         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48165         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48166         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48167         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48168         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
48169         (__sqr): Likewise.
48171         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
48173         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
48175 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48177         * include/stdlib.h [!SHARED] (__call_tls_dtors):
48178         Declare with __attribute__ ((weak)).
48179         * stdlib/exit.c (__libc_atexit) [!SHARED]:
48180         Call __call_tls_dtors only if it's not NULL.
48182 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48184         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
48185         didn't do it already, then set _dl_phdr and _dl_phnum based on the
48186         magic __ehdr_start linker symbol if it's defined.
48187         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
48188         them up here if it was already done.
48190         * elf/dl-support.c (_dl_phdr): Make pointer to const.
48191         (_dl_aux_init): Use const in cast when setting it.
48192         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
48193         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
48194         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
48196         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
48197         Declare them here.
48198         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
48199         * csu/libc-tls.c: Nor here.
48200         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
48202         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
48203         (__libc_message): Never call vsyslog.
48205 2013-03-28  Alan Modra  <amodra@gmail.com>
48207         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
48208         Define as empty.
48209         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
48210         Likewise.
48212 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48214         [BZ #15214]
48215         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
48216         underflow.
48217         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48219 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48221         [BZ #15304]
48222         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
48223         Don't add gid passed as argument.
48225         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
48227 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
48229         [BZ #15307]
48230         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48231         imaginary part between 1.0 and 1.5 and real part less than 0.5
48232         specially.
48233         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48234         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48235         * math/libm-test.inc (cacos_test): Add more tests.
48236         (casin_test): Likewise.
48237         (casinh_test): Likewise.
48238         * sysdeps/i386/fpu/libm-test-ulps: Update.
48239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48241 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48243         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
48244         constants.
48245         (norm): Likewise.
48246         (denorm): Likewise.
48247         (__dbl_mp): Likewise.
48248         (add_magnitudes): Likewise.
48249         (sub_magnitudes): Likewise.
48250         (__add): Likewise.
48251         (__sub): Likewise.
48252         (__mul): Likewise.
48253         (__sqr): Likewise.
48254         (__inv): Likewise.
48255         (__dvd): Likewise.
48257         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
48258         commented code.
48259         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
48260         (__dubcos): Likewise.
48261         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
48262         (__ieee754_acos): Likewise.
48263         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48264         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
48265         (__exp1): Likewise.
48266         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48267         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48268         (log1): Likewise.
48269         (my_log2): Likewise.
48270         (checkint): Likewise.
48271         * sysdeps/ieee754/dbl-64/e_remainder.c
48272         (__ieee754_remainder): Likewise.
48273         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48274         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
48275         (bsloww): Likewise.
48276         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48278         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
48279         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
48280         MANTISSA_STORE_T to store computations on mantissa.  Use
48281         macros for rounding and division.
48282         (denorm): Likewise.
48283         (__dbl_mp): Likewise.
48284         (add_magnitudes): Likewise.
48285         (sub_magnitudes): Likewise.
48286         (__mul): Likewise.
48287         (__sqr): Likewise.
48288         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
48289         powers of two in terms of TWOPOW macro.
48290         (mp_no): Make type of mantissa as MANTISSA_T.
48291         [!RADIXI]: Define RADIXI.
48292         [!TWO52]: Define TWO52.
48293         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
48295 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48297         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
48298         llroundl symbol when building for PPC32.
48300 2013-03-24  Mark H Weaver  <mhw@netris.org>
48302         * manual/arith.texi (Normalization Functions): Fix prototypes for
48303         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
48305 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48307         [BZ #13889]
48308         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
48309         high value to check if expl overflow.
48310         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
48311         to check for underflow and overflow.
48312         * math/libm-test.inc: Add exp test.
48314 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
48316         [BZ #11120]
48317         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
48318         with NOT_IN_libc.
48320 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48322         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
48323         symbol.
48325 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
48327         * math/gen-libm-test.pl (parse_args, special_functions): Properly
48328         wrap blocks consisting of several statements.
48330         * sysdeps/generic/math-tests.h: New file.
48331         * sysdeps/i386/fpu/math-tests.h: Likewise.
48332         * math/test-snan.c: Include it.
48333         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
48335 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
48337         [BZ #15285]
48338         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
48339         (__ieee754_j0l): Do not improve calculations using cos of twice
48340         input for inputs above LDBL_MAX / 2.0L.
48341         (__ieee754_y0l): Likewise.
48342         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
48343         (__ieee754_j1l): Do not improve calculations using cos of twice
48344         input for inputs above LDBL_MAX / 2.0L.
48345         (__ieee754_y1l): Likewise.
48346         * math/libm-test.inc (j0_test): Add another test.
48347         (j1_test): Likewise.
48348         (y0_test): Likewise.
48349         (y1_test): Likewise.
48350         * sysdeps/i386/fpu/libm-test-ulps: Update.
48352 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48354         * Rules ($(objpfx)bench-%.c): Include code from a C source
48355         file.
48357 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
48359         [BZ #15287]
48360         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48361         imaginary part 1.0 and real part less than 0.5 specially.
48362         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48363         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48364         * math/libm-test.inc (cacos_test): Add more tests.
48365         (casin_test): Likewise.
48366         (casinh_test): Likewise.
48367         * sysdeps/i386/fpu/libm-test-ulps: Update.
48368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48370 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48372         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
48373         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
48375 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
48377         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
48378         * config.make.in (config-cflags-sse4): Remove variable.
48379         (config-cflags-avx): Likewise.
48380         (config-cflags-sse2avx): Likewise.
48381         (config-cflags-novzeroupper): Likewise.
48382         (config-asflags-i686): Likewise.
48383         (have-mfma4): Likewise.
48384         (have-as-vis3): Likewise.
48385         (MIG): Likewise.
48386         * configure.in (MIG): Do not AC_SUBST.
48387         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
48388         (libc_cv_cc_sse4): Do not AC_SUBST.
48389         (libc_cv_cc_avx): Likewise.
48390         (libc_cv_cc_sse2avx): Likewise.
48391         (libc_cv_cc_novzeroupper): Likewise.
48392         (libc_cv_cc_fma4): Likewise.
48393         (libc_cv_as_i686): Likewise.
48394         (libc_cv_sparc_as_vis3): Likewise.
48395         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
48396         LIBC_CONFIG_VAR.
48397         (config-asflags-i686): Likewise.
48398         (config-cflags-avx): Likewise.
48399         (config-cflags-sse2avx): Likewise.
48400         (have-mfma4): Likewise.
48401         (config-cflags-novzeroupper): Likewise.
48402         * sysdeps/mach/configure.in (MIG): Likewise.
48403         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
48404         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
48405         LIBC_CONFIG_VAR.
48406         (config-cflags-avx): Likewise.
48407         (config-cflags-sse2avx): Likewise.
48408         (have-mfma4): Likewise.
48409         (config-cflags-novzeroupper): Likewise.
48410         * configure: Regenerated.
48411         * sysdeps/i386/configure: Likewise.
48412         * sysdeps/mach/configure: Likewise.
48413         * sysdeps/sparc/configure: Likewise.
48414         * sysdeps/x86_64/configure: Likewise.
48416 2013-03-20  Roland McGrath  <roland@hack.frob.com>
48418         [BZ #14812]
48419         * locale/programs/localedef.c (options): Put N_ translation marker
48420         on argument names, not just descriptions.
48422 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48424         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
48426 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
48428         [BZ #14176]
48429         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
48431 2013-03-19  Roland McGrath  <roland@hack.frob.com>
48433         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
48434         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
48435         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
48436         [!BEFORE_ABORT] (before_abort): New function.
48437         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
48438         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
48439         (writev_for_fatal): New function.
48440         (WRITEV_FOR_FATAL): New macro; call that.
48441         (backtrace_and_maps): New function.
48442         (BEFORE_ABORT): New macro; call that.
48443         (struct str_list): Type removed.
48444         (__libc_message, __libc_fatal): Functions removed.
48445         Include <sysdeps/posix/libc_fatal.c> instead.
48447 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
48449         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
48450         constants.
48451         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
48452         double constants.
48454 2013-03-19  Andreas Schwab  <schwab@suse.de>
48456         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
48457         * sysdeps/gnu/configure: Regenerate.
48459         * configure.in: Substitute libc_cv_rtlddir.
48460         * configure: Regenerate.
48461         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
48462         * Makeconfig (rtlddir, inst_rtlddir): New variables.
48463         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
48464         * elf/Makefile (install-others, CFLAGS-interp.c)
48465         (ldso_install, common-ldd-rewrite): Likewise.
48466         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
48467         $(inst_slibdir)/$(rtld-installed-name).
48468         * scripts/rellns-sh: Add -p option.
48469         * Makerules (make-shlib-link): Use rellns-sh to get relative name
48470         for source.
48472 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48474         * manual/nptl.texi: Renamed to ...
48475         * manual/threads.texi: ... this.
48476         * manual/Makefile (chapters): Update.
48478 2013-03-18  Roland McGrath  <roland@hack.frob.com>
48480         [BZ #14812]
48481         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
48482         on argument names, not just descriptions.
48483         * malloc/memusagestat.c (options): Likewise.
48484         * nss/getent.c (options): Likewise.
48486 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
48488         [BZ #14812]
48489         * iconv/iconv_prog.c (options): Put N_ translation marker
48490         on argument names, not just descriptions.
48491         * iconv/iconvconfig.c (options): Likewise.
48493 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
48495         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
48496         implementation which is faster on all x86_64 architectures.
48497         Tested on AMD, Intel Nehalem, SNB, IVB.
48498         * sysdeps/x86_64/strnlen.S: Likewise.
48500         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48501         Remove all multiarch strlen and strnlen versions.
48502         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
48503         Remove strlen and strnlen related parts.
48505         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
48506         Inline strlen part.
48507         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
48509         * sysdeps/x86_64/multiarch/strlen.S: Remove.
48510         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
48511         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
48512         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
48513         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
48514         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
48516 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
48518         * manual/memory.texi (Malloc Tunable Parameters):
48519         Sort parameters alphabetically. Add comments for missing entries.
48521 2013-03-17  David S. Miller  <davem@davemloft.net>
48523         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48525 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
48527         [BZ #15283]
48528         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
48529         for arguments at most half maximum finite value.
48530         * math/libm-test.inc (j0_test): Add more tests.
48531         (j1_test): Likewise.
48532         (y0_test): Likewise.
48533         (y1_test): Likewise.
48534         * sysdeps/i386/fpu/libm-test-ulps: Update.
48535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48537         [BZ #14155]
48538         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
48539         1 / x and functions P and Q for arguments above 0x1p256L.
48540         (__ieee754_y0l): Likewise.
48541         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
48542         (__ieee754_y1l): Likewise.
48543         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
48544         (j1_test): Likewise.
48545         (y0_test): Likewise.
48546         (y1_test): Likewise.
48548 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
48550         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
48551         variable.
48553 2013-03-15  Roland McGrath  <roland@hack.frob.com>
48555         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
48556         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
48557         zero since it's initialized to EXEC_PAGESIZE.
48559         * sysdeps/unix/sysv/linux/ldsodefs.h
48560         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
48561         * sysdeps/generic/ldsodefs.h: ... here.
48563 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
48565         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
48567         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
48568         math/test-snan.c.
48569         * math/test-snan.c: Renamed from
48570         sysdeps/powerpc/fpu/test-powerpc-snan.c.
48571         * math/Makefile (tests): Add test-snan.
48572         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
48573         test-powerpc-snan.
48575         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
48576         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
48577         functions.
48578         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
48579         __builtin_nan family of functions.
48580         * math/libm-test.inc (initialize): Initialize qnan_value with
48581         __builtin_nan family of functions.
48582         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
48583         Remove variables.
48584         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
48585         Remove functions.
48586         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
48587         storage class.  Initialize qNaN_var and sNaN_var with
48588         __builtin_nan and __builtin_nans families of functions,
48589         respectively.
48591         * math/libm-test.inc (acosh_test): Also test with qNaN input.
48592         (sqrt_test): Remove duplicate test with qNaN input.
48593         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
48594         (round_test, signbit_test, significand_test): Note missing +/-Inf
48595         as well as qNaN tests.
48597         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
48598         qNaN_var.  Fix a few strings, too.
48599         * math/libm-test.inc (nan_value): Rename to qnan_value.
48600         * math/gen-libm-test.pl (%beautify): Adjust to that.
48601         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
48602         * math/test-misc.c (main): Likewise.
48603         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
48604         to __qnan_bytes, and __qnan_union, respectively.
48605         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
48606         Likewise.
48607         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
48608         and lqnanval, respectively.
48609         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
48610         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
48611         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
48612         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
48614         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
48615         * math/test-misc.c (main) [__x86_64__]: Enable test for long
48616         doubles.
48618         * math/test-misc.c (main): Fix copy'n'pastos.
48619         * misc/tst-efgcvt.c (special): Likewise.
48621         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
48622         Remove declarations.
48624 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48626         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
48627         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
48628         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
48629         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
48631 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48633         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
48634         macro to return vdso values correctly in IFUNC implementations.
48635         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
48636         Optimization by using IFUNC.
48638 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48639             Richard Henderson  <rth@redhat.com>
48640             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48642         * Makefile.in (bench): New target.
48643         * NEWS: Mention the benchmark framework.
48644         * Rules (bench): Likewise.
48645         (binaries-bench): Generate binaries for functions to
48646         benchmark.
48647         * benchtests/Makefile: New makefile for benchmark tests.
48648         * benchtests/bench-skeleton.c: New skeleton file for benchmark
48649         programs.
48650         * benchtests/exp-inputs: New input file for EXP function.
48651         * benchtests/pow-inputs: New input file for POW function.
48652         * scripts/bench.pl: New script to generate source files for
48653         benchmark programs.
48655 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48657         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
48658         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
48659         computations on mantissa.  Use macros for rounding and
48660         division.
48661         (denorm): Likewise.
48662         (__dbl_mp): Likewise.
48663         (add_magnitudes): Likewise.
48664         (sub_magnitudes): Likewise.
48665         (__mul): Likewise.
48666         (__sqr): Likewise.
48667         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
48668         powers of two in terms of TWOPOW macro.
48669         (mp_no): Make type of mantissa as MANTISSA_T.
48670         [!RADIXI]: Define RADIXI.
48671         [!TWO52]: Define TWO52.
48672         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
48674         * manual/nptl.texi (cindex): Modify threads to pthreads.
48676 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
48678         * sysdeps/x86_64/preconfigure: Regenerated.
48680 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
48682         [BZ #14155]
48683         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
48684         0x1p28 and above.
48685         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
48686         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
48687         0x1p28 and above.
48688         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
48689         * math/libm-test.inc (j0_test): Do not allow one spurious
48690         underflow exception.
48691         (y1_test): Likewise.
48693 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48695         * manual/Makefile (chapters): Add nptl.
48696         * manual/debug.texi (Debugging Support): Add link to Threads
48697         chapter.
48698         * manual/nptl.texi: New file.
48700         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
48702 2013-03-14  Petr Baudis  <pasky@ucw.cz>
48704         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
48705         for non-NULL pointer before the memory validity test. Pointed
48706         out by Holger Brunck <holger.brunck@keymile.com>.
48708 2013-03-13  Andreas Schwab  <schwab@suse.de>
48710         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
48711         instead of .os.
48713 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
48715         * timezone/zic.c: Update from tzcode 2013b.
48717 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
48719         * manual/install.texi (Configuring and compiling):
48720         Mention i686 and i586.
48721         * INSTALL: Regenerate.
48723 2013-03-12  Roland McGrath  <roland@hack.frob.com>
48725         * sysdeps/init_array/elf-init.c: New file.
48726         * csu/elf-init.c
48727         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
48728         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
48730         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
48731         __gmon_start__ as global, but as static with a .preinit_array pointer.
48732         * sysdeps/init_array/gmon-start.c: New file.  Use that.
48733         * sysdeps/init_array/crti.S: New file, empty except for comments.
48734         * sysdeps/init_array/crtn.S: Likewise.
48736 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
48738         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
48739         definining bcopy.
48740         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48741         Remove Prefer_SSE_for_memop.
48742         * sysdeps/x86_64/multiarch/init-arch.h: Remove
48743         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
48744         HAS_PREFER_SSE_FOR_MEMOP.
48745         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
48746         memset-x86-64.
48747         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48748         Remove bzero, memset ifunc support.
48749         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
48750         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
48751         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48752         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48754 2013-03-11  Andreas Schwab  <schwab@suse.de>
48756         [BZ #15234]
48757         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
48758         by SHLIB_COMPAT.
48759         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
48760         (GLIBC_2.16): Remove pthread_atfork.
48762 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
48764         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
48765         (ptestcases.h): Likewise.
48767 2013-03-08  Roland McGrath  <roland@hack.frob.com>
48769         * Makeconfig ($(common-objpfx)config.status): Depend on
48770         sysdeps/*/preconfigure{,.in} too.
48772 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
48774         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
48775         (__free_hook): Use void * instead of __malloc_ptr_t.
48776         (__malloc_hook): Likewise.
48777         (__realloc_hook): Likewise.
48778         (__memalign_hook): Likewise.
48779         (__after_morecore_hook): Likewise.
48780         * malloc/arena.c (save_malloc_hook): Likewise.
48781         (save_free_hook): Likewise.
48782         * malloc/hooks.c (malloc_hook_ini): Likewise.
48783         (realloc_hook_ini): Likewise.
48784         (memalign_hook_ini): Likewise.
48785         * malloc/malloc.c (malloc_hook_ini): Likewise.
48786         (realloc_hook_ini): Likewise.
48787         (memalign_hook_ini): Likewise.
48788         (__free_hook): Likewise.
48789         (__malloc_hook): Likewise.
48790         (__realloc_hook): Likewise.
48791         (__memalign_hook): Likewise.
48792         (__libc_malloc): Likewise.
48793         (__libc_free): Likewise.
48794         (__libc_realloc): Likewise.
48795         (__libc_memalign): Likewise.
48796         (__libc_valloc): Likewise.
48797         (__libc_pvalloc): Likewise.
48798         (__libc_calloc): Likewise.
48799         (__posix_memalign): Likewise.
48800         * malloc/morecore.c (__sbrk): Likewise.
48801         (__default_morecore): Likewise.
48803         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
48805         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
48806         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
48807         __malloc_ptrdiff_t.
48809         * malloc/malloc.h (__malloc_size_t): Remove macro.
48810         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
48811         __malloc_size_t.
48812         (old_memalign_hook): Likewise.
48813         (old_realloc_hook): Likewise.
48814         (struct hdr): Likewise.
48815         (flood): Likewise.
48816         (mallochook): Likewise.
48817         (memalignhook): Likewise.
48818         (reallochook): Likewise.
48819         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
48820         (tr_old_realloc_hook): Likewise.
48821         (tr_old_memalign_hook): Likewise.
48822         (tr_mallochook): Likewise.
48823         (tr_reallochook): Likewise.
48824         (tr_memalignhook): Likewise.
48826 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48828         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
48829         default_ldbl_pack and using as default implementation.
48830         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
48831         implementation.
48832         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
48833         redundant definition.
48834         (ldbl_insert_mantissa): Likewise.
48835         (ldbl_canonicalize): Likewise.
48836         (ldbl_nearbyint): Likewise.
48837         (ldbl_pack): Rename to ldbl_pack_ppc.
48838         (ldbl_unpack): Rename to ldbl_unpack_ppc.
48839         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
48840         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
48842 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48844         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
48845         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
48846         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
48847         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
48848         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
48849         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
48850         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
48851         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
48853 2013-03-07  Andreas Jaeger  <aj@suse.de>
48855         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48856         bits/mman-linux.h.
48858 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
48860         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
48861         Include mpa.h and declare __MPEXP.
48862         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
48863         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
48864         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
48865         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
48866         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
48867         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
48868         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
48870         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
48871         (__slowpow): Use long double EXPL and LOGL functions to
48872         compute POW.
48873         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
48874         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
48875         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
48876         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
48877         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
48878         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
48880         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
48881         intermediate variable to calculate exponent.
48882         (__sqr): Likewise.
48883         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
48884         Likewise.
48885         (__sqr): Likewise.
48887         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
48888         [!NO__SQR]: Define __sqr.
48889         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
48890         and NO__SQR.  Remove all code except __mul and __sqr.  Include
48891         sysdeps/ieee754/dbl-64/mpa.c.
48892         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48894         [BZ #12723]
48895         * posix/Makefile (tests): Add tst-pathconf.
48896         * posix/tst-pathconf.c: New test case.
48897         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
48898         _PC_PIPE_BUF.
48899         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
48901 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
48903         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
48905 2013-03-06  Andreas Jaeger  <aj@suse.de>
48907         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
48908         definition via __MAP_ANONYMOUS.
48910         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
48911         it's not part of Linux headers.
48913         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
48914         (MAP_HUGE_MASK): Define.
48916         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48917         Define.
48918         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48919         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48920         Define.
48921         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48922         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48923         Define.
48924         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48925         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
48926         Define.
48927         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48929         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
48930         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
48931         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
48932         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
48933         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
48934         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
48936         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48937         Handle f2fs.
48939         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48940         Handle f2fs and efivarfs.
48942         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
48943         f2fs.
48945         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
48946         (EFIVARFS_MAGIC): Add.
48947         (F2FS_LINK_MAX): Add.
48949 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48951         * stdio-common/vfprintf.c: Replace __builtin_expect with
48952         __glibc_unlikely.
48954 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
48956         [BZ #13550]
48957         * sysdeps/generic/bp-sym.h: Remove file.
48958         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
48959         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
48960         <bp-sym.h> and <bp-asm.h>.
48961         (__longjmp): Don't use BP_SYM.
48962         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
48963         and <bp-asm.h>.
48964         (memcpy): Don't use BP_SYM.
48965         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
48966         <bp-sym.h> and <bp-asm.h>.
48967         (memcpy): Don't use BP_SYM.
48968         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
48969         <bp-asm.h>.
48970         (memcpy): Don't use BP_SYM.
48971         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
48972         <bp-asm.h>.
48973         (memset): Don't use BP_SYM.
48974         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48975         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48976         (__bzero): Don't use BP_SYM.
48977         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48978         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48979         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
48980         <bp-sym.h> and <bp-asm.h>.
48981         (memcmp): Don't use BP_SYM.  Remove comment about bounded
48982         pointers.
48983         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
48984         <bp-sym.h> and <bp-asm.h>.
48985         (memcpy): Don't use BP_SYM.
48986         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
48987         <bp-sym.h> and <bp-asm.h>.
48988         (memset): Don't use BP_SYM.
48989         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48990         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48991         (__bzero): Don't use BP_SYM.
48992         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48993         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48994         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
48995         <bp-sym.h> and <bp-asm.h>.
48996         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48997         pointers.
48998         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
48999         <bp-sym.h> and <bp-asm.h>.
49000         (memcpy): Don't use BP_SYM.
49001         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
49002         <bp-sym.h> and <bp-asm.h>.
49003         (memset): Don't use BP_SYM.
49004         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49005         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49006         (__bzero): Don't use BP_SYM.
49007         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49008         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49009         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
49010         <bp-sym.h> and <bp-asm.h>.
49011         (__memchr): Don't use BP_SYM.
49012         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
49013         <bp-sym.h> and <bp-asm.h>.
49014         (memcmp): Don't use BP_SYM.  Remove comment about bounded
49015         pointers.
49016         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
49017         <bp-sym.h> and <bp-asm.h>.
49018         (memcpy): Don't use BP_SYM.
49019         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
49020         <bp-sym.h> and <bp-asm.h>.
49021         (__mempcpy): Don't use BP_SYM.
49022         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
49023         <bp-sym.h> and <bp-asm.h>.
49024         (__memrchr): Don't use BP_SYM.
49025         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
49026         <bp-sym.h> and <bp-asm.h>.
49027         (memset): Don't use BP_SYM.
49028         (__bzero): Likewise.
49029         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
49030         <bp-sym.h> and <bp-asm.h>.
49031         (__rawmemchr): Don't use BP_SYM.
49032         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
49033         <bp-sym.h> and <bp-asm.h>.
49034         (__STRCMP): Don't use BP_SYM.
49035         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
49036         <bp-sym.h> and <bp-asm.h>.
49037         (strchr): Don't use BP_SYM.
49038         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
49039         <bp-sym.h> and <bp-asm.h>.
49040         (__strchrnul): Don't use BP_SYM.
49041         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
49042         <bp-sym.h> and <bp-asm.h>.
49043         (strlen): Don't use BP_SYM.
49044         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
49045         <bp-sym.h> and <bp-asm.h>.
49046         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49047         pointers.
49048         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
49049         <bp-sym.h> and <bp-asm.h>.
49050         (__strnlen): Don't use BP_SYM.
49051         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
49052         <bp-sym.h> and <bp-asm.h>.
49053         (__GI__setjmp): Don't use BP_SYM.
49054         (_setjmp): Likewise.
49055         (__sigsetjmp): Likewise.
49056         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
49057         (L(start_addresses)): Don't use BP_SYM.
49058         (_start): Likewise.
49059         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
49060         <bp-asm.h>.
49061         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
49062         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
49063         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49064         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49065         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
49066         <bp-asm.h>.
49067         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
49068         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
49069         about bounded pointers.
49070         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49071         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49072         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
49073         <bp-asm.h>.
49074         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49075         about bounded pointers.  Remove GKM FIXME comments.
49076         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49077         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
49078         <bp-asm.h>.
49079         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
49080         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
49081         Remove GKM FIXME comments.
49082         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49083         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49084         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
49085         <bp-asm.h>.
49086         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49087         about bounded pointers.  Remove GKM FIXME comment.
49088         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
49089         and <bp-asm.h>.
49090         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49091         pointers.
49092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
49093         <bp-sym.h> and <bp-asm.h>.
49094         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
49096         <bp-sym.h> and <bp-asm.h>.
49097         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49098         comment.
49100 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49102         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
49103         call free(NULL).
49105 2013-03-05  David S. Miller  <davem@davemloft.net>
49107         * po/es.po: Update from translation team.
49109 2013-03-05  Andreas Jaeger  <aj@suse.de>
49111         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
49112         <bits/mman-linux.h>.
49113         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49114         is fine.
49115         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
49116         <bits/mman-linux.h> to end of file.
49117         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49118         is fine.
49119         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
49120         <bits/mman-linux.h> to end of file.
49121         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49122         is fine.
49123         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
49124         <bits/mman-linux.h> to end of file.
49126         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
49127         (MCL_CURRENT, MCL_FUTURE): Define here.
49129 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49131         [BZ #15232]
49132         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
49133         attribute_hidden.
49134         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
49136 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49138         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
49139         fourth parameter needed for rt_sigprocmask syscall.
49140         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
49141         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49142         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
49143         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49144         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49145         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
49147 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
49149         [BZ #13550]
49150         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
49151         comment about bounded pointers.
49152         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
49153         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
49155 2013-03-04  Andreas Jaeger  <aj@suse.de>
49157         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
49158         common definitions.
49160         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
49161         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
49162         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
49163         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49164         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49165         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49167 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49169         [BZ #15055]
49170         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
49171         __ieee754_sqrl instead of __sqrl.
49173 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
49175         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
49176         * sysdeps/powerpc/fpu_control.h: ... here.
49177         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
49178         * sysdeps/powerpc/bits/fenvinline.h: ... here.
49179         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
49180         * sysdeps/powerpc/bits/mathinline.h: ... here.
49182 2013-03-01  Roland McGrath  <roland@hack.frob.com>
49184         * elf/dl-hwcaps.c (_dl_important_hwcaps):
49185         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
49186         to just [NEED_DL_SYSINFO_DSO].
49187         * elf/dl-support.c: Likewise.
49188         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
49189         * elf/rtld.c (dl_main): Likewise.
49190         * elf/setup-vdso.h (setup_vdso): Likewise.
49191         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
49192         * sysdeps/unix/sysv/linux/dl-sysdep.c
49193         (_dl_discover_osversion): Likewise.
49195 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
49197         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
49198         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49200 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
49202         * NEWS: Mention libm performance improvements and non-x86 PI
49203         futex support.
49205         * csu/libc-start.c (__pthread_initialize_minimal): Change
49206         function arguments.
49207         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49209 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
49211         [BZ #13550]
49212         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
49213         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
49214         <bp-sym.h> and <bp-asm.h>.
49215         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49216         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
49217         and <bp-asm.h>.
49218         (memcpy): Don't use BP_SYM.
49219         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
49220         <bp-asm.h>.
49221         (__mpn_add_n): Don't use BP_SYM.
49222         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
49223         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
49224         and <bp-asm.h>.
49225         (__mpn_addmul_1): Don't use BP_SYM.
49226         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49227         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
49228         <bp-sym.h>.
49229         (_setjmp): Don't use BP_SYM.
49230         (__novmx_setjmp): Likewise.
49231         (__GI__setjmp): Likewise.
49232         (__vmx_setjmp): Likewise.
49233         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
49234         <bp-sym.h>.
49235         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
49236         (__bzero): Don't use BP_SYM.
49237         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49238         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49239         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
49240         <bp-sym.h> and <bp-asm.h>.
49241         (memcpy): Don't use BP_SYM.
49242         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
49243         <bp-sym.h> and <bp-asm.h>.
49244         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49245         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
49246         <bp-sym.h> and <bp-asm.h>.
49247         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49248         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
49249         <bp-asm.h>.
49250         (__mpn_lshift): Don't use BP_SYM.
49251         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49252         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
49253         <bp-asm.h>.
49254         (memset): Don't use BP_SYM.
49255         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49256         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49257         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
49258         <bp-asm.h>.
49259         (__mpn_mul_1): Don't use BP_SYM.
49260         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49261         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
49262         <bp-sym.h> and <bp-asm.h>.
49263         (memcmp): Don't use BP_SYM.
49264         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
49265         <bp-sym.h> and <bp-asm.h>.
49266         (memcpy): Don't use BP_SYM.
49267         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
49268         <bp-sym.h> and <bp-asm.h>.
49269         (memset): Don't use BP_SYM.
49270         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
49271         <bp-sym.h> and <bp-asm.h>.
49272         (strncmp): Don't use BP_SYM.
49273         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
49274         <bp-sym.h> and <bp-asm.h>.
49275         (memcpy): Don't use BP_SYM.
49276         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
49277         <bp-sym.h> and <bp-asm.h>.
49278         (memset): Don't use BP_SYM.
49279         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
49280         <bp-sym.h> and <bp-asm.h>.
49281         (__memchr): Don't use BP_SYM.
49282         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
49283         <bp-sym.h> and <bp-asm.h>.
49284         (memcmp): Don't use BP_SYM.
49285         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
49286         <bp-sym.h> and <bp-asm.h>.
49287         (memcpy): Don't use BP_SYM.
49288         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
49289         <bp-sym.h> and <bp-asm.h>.
49290         (__mempcpy): Don't use BP_SYM.
49291         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
49292         <bp-sym.h> and <bp-asm.h>.
49293         (__memrchr): Don't use BP_SYM.
49294         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
49295         <bp-sym.h> and <bp-asm.h>.
49296         (memset): Don't use BP_SYM.
49297         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
49298         <bp-sym.h> and <bp-asm.h>.
49299         (__rawmemchr): Don't use BP_SYM.
49300         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
49301         <bp-sym.h> and <bp-asm.h>.
49302         (__STRCMP): Don't use BP_SYM.
49303         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
49304         <bp-sym.h> and <bp-asm.h>.
49305         (strchr): Don't use BP_SYM.
49306         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
49307         <bp-sym.h> and <bp-asm.h>.
49308         (__strchrnul): Don't use BP_SYM.
49309         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
49310         <bp-sym.h> and <bp-asm.h>.
49311         (strlen): Don't use BP_SYM.
49312         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
49313         <bp-sym.h> and <bp-asm.h>.
49314         (strncmp): Don't use BP_SYM.
49315         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
49316         <bp-sym.h> and <bp-asm.h>.
49317         (__strnlen): Don't use BP_SYM.
49318         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
49319         <bp-asm.h>.
49320         (__mpn_rshift): Don't use BP_SYM.
49321         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49322         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
49323         <bp-sym.h> and <bp-asm.h>.
49324         (__sigsetjmp): Don't use BP_SYM.
49325         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
49326         (L(start_addresses)): Don't use BP_SYM.
49327         (_start): Likewise.
49328         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
49329         <bp-asm.h>.
49330         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
49331         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49332         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49333         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
49334         <bp-asm.h>.
49335         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
49336         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49337         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49338         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
49339         <bp-asm.h>.
49340         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
49341         comments.
49342         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49343         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
49344         <bp-asm.h>.
49345         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
49346         FIXME comments.
49347         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49348         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49349         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
49350         <bp-asm.h>.
49351         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
49352         comment.
49353         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
49354         and <bp-asm.h>.
49355         (strncmp): Don't use BP_SYM,
49356         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
49357         <bp-asm.h>.
49358         (__mpn_sub_n): Don't use BP_SYM.
49359         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49360         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
49361         and <bp-asm.h>.
49362         (__mpn_submul_1): Don't use BP_SYM.
49363         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
49365         <bp-sym.h> and <bp-asm.h>.
49366         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
49368         <bp-sym.h> and <bp-asm.h>.
49369         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49370         comment.
49372 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49374         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
49375         Use ZK to minimize writes to Z.
49376         (sub_magnitudes): Simplify code a bit.
49377         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
49378         Use ZK to minimize writes to Z.
49379         (sub_magnitudes): Simplify code a bit.
49381 2013-02-27  Roland McGrath  <roland@hack.frob.com>
49383         * csu/gmon-start.c: Add special exception to license text.
49385 2013-02-27  Richard Henderson  <rth@redhat.com>
49387         * scripts/config.guess: Update from config.git.
49388         * scripts/config.sub: Likewise.
49390 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49392         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
49394         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
49396         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
49398         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
49400         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
49402 2013-02-26  Roland McGrath  <roland@hack.frob.com>
49404         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
49405         [$(build-shared = yes].
49407 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49409         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
49410         (__mul): Reduce iterations for calculating mantissa.
49412         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
49413         MPTWO.
49414         (__mpranred): Likewise.
49416         [BZ #15160]
49417         * malloc/memusagestat.c (main): Draw graphs for heap and stack
49418         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
49420 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
49422         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
49423         Define __attribute__.
49425 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49427         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
49428         unused.
49429         * posix/regex_internal.h (__attribute): Remove.
49430         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
49431         (re_string_context_at): Likewise.
49432         (bitset_not): Use __attribute__ and mark function as possibly
49433         unused.
49434         (bitset_merge): Likewise.
49435         (bitset_mask): Likewise.
49436         (re_string_char_size_at): Likewise.
49437         (re_string_wchar_at): Likewise.
49438         (re_string_elem_size_at): Likewise.
49440 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49442         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
49443         code.
49444         (cc32): Likewise.
49446         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
49447         (__acr): Likewise.
49448         (__cpy): Likewise.
49449         (norm): Likewise.
49450         (denorm): Likewise.
49451         (__dbl_mp): Likewise.
49452         (add_magnitudes): Likewise.
49453         (sub_magnitudes): Likewise.
49454         (__mul): Likewise.
49455         (__inv): Likewise.
49457         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
49458         style.
49460         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
49461         style.
49463         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
49464         code.
49466         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
49467         up changes with default code.
49468         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
49469         Likewise.
49471 2013-02-24  Allan McRae  <allan@archlinux.org>
49473         * manual/socket.texi (The Internet Namespace): Order menu items
49474         to match that in the file.
49476         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
49477         node listing of the info page menu.
49479 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
49481         [BZ #13550]
49482         * sysdeps/i386/bp-asm.h: Remove file.
49483         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
49484         (PARMS): Do not use macros from bp-asm.h.
49485         (S1): Likewise.
49486         (S2): Likewise.
49487         (SIZE): Likewise.
49488         (__mpn_add_n): Do not use BP_SYM
49489         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
49490         "bp-asm.h".
49491         (PARMS): Do not use macros from bp-asm.h.
49492         (S1): Likewise.
49493         (SIZE): Likewise.
49494         (__mpn_addmul_1): Do not use BP_SYM
49495         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
49496         "bp-asm.h".
49497         (PARMS): Do not use macros from bp-asm.h.
49498         (SIGMSK): Likewise.
49499         (_setjmp): Likewise.  Do not use BP_SYM.
49500         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
49501         "bp-asm.h".
49502         (PARMS): Do not use macros from bp-asm.h.
49503         (SIGMSK): Likewise.
49504         (setjmp): Likewise.  Do not use BP_SYM.
49505         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
49506         "bp-asm.h".
49507         (PARMS): Do not use macros from bp-asm.h.
49508         (__frexp): Do not use BP_SYM.
49509         (frexp): Likewise.
49510         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
49511         "bp-asm.h".
49512         (PARMS): Do not use macros from bp-asm.h.
49513         (__frexpf): Do not use BP_SYM.
49514         (frexpf): Likewise.
49515         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
49516         "bp-asm.h".
49517         (PARMS): Do not use macros from bp-asm.h.
49518         (__frexpl): Do not use BP_SYM.
49519         (frexpl): Likewise.
49520         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
49521         "bp-asm.h".
49522         (PARMS): Do not use macros from bp-asm.h.
49523         (__remquo): Do not use BP_SYM.
49524         (remquo): Likewise.
49525         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
49526         "bp-asm.h".
49527         (PARMS): Do not use macros from bp-asm.h.
49528         (__remquof): Do not use BP_SYM.
49529         (remquof): Likewise.
49530         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
49531         "bp-asm.h".
49532         (PARMS): Do not use macros from bp-asm.h.
49533         (__remquol): Do not use BP_SYM.
49534         (remquol): Likewise.
49535         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
49536         "bp-asm.h".
49537         (PARMS): Do not use macros from bp-asm.h.
49538         (DEST): Likewise.
49539         (SRC): Likewise.
49540         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
49541         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
49542         "bp-asm.h".
49543         (PARMS): Do not use macros from bp-asm.h.
49544         (strlen): Do not use BP_SYM.
49545         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
49546         "bp-asm.h".
49547         (PARMS): Do not use macros from bp-asm.h.
49548         (S1): Likewise.
49549         (S2): Likewise.
49550         (SIZE): Likewise.
49551         (__mpn_add_n): Do not use BP_SYM.
49552         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
49553         "bp-asm.h".
49554         (PARMS): Do not use macros from bp-asm.h.
49555         (S1): Likewise.
49556         (SIZE): Likewise.
49557         (__mpn_addmul_1): Do not use BP_SYM.
49558         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
49559         weak_alias.
49560         (bzero): Likewise.
49561         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
49562         "bp-asm.h".
49563         (PARMS): Do not use macros from bp-asm.h.
49564         (S): Likewise.
49565         (SIZE): Likewise.
49566         (__mpn_lshift): Do not use BP_SYM.
49567         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
49568         "bp-asm.h".
49569         (PARMS): Do not use macros from bp-asm.h.
49570         (DEST): Likewise.
49571         (SRC): Likewise.
49572         (LEN): Likewise.
49573         (memcpy): Likewise.  Do not use BP_SYM.
49574         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
49575         libc_hidden_def and weak_alias.
49576         (mempcpy): Do not use BP_SYM in weak_alias.
49577         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
49578         "bp-asm.h".
49579         (PARMS): Do not use macros from bp-asm.h.
49580         (DEST): Likewise.
49581         (LEN): Likewise.
49582         [!BZERO_P] (CHR): Likewise.
49583         (memset): Likewise.  Do not use BP_SYM.
49584         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
49585         "bp-asm.h".
49586         (PARMS): Do not use macros from bp-asm.h.
49587         (S1): Likewise.
49588         (SIZE): Likewise.
49589         (__mpn_mul_1): Do not use BP_SYM.
49590         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
49591         "bp-asm.h".
49592         (PARMS): Do not use macros from bp-asm.h.
49593         (S): Likewise.
49594         (SIZE): Likewise.
49595         (__mpn_rshift): Do not use BP_SYM.
49596         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
49597         "bp-asm.h".
49598         (PARMS): Do not use macros from bp-asm.h.
49599         (STR): Likewise.
49600         (CHR): Likewise.
49601         (strchr): Likewise.  Do not use BP_SYM.
49602         (index): Do not use BP_SYM in weak_alias.
49603         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
49604         "bp-asm.h".
49605         (PARMS): Do not use macros from bp-asm.h.
49606         (DEST): Likewise.
49607         (SRC): Likewise.
49608         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
49609         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
49610         "bp-asm.h".
49611         (PARMS): Do not use macros from bp-asm.h.
49612         (strlen): Do not use BP_SYM.
49613         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
49614         "bp-asm.h".
49615         (PARMS): Do not use macros from bp-asm.h.
49616         (S1): Likewise.
49617         (S2): Likewise.
49618         (SIZE): Likewise.
49619         (__mpn_sub_n): Do not use BP_SYM.
49620         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
49621         "bp-asm.h".
49622         (PARMS): Do not use macros from bp-asm.h.
49623         (S1): Likewise.
49624         (SIZE): Likewise.
49625         (__mpn_submul_1): Do not use BP_SYM.
49626         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
49627         "bp-asm.h".
49628         (PARMS): Do not use macros from bp-asm.h.
49629         (S1): Likewise.
49630         (S2): Likewise.
49631         (SIZE): Likewise.
49632         (__mpn_add_n): Do not use BP_SYM.
49633         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
49634         weak_alias.
49635         (bzero): Likewise.
49636         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
49637         "bp-asm.h".
49638         (PARMS): Do not use macros from bp-asm.h.
49639         (BLK2): Likewise.
49640         (LEN): Likewise.
49641         (memcmp): Do not use BP_SYM.
49642         (bcmp): Do not use BP_SYM in weak_alias.
49643         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
49644         "bp-asm.h".
49645         (PARMS): Do not use macros from bp-asm.h.
49646         (DEST): Likewise.
49647         (SRC): Likewise.
49648         (LEN): Likewise.
49649         (memcpy): Likewise.  Do not use BP_SYM.
49650         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
49651         "bp-asm.h".
49652         (PARMS): Do not use macros from bp-asm.h.
49653         (DEST): Likewise.
49654         (SRC): Likewise.
49655         (LEN): Likewise.
49656         (memmove): Likewise.  Do not use BP_SYM.
49657         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
49658         "bp-asm.h".
49659         (PARMS): Do not use macros from bp-asm.h.
49660         (DEST): Likewise.
49661         (SRC): Likewise.
49662         (LEN): Likewise.
49663         (__mempcpy): Likewise.  Do not use BP_SYM.
49664         (mempcpy): Do not use BP_SYM in weak_alias.
49665         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
49666         "bp-asm.h".
49667         (PARMS): Do not use macros from bp-asm.h.
49668         (DEST): Likewise.
49669         (LEN): Likewise.
49670         [!BZERO_P] (CHR): Likewise.
49671         (memset): Likewise.  Do not use BP_SYM.
49672         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
49673         "bp-asm.h".
49674         (PARMS): Do not use macros from bp-asm.h.
49675         (STR2): Likewise.
49676         (strcmp): Do not use BP_SYM.
49677         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
49678         "bp-asm.h".
49679         (PARMS): Do not use macros from bp-asm.h.
49680         (STR): Likewise.
49681         (DELIM): Likewise.
49682         [USE_AS_STRTOK_R] (SAVE): Likewise.
49683         (FUNCTION): Likewise.  Do not use BP_SYM.
49684         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
49685         aliases.
49686         (strtok_r): Likewise.
49687         (__GI___strtok_r): Likewise.
49688         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
49689         (PARMS): Do not use macros from bp-asm.h.
49690         (S): Likewise.
49691         (SIZE): Likewise.
49692         (__mpn_lshift): Do not use BP_SYM.
49693         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
49694         (PARMS): Do not use macros from bp-asm.h.
49695         (STR): Likewise.
49696         (CHR): Likewise.
49697         (__memchr): Do not use BP_SYM.
49698         (memchr): Do not use BP_SYM in weak_alias.
49699         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
49700         (PARMS): Do not use macros from bp-asm.h.
49701         (BLK2): Likewise.
49702         (LEN): Likewise.
49703         (memcmp): Do not use BP_SYM.
49704         (bcmp): Do not use BP_SYM in weak_alias.
49705         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
49706         (PARMS): Do not use macros from bp-asm.h.
49707         (S1): Likewise.
49708         (SIZE): Likewise.
49709         (__mpn_mul_1): Do not use BP_SYM.
49710         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
49711         "bp-asm.h".
49712         (PARMS): Do not use macros from bp-asm.h.
49713         (STR): Likewise.
49714         (CHR): Likewise.
49715         (__rawmemchr): Do not use BP_SYM.
49716         (rawmemchr): Do not use BP_SYM in weak_alias.
49717         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
49718         (PARMS): Do not use macros from bp-asm.h.
49719         (S): Likewise.
49720         (SIZE): Likewise.
49721         (__mpn_rshift): Do not use BP_SYM.
49722         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
49723         (PARMS): Do not use macros from bp-asm.h.
49724         (SIGMSK): Likewise.
49725         (__sigsetjmp): Likewise.  Do not use BP_SYM.
49726         * sysdeps/i386/start.S: Do not include "bp-sym.h".
49727         (_start): Do not use BP_SYM.
49728         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
49729         (PARMS): Do not use macros from bp-asm.h.
49730         (DEST): Likewise.
49731         (SRC): Likewise.
49732         (__stpcpy): Likewise.  Do not use BP_SYM.
49733         (stpcpy): Do not use BP_SYM in weak_alias.
49734         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
49735         "bp-asm.h".
49736         (PARMS): Do not use macros from bp-asm.h.
49737         (DEST): Likewise.
49738         (SRC): Likewise.
49739         (LEN): Likewise.
49740         (__stpncpy): Likewise.  Do not use BP_SYM.
49741         (stpncpy): Do not use BP_SYM in weak_alias.
49742         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
49743         (PARMS): Do not use macros from bp-asm.h.
49744         (STR): Likewise.
49745         (CHR): Likewise.
49746         (strchr): Likewise.  Do not use BP_SYM.
49747         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
49748         "bp-asm.h".
49749         (PARMS): Do not use macros from bp-asm.h.
49750         (STR): Likewise.
49751         (CHR): Likewise.
49752         (__strchrnul): Likewise.  Do not use BP_SYM.
49753         (strchrnul): Do not use BP_SYM in weak_alias.
49754         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
49755         "bp-asm.h".
49756         (PARMS): Do not use macros from bp-asm.h.
49757         (STOP): Likewise.
49758         (strcspn): Do not use BP_SYM.
49759         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
49760         "bp-asm.h".
49761         (PARMS): Do not use macros from bp-asm.h.
49762         (STR): Likewise.
49763         (STOP): Likewise.
49764         (strpbrk): Likewise.  Do not use BP_SYM.
49765         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
49766         "bp-asm.h".
49767         (PARMS): Do not use macros from bp-asm.h.
49768         (STR): Likewise.
49769         (CHR): Likewise.
49770         (strrchr): Likewise.  Do not use BP_SYM.
49771         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
49772         (PARMS): Do not use macros from bp-asm.h.
49773         (SKIP): Likewise.
49774         (strspn): Do not use BP_SYM.
49775         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
49776         (PARMS): Do not use macros from bp-asm.h.
49777         (STR): Likewise.
49778         (DELIM): Likewise.
49779         (SAVE): Likewise.
49780         (FUNCTION): Likewise.  Do not use BP_SYM.
49781         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
49782         aliases.
49783         (strtok_r): Likewise.
49784         (__GI___strtok_r): Likewise.
49785         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
49786         (PARMS): Do not use macros from bp-asm.h.
49787         (S1): Likewise.
49788         (S2): Likewise.
49789         (SIZE): Likewise.
49790         (__mpn_sub_n): Do not use BP_SYM.
49791         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
49792         "bp-asm.h".
49793         (PARMS): Do not use macros from bp-asm.h.
49794         (S1): Likewise.
49795         (SIZE): Likewise.
49796         (__mpn_submul_1): Do not use BP_SYM.
49797         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
49798         <bp-sym.h>.
49799         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
49800         and <bp-asm.h>.
49801         (PARMS): Do not use macros from bp-asm.h.
49802         (FLAGS): Likewise.
49803         (PTID): Likewise.
49804         (TLS): Likewise.
49805         (CTID): Likewise.
49806         (__clone): Do not use BP_SYM.
49807         (clone): Do not use BP_SYM in weak_alias.
49808         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
49809         and <bp-asm.h>.
49810         (PARMS): Do not use macros from bp-asm.h.
49811         (LEN): Likewise.
49812         (__mmap64): Do not use BP_SYM.
49813         (mmap64): Do not use BP_SYM in weak_alias.
49814         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
49815         <bp-sym.h> and <bp-asm.h>.
49816         (PARMS): Do not use macros from bp-asm.h.
49817         (__posix_fadvise64_l64): Do not use BP_SYM.
49818         * sysdeps/unix/sysv/linux/i386/semtimedop.S
49819         (PARMS): Do not use macros from bp-asm.h.
49820         (NSOPS): Likewise.
49821         (semtimedop): Do not use BP_SYM.
49822         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
49823         and <bp-asm.h>.
49825 2013-02-21  Allan McRae  <allan@archlinux.org>
49827         * manual/message.texi (Charset conversion in gettext):
49828         Move @end statement to beginning of line.
49830 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49832         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
49833         static.
49834         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
49835         Likewise.
49837         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
49838         (denorm): Likewise.
49839         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
49840         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
49842 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49844         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
49845         tail-call to the resolved function if pltexit isn't needed.
49847 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49849         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
49850         or Y being zero as being unlikely.
49851         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
49852         Likewise.
49854 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
49856         * manual/nss.texi (System Databases and Name Service Switch):
49857         Remove frobnicate @pxref.
49859 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
49861         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
49862         __attribute__ ((unused)) to __attribute__ ((__unused__)).
49864 2013-02-20  Petr Machata  <pmachata@redhat.com>
49866         * elf/elf.h (R_ARM_TARGET1): New macro.
49867         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
49868         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
49869         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
49870         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
49871         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
49872         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
49873         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
49874         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
49875         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
49876         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
49877         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
49878         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
49879         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
49880         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
49881         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
49882         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
49883         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
49884         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
49885         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
49886         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
49887         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
49888         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
49889         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
49890         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
49891         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
49892         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
49893         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
49894         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
49895         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
49896         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
49897         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
49898         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
49899         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
49900         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
49901         (R_ARM_THM_GOT_BREL12): Likewise.
49902         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
49903         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
49904         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
49905         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
49906         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
49907         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
49908         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
49909         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
49910         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
49912 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
49914         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
49915         __attribute_used__ to __attribute__ ((unused)).
49917 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49919         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
49920         powerpc mpa.c.
49921         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
49922         comment formatting.
49923         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
49925 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
49927         [BZ #13550]
49928         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
49929         Remove macro.
49930         (ENTER): Remove both macro definitions.
49931         (LEAVE): Likewise.
49932         (CHECK_BOUNDS_LOW): Likewise.
49933         (CHECK_BOUNDS_HIGH): Likewise.
49934         (CHECK_BOUNDS_BOTH): Likewise.
49935         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
49936         (RETURN_BOUNDED_POINTER): Likewise.
49937         (RETURN_NULL_BOUNDED_POINTER): Likewise.
49938         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
49939         (POP_ERRNO_LOCATION_RETURN): Likewise.
49940         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
49941         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49942         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
49943         macros.
49944         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49945         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
49946         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
49947         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
49948         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
49949         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
49950         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
49951         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
49952         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
49953         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
49954         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
49955         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
49956         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49957         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
49958         removed macros.
49959         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49960         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
49961         macros.
49962         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49963         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
49964         * sysdeps/i386/i586/memset.S (memset): Likewise.
49965         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
49966         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49967         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
49968         macros.
49969         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49970         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
49971         Change uses of L(2) to L(out).
49972         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
49973         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
49974         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
49975         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49976         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
49977         removed macros.
49978         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49979         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
49980         macros.
49981         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49982         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
49983         (RETURN): Do not use macro LEAVE.
49984         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
49985         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
49986         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
49987         * sysdeps/i386/i686/memset.S (memset): Likewise.
49988         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
49989         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
49990         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49991         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
49992         Likewise.
49993         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49994         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
49995         L(1_2) and L(1_3) into L(1).
49996         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
49997         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
49998         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49999         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
50000         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50001         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
50002         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
50003         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50004         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
50005         macros.
50006         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
50007         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50008         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
50009         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
50010         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
50011         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50012         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
50013         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
50014         * sysdeps/i386/strcspn.S (strcspn): Likewise.
50015         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
50016         * sysdeps/i386/strrchr.S (strrchr): Likewise.
50017         * sysdeps/i386/strspn.S (strspn): Likewise.
50018         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
50019         conditional code.
50020         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50021         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
50022         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
50023         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
50024         L(1_3) into L(1_1).
50025         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
50026         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50027         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
50028         macros.
50029         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50031 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
50033         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
50034         macro.
50036 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50038         * math/atest-exp.c (exp_mpn): Remove ROUND.
50039         * math/atest-exp2.c (exp_mpn): Likewise.
50040         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
50042         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
50043         * stdlib/tst-tls-atexit-lib.c: Likewise.
50044         * stdlib/tst-tls-atexit.c: Likewise.
50046 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50048         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
50049         and __attribute_alloc_size__.
50051 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50053         * include/programs/xmalloc.h: Change __attribute_alloc_size to
50054         __attribute_alloc_size__.
50055         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
50056         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
50058 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50060         * include/programs/xmalloc.h: New file.
50061         * catgets/gencat.c: Include it.
50062         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
50063         * elf/pldd.c: Likewise.
50064         * iconv/iconv_charmap.c: Likewise.
50065         * iconv/iconvconfig.c: Likewise.
50066         * iconv/strtab.c: Likewise.
50067         * locale/programs/locale.c: Likewise.
50068         * locale/programs/localedef.h: Likewise.
50069         * locale/programs/simple-hash.c: Likewise.
50070         * nscd/nscd.h: Likewise.
50071         * nss/makedb.c: Likewise.
50072         * sysdeps/generic/ldconfig.h: Likewise.
50074 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50076         * Versions.def: Add GLIBC_2.18.
50077         * include/link.h (struct link_map): New member l_tls_dtor_count.
50078         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
50079         (__call_tls_dtors): Likewise.
50080         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
50081         __cxa_thread_atexit_impl.
50082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50083         Likewise.
50084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50085         Likewise.
50086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50087         Likewise.
50088         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50089         Likewise.
50090         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50091         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
50092         Likewise.
50093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
50094         Likewise.
50095         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50097         Likewise.
50098         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
50099         (tests): Add test case tst-tls-atexit.
50100         (modules-names): Add shared library for tst-tls-atexit.
50101         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
50102         (GLIBC_PRIVATE): Add __call_tls_dtors.
50103         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
50104         for libstdc++.
50105         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
50106         * stdlib/tst-tls-atexit.c: New test case.
50107         * stdlib/tst-tls-atexit-lib.c: New test case.
50109         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
50111         * elf/Versions (ld): Add _dl_find_dso_for_object.
50112         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
50113         * elf/dl-open.c (_dl_find_dso_for_object): New function.
50114         (dl_open_worker): Use _dl_find_dso_for_object.
50115         * elf/dl-sym.c (do_sym): Likewise.
50116         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
50118 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50120         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
50121         Syntactic changes only.
50122         (_dl_runtime_profile): Do a tail-call to the resolved function.
50124 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
50126         [BZ #13550]
50127         * sysdeps/x86_64/bp-asm.h: Remove file.
50128         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
50129         <bp-sym.h> and <bp-asm.h>.
50130         (__clone): Do not use BP_SYM.
50131         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
50132         <bp-sym.h> and <bp-asm.h>.
50133         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50134         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
50135         "bp-asm.h".
50136         (_setjmp): Do not use BP_SYM.
50137         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
50138         "bp-asm.h".
50139         (setjmp): Do not use BP_SYM.
50140         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
50141         libc_hidden_def.
50142         (mempcpy): Do not use BP_SYM in weak_alias.
50143         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
50144         "bp-asm.h".
50145         (strchr): Do not use BP_SYM.
50146         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
50147         "bp-asm.h".
50148         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
50149         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
50150         (_start): Do not use BP_SYM.
50151         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
50152         "bp-asm.h".
50153         (strcat): Do not use BP_SYM.
50154         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
50155         "bp-asm.h".
50156         (STRCMP): Do not use BP_SYM.
50157         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
50158         "bp-asm.h".
50159         (STRCPY): Do not use BP_SYM.
50160         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
50161         "bp-asm.h".
50162         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
50163         "bp-asm.h".
50164         (FUNCTION): Do not use BP_SYM.
50165         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
50166         weak_alias.
50167         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
50169 2013-02-17  Andreas Jaeger  <aj@suse.de>
50171         * time/Versions: Sort entries.
50172         * string/Versions: Likewise.
50173         * resolv/Versions: Likewise.
50174         * posix/Versions: Likewise.
50175         * iconv/Versions: Likewise.
50176         * elf/Versions: Likewise.
50177         * wcsmbs/Versions: Likewise.
50179 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50181         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
50182         loop termination condition.
50184         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
50185         variable to calculate EZ.
50186         (__sqr): Likewise.
50188         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
50189         the lower precision input.
50191 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
50193         [BZ #13550]
50194         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
50195         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
50196         (run-via-rtld-prefix): Do not handle %-bp tests.
50197         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
50198         (all-object-suffixes): Remove .ob.
50199         (bppfx): Remove variable.
50200         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
50201         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
50202         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
50203         [$(build-bounded) = yes] (libtype.ob): Likewise.
50204         * Makerules (elide-routines.ob): Remove variable.
50205         (do-tests-clean): Do not handle *-bp.out.
50206         (common-mostlyclean): Do not handle *-bp and *-bp.out.
50207         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
50208         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
50209         (tests): Do not include $(tests-bp.out).
50210         (xtests): Do not include $(xtests-bp.out).
50211         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
50212         [$(build-bounded) = yes] ($(addprefix
50213         $(objpfx),$(binaries-bounded))): Remove rule.
50214         ($(objpfx)%-bp.out): Remove rule.
50215         * config.make.in (build-bounded): Remove variable.
50216         * crypt/Makefile [$(build-bounded) = yes]
50217         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
50218         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
50219         append to variable.
50220         [$(build-bounded) = yes] (install-lib): Likewise.
50221         [$(build-bounded) = yes] (generated): Likewise.
50222         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
50223         Remove rule.
50224         * intl/Makefile [$(build-bounded) = yes]
50225         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
50226         * math/Makefile [$(build-bounded) = yes]
50227         ($(tests:%=$(objpfx)%-bp): Likewise.
50228         * misc/Makefile [$(build-bounded) = yes]
50229         ($(objpfx)tst-tsearch-bp): Likewise.
50230         * nptl/Makeconfig (bounded-thread-library): Remove variable.
50231         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
50232         Remove dependency.
50233         * string/Makefile (o-objects.ob): Remove variable.
50234         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
50235         (CFLAGS-.ob): Remove variable.
50236         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
50237         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
50238         both definitions of variable.
50239         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
50240         (ASFLAGS-.ob): Remove variable.
50242 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
50244         [BZ #13550]
50245         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
50246         Remove __BOUNDED_POINTERS__ from condition.
50247         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
50248         * string/bits/string2.h [!__NO_STRING_INLINES &&
50249         !__BOUNDED_POINTERS__]: Likewise.
50250         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
50251         Likewise.
50252         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
50253         Remove conditional code.
50254         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
50255         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
50256         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
50257         condition.
50259         [BZ #13550]
50260         * csu/libc-start.c: Do not include <bp-sym.h>.
50261         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
50262         * elf/dl-open.c: Do not include <bp-sym.h>.
50263         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
50264         * math/fegetenv.c: Do not include <bp-sym.h>.
50265         (fegetenv): Do not use BP_SYM in versioned symbols.
50266         * nptl/sysdeps/pthread/bits/libc-lockP.h
50267         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
50268         <bp-sym.h>.
50269         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50270         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
50271         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50272         (__pthread_mutex_destroy): Likewise.
50273         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50274         (__pthread_mutex_lock): Likewise.
50275         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50276         (__pthread_mutex_trylock): Likewise.
50277         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50278         (__pthread_mutex_unlock): Likewise.
50279         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50280         (__pthread_mutexattr_init): Likewise.
50281         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50282         (__pthread_mutexattr_destroy): Likewise.
50283         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50284         (__pthread_mutexattr_settype): Likewise.
50285         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50286         (__pthread_rwlock_init): Likewise.
50287         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50288         (__pthread_rwlock_destroy): Likewise.
50289         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50290         (__pthread_rwlock_rdlock): Likewise.
50291         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50292         (__pthread_rwlock_tryrdlock): Likewise.
50293         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50294         (__pthread_rwlock_wrlock): Likewise.
50295         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50296         (__pthread_rwlock_trywrlock): Likewise.
50297         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50298         (__pthread_rwlock_unlock): Likewise.
50299         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50300         (__pthread_key_create): Likewise.
50301         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50302         (__pthread_setspecific): Likewise.
50303         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50304         (__pthread_getspecific): Likewise.
50305         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
50306         Likewise.
50307         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50308         (_pthread_cleanup_push_defer): Likewise.
50309         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50310         (_pthread_cleanup_pop_restore): Likewise.
50311         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50312         (pthread_setcancelstate): Likewise.
50313         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
50314         <bp-sym.h>.
50315         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
50316         (memchr): Do not use BP_SYM in weak_alias.
50317         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
50318         (fegetenv): Do not use BP_SYM in versioned symbols.
50319         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
50320         (fesetenv): Do not use BP_SYM in versioned symbols.
50321         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
50322         (feupdateenv): Do not use BP_SYM in versioned symbols.
50323         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
50324         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
50325         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
50326         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
50327         (open64): Do not use BP_SYM in weak_alias.
50328         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
50329         (fegetenv): Do not use BP_SYM in versioned symbols.
50330         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
50331         (fesetenv): Do not use BP_SYM in versioned symbols.
50332         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
50333         (feupdateenv): Do not use BP_SYM in versioned symbols.
50334         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
50335         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
50336         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
50337         (feraiseexcept): Do not use BP_SYM in versioned symbols.
50338         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
50339         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
50340         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
50341         <bp-sym.h>.
50342         (__libc_start_main): Do not use BP_SYM.
50344 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50346         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
50347         redundant return line.
50348         (norm): Likewise.
50349         (denorm): Likewise.
50350         (dbl_mp): Likewise.
50351         (sub_magnitudes): Likewise.
50352         (__add): Likewise.
50353         (__sub): Likewise.
50354         (__mul): Likewise.
50355         (__inv): Likewise.
50356         (__dvd): Likewise.
50357         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
50358         (norm): Likewise.
50359         (denorm): Likewise.
50360         (dbl_mp): Likewise.
50361         (sub_magnitudes): Likewise.
50362         (__add): Likewise.
50363         (__sub): Likewise.
50364         (__mul): Likewise.
50365         (__inv): Likewise.
50366         (__dvd): Likewise.
50368         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
50369         instead of __mul.
50370         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50371         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
50372         (cc32): Likewise.
50374         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
50375         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
50376         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
50377         of __mul for squares.
50378         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
50379         function
50380         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
50381         Likewise.
50382         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
50383         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50385 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
50387         [BZ #13550]
50388         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
50389         code.
50390         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
50391         prototype or function definition.  Rename ubp_* variables and
50392         parameters.  Remove argv definitions conditional on
50393         [__BOUNDED_POINTERS__].
50394         * debug/backtrace.c (__backtrace): Do not use __unbounded.
50395         * elf/dl-runtime.c (_dl_fixup): Likewise.
50396         * include/set-hooks.h (RUN_HOOK): Likewise.
50397         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
50398         definition.
50399         * string/strcpy.c (strcpy): Do not use __unbounded.
50400         * sysdeps/generic/frame.h (struct layout): Likewise.
50401         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
50402         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
50403         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
50404         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
50405         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
50406         (__backtrace): Likewise.
50407         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
50408         use __ptrvalue.
50409         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
50410         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
50411         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
50412         Likewise.
50413         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
50414         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
50415         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
50416         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
50417         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
50418         Do not use __unbounded.
50419         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
50420         Rename __unboundedrlimits parameter to rlimits in prototype.
50421         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
50422         Do not use __unbounded.
50423         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
50424         not use __ptrvalue.
50425         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
50426         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
50427         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
50428         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
50429         __ptrvalue or __unbounded.
50430         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
50431         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
50432         use __unbounded.
50433         (__new_msgctl): Do not use __ptrvalue.
50434         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
50435         __unbounded.
50436         (__libc_msgrcv): Do not use __ptrvalue.
50437         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
50438         startup_info): Do not use __unbounded.
50439         (__libc_start_main): Likewise.  Rename ubp_* variables and
50440         parameters.  Remove argv definitions conditional on
50441         [__BOUNDED_POINTERS__].
50442         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
50443         __ptrvalue.
50444         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
50445         use __unbounded.
50446         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
50447         or __ptrvalue.
50448         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
50449         use __unbounded.
50450         (__new_shmctl): Do not use __ptrvalue.
50451         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
50452         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
50453         Likewise.
50454         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
50455         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
50456         (__libc_sigaction): Likewise.
50457         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
50458         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
50459         Likewise.
50460         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
50462 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
50464         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
50466         * string/mempcpy.c: Implement by calling memcpy.
50468 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50470         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
50472         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
50473         evaluation.
50475         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
50476         values in the mantissa.
50478         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
50479         minimize writes to Z.
50480         (sub_magnitudes): Simplify code a bit.
50482 2013-02-12  Roland McGrath  <roland@hack.frob.com>
50484         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
50485         from the message.  The linker prefixes all warnings with that already.
50487 2013-02-12  Andreas Schwab  <schwab@suse.de>
50489         [BZ #15078]
50490         * posix/regexec.c (extend_buffers): Add parameter min_len.
50491         (check_matching): Pass minimum needed length.
50492         (clean_state_log_if_needed): Likewise.
50493         (get_subexp): Likewise.
50494         * posix/Makefile (tests): Add bug-regex34.
50495         (bug-regex34-ENV): Define.
50496         * posix/bug-regex34.c: New file.
50498         [BZ #11561]
50499         * posix/regcomp.c (parse_bracket_exp): When looking up collating
50500         elements compare against the byte sequence of it, not its name.
50501         * posix/Makefile (tests): Add bug-regex35.
50502         (bug-regex35-ENV): Define.
50503         * posix/bug-regex35.c: New file.
50505 2013-02-11  Tom de Vries  <tom@codesourcery.com>
50507         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
50508         comment.
50509         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
50510         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
50511         (CHECK_EOL): Add undef.
50513 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
50515         * bits/stdlib-bsearch.h: New file.
50516         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
50517         * stdlib/stdlib.h: Likewise.
50519 2013-02-11  Roland McGrath  <roland@hack.frob.com>
50521         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
50522         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
50523         declaration.
50524         * manual/search.texi (Array Search Function): Add missing const in
50525         lfind prototype.
50526         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
50527         declaration to use rlim_t.
50528         (Basic Scheduling Functions): Remove erroneous const from
50529         sched_getparam prototype.  Remove erroneous * from
50530         sched_get_priority_max and sched_get_priority_min prototypes.
50531         (Resource Usage): Fix summary @comment on vtimes to refer to
50532         sys/vtimes.h rather than vtimes.h.
50533         Add missing *s in vtimes prototype.
50534         (Limits on Resources): Fix ulimit prototype to return long int.
50535         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
50536         prototypes to use long int rather than double.
50537         (BSD Random): Fix initstate and setstate to use char *, not void *.
50538         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
50539         prototype to make second argument 'struct aiocb64 *const[]'.
50540         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
50541         (Status of AIO Operations): Remove erroneous const in aio_return and
50542         aio_return64 prototypes.
50543         (Synchronizing I/O): Fix sync prototype to return void.
50544         * manual/startup.texi (Suboptions): Remove an erroneous const in
50545         getsubopt prototype.
50546         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
50547         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
50548         use size_t rather than int.
50549         (Scanning All Users): Likewise for getpwent_r.
50550         (Setting Groups): Add missing const to setgroups prototype.
50551         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
50552         * manual/socket.texi (Host Names): Fix gethostbyaddr and
50553         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
50554         'const void *' rather than 'const char *'.
50555         (Host Address Functions): Likewise for inet_ntop.
50556         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
50557         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
50558         ssize_t for return value.
50559         (Sending Data): Likewise for send, sendto, sendmsg.
50560         (Socket Option Functions): Add a missing const in setsockopt prototype.
50561         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
50562         use wchar_t for the argument.
50563         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
50564         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
50565         take no arguments.
50566         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
50567         double/float/long double for second argument.
50568         Fix return types of significand, significandf, significandl.
50569         * manual/filesys.texi (Setting Permissions): Use mode_t for second
50570         argument in fchmod prototype.
50571         (File Owner): Use uid_t and gid_t in fchown prototype.
50572         (File Times): Add const to utimes, futimes, and lutimes prototypes.
50573         (Making Special Files): Use mode_t and dev_t in mknod prototype.
50574         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
50575         use 'const struct dirent **' as argument types to CMP function pointer
50576         argument.
50577         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
50578         (File Times): Fix summary magic @comment for struct utimbuf and utime
50579         to refer to utime.h, not time.h.
50580         * manual/string.texi (Argz Functions): Add missing const in
50581         argz_extract and argz_next prototypes.
50582         (Finding Tokens in a String): Likewise for basename.
50583         (String/Array Comparison): Fix typo in wcscasecmp prototype.
50584         (Copying and Concatenation): Fix typo in wmemmove prototype.
50585         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
50586         (Signal Stack): Remove erroneous const in sigstack prototype.
50587         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
50588         prototype.
50589         (Simple Calendar Time): Likewise for stime.
50590         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
50591         prototype.
50592         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
50593         say sys/sysctl.h instead.
50594         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
50595         and vsyslog prototypes.
50597 2013-02-11  Tom de Vries  <tom@codesourcery.com>
50599         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
50600         Remove.
50602 2013-02-11  Roland McGrath  <roland@hack.frob.com>
50604         * misc/sys/mman.h: Fix typo in mremap comment.
50606 2013-02-08  Roland McGrath  <roland@hack.frob.com>
50608         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
50609         the '\0' terminator.
50611 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
50613         [BZ #13550]
50614         * debug/segfault.c: Don't include <bp-checks.h>.
50615         * sysdeps/generic/bp-checks.h: Remove file.
50616         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
50617         (__GETDENTS): Don't use CHECK_N.
50618         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
50619         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
50620         (__getgroups): Don't use CHECK_N.
50621         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
50622         (setgroups): Don't use CHECK_N.
50623         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
50624         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
50625         (__libc_msgrcv): Don't use CHECK_N.
50626         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
50627         (__libc_msgsnd): Don't use CHECK_N.
50628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
50629         <bp-checks.h>.
50630         (__libc_pread): Don't use CHECK_N.
50631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
50632         include <bp-checks.h>.
50633         (__libc_pread64): Don't use CHECK_N.
50634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
50635         include <bp-checks.h>.
50636         (__libc_pwrite): Don't use CHECK_N.
50637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
50638         include <bp-checks.h>.
50639         (__libc_pwrite64): Don't use CHECK_N.
50640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
50641         <bp-checks.h>.
50642         (__libc_pread): Don't use CHECK_N.
50643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
50644         include <bp-checks.h>.
50645         (__libc_pread64): Don't use CHECK_N.
50646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
50647         include <bp-checks.h>.
50648         (__libc_pwrite): Don't use CHECK_N.
50649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
50650         include <bp-checks.h>.
50651         (__libc_pwrite64): Don't use CHECK_N.
50652         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
50653         (do_pread): Don't use CHECK_N.
50654         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
50655         (do_pread64): Don't use CHECK_N.
50656         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
50657         (do_pwrite): Don't use CHECK_N.
50658         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
50659         (do_pwrite64): Don't use CHECK_N.
50660         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
50661         (__libc_readv): Don't use CHECK_N.
50662         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
50663         (semop): Don't use CHECK_N.
50664         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
50665         <bp-checks.h>.
50666         (semtimedop): Don't use CHECK_N.
50667         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
50668         (__libc_pread): Don't use CHECK_N.
50669         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
50670         <bp-checks.h>.
50671         (__libc_pread64): Don't use CHECK_N.
50672         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
50673         <bp-checks.h>.
50674         (__libc_pwrite): Don't use CHECK_N.
50675         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
50676         <bp-checks.h>.
50677         (__libc_pwrite64): Don't use CHECK_N.
50678         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
50679         <bp-checks.h>.
50680         (__libc_msgrcv): Don't use CHECK_N.
50681         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
50682         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
50683         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
50684         (__libc_writev): Don't use CHECK_N.
50686 2013-02-08  Roland McGrath  <roland@hack.frob.com>
50688         * string/strcpy.c: Removed unused variable.
50690         * Makeconfig (+sysdep-includes): Define with := rather than =.
50691         Use an existing include/ subdir of each sysdeps dir before it.
50693 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50695         * nscd/connection.c (register_traced_file): Comment function.
50696         [HAVE_INOTIFY] (union __inev): Define.
50697         [HAVE_INOTIFY] (inotify_check_files): New function.
50698         [HAVE_INOTIFY] (clear_db_cache): Likewise.
50699         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
50700         clear_db_cache.
50701         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
50703 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50705         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
50706         loaded if not already and that a failure is permanent.
50708 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50710         [BZ #15006]
50711         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
50712         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
50714 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
50716         [BZ #13550]
50717         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
50718         (CHECK_1_NULL_OK): Likewise.
50719         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
50720         (__fxstat): Do not use CHECK_1.
50721         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
50722         <bp-checks.h>.
50723         (___fxstat64): Do not use CHECK_1.
50724         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
50725         <bp-checks.h>.
50726         (__fxstatat): Do not use CHECK_1.
50727         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
50728         <bp-checks.h>.
50729         (__fxstatat64): Do not use CHECK_1.
50730         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
50731         <bp-checks.h>.
50732         (__fxstat): Do not use CHECK_1.
50733         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
50734         <bp-checks.h>.
50735         (__fxstatat): Do not use CHECK_1.
50736         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50737         <bp-checks.h>.
50738         (__getresgid): Do not use CHECK_1.
50739         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50740         <bp-checks.h>.
50741         (__getresuid): Do not use CHECK_1.
50742         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
50743         <bp-checks.h>.
50744         (__lxstat): Do not use CHECK_1.
50745         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
50746         <bp-checks.h>.
50747         (__old_msgctl): Do not use CHECK_1.
50748         (__new_msgctl): Likewise.
50749         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
50750         <bp-checks.h>.
50751         (__new_setrlimit): Do not use CHECK_1.
50752         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
50753         <bp-checks.h>.
50754         (__old_shmctl): Do not use CHECK_1.
50755         (__new_shmctl): Likewise.
50756         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
50757         <bp-checks.h>.
50758         (__xstat): Do not use CHECK_1.
50759         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
50760         (__lxstat): Do not use CHECK_1.
50761         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
50762         <bp-checks.h>.
50763         (___lxstat64): Do not use CHECK_1.
50764         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
50765         (__old_msgctl): Do not use CHECK_1.
50766         (__new_msgctl): Likewise.
50767         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
50768         <bp-checks.h>.
50769         (__gettimeofday): Do not use CHECK_1.
50770         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
50771         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
50772         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
50773         <bp-checks.h>.
50774         (__gettimeofday): Do not use CHECK_1.
50775         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
50776         (__old_shmctl): Do not use CHECK_1_NULL_OK.
50777         (__new_shmctl): Do not use CHECK_1.
50778         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
50779         <bp-checks.h>.
50780         (do_sigtimedwait): Do not use CHECK_1.
50781         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
50782         <bp-checks.h>.
50783         (do_sigwaitinfo): Do not use CHECK_1.
50784         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
50785         <bp-checks.h>.
50786         (msgctl): Do not use CHECK_1.
50787         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
50788         <bp-checks.h>.
50789         (shmctl): Do not use CHECK_1.
50790         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
50791         (ustat): Do not use CHECK_1.
50792         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
50793         <bp-checks.h>.
50794         (__fxstat): Do not use CHECK_1.
50795         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
50796         <bp-checks.h>.
50797         (__fxstatat): Do not use CHECK_1.
50798         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
50799         <bp-checks.h>.
50800         (__lxstat): Do not use CHECK_1.
50801         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
50802         <bp-checks.h>.
50803         (__xstat): Do not use CHECK_1.
50804         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
50805         (__xstat): Do not use CHECK_1.
50806         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
50807         (___xstat64): Do not use CHECK_1.
50809         [BZ #13550]
50810         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
50811         definitions.
50812         (CHECK_BOUNDS_HIGH): Likewise.
50813         * string/strcpy.c: Do not include <bp-checks.h>.
50814         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
50816 2013-02-07  Roland McGrath  <roland@hack.frob.com>
50818         * nscd/nscd-client.h (__nscd_drop_map_ref):
50819         Add __attribute__ ((unused)).
50820         * nis/nss-nisplus.h (niserr2nss): Likewise.
50822         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
50823         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
50825         * csu/libc-tls.c (init_static_tls, init_slotinfo):
50826         Remove inline keyword.
50827         * include/rounding-mode.h (round_away): Likewise.
50828         * libio/wfileops.c (adjust_wide_data): Likewise.
50829         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
50830         (__m128i_strloadu_tolower): Likewise.
50831         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
50832         (__m128i_strloadu_tolower): Likewise.
50833         * time/mktime.c (ydhms_diff): Likewise.
50834         * locale/elem-hash.h (elem_hash): Likewise.
50835         * locale/setlocale.c (setdata): Likewise.
50836         * posix/regex_internal.h (re_string_char_size_at): Likewise.
50837         (re_string_wchar_at): Likewise.
50838         (bitset_not, bitset_merge, bitset_mask): Likewise.
50839         [!(__GNUC__ > 3)] (inline): Remove macro.
50840         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
50841         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
50842         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
50843         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
50844         * string/memcmp.c (memcmp_bytes): Likewise.
50845         * locale/programs/locarchive.c (compute_hashval): Likewise.
50846         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
50847         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
50848         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
50849         * nss/getent.c (print_rpc, print_protocols): Likewise.
50850         (print_passwd, print_group, print_aliases): Likewise.
50851         * nis/nss-nisplus.h (niserr2nss): Likewise.
50852         * nscd/connections.c (restart_p): Likewise.
50853         Change return type to bool.
50855 2013-02-05  Roland McGrath  <roland@hack.frob.com>
50857         * Makeconfig (all-Depend-files): Add existing
50858         $(sorted-subdirs:=/Depend) files.
50859         (all-subdirs): Remove nss.
50860         * sysdeps/unix/inet/Subdirs: Add it here instead.
50861         * hesiod/Depend: New file.
50863         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
50864         instead of calling alloca.
50866         * io/lseek.c (__lseek): Rename to __libc_lseek.
50867         Define __lseek as an alias.
50869         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
50871 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
50873         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
50874         else clause and remove check for non-standard endianness.
50876 2013-02-04  David S. Miller  <davem@davemloft.net>
50878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50880 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
50882         [BZ #13550]
50883         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
50884         (__ubp_memchr): Remove prototype.
50885         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
50886         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
50887         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
50888         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
50889         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
50890         Remove alias.
50891         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
50892         (__ubp_memchr): Likewise.
50893         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
50894         (__ubp_memchr): Likewise.
50895         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
50896         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
50897         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
50898         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
50899         CHECK_STRING.
50900         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
50901         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
50902         (__getcwd): Do not use CHECK_STRING.
50903         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50904         <bp-checks.h>.
50905         (__real_chown): Do not use CHECK_STRING.
50906         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
50907         <bp-checks.h>.
50908         (fchownat): Do not use CHECK_STRING.
50909         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
50910         CHECK_STRING.
50911         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
50912         <bp-checks.h>.
50913         (__lchown): Do not use CHECK_STRING.
50914         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
50915         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
50916         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
50917         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
50918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50919         include <bp-checks.h>.
50920         (truncate64): Do not use CHECK_STRING.
50921         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
50922         <bp-checks.h>.
50923         (__real_chown): Do not use CHECK_STRING.
50924         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
50925         <bp-checks.h>.
50926         (__lchown): Do not use CHECK_STRING.
50927         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
50928         <bp-checks.h>.
50929         (__chown): Do not use CHECK_STRING.
50930         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
50931         <bp-checks.h>.
50932         (truncate64): Do not use CHECK_STRING.
50933         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
50934         Likewise.
50935         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
50936         (__xmknod): Do not use CHECK_STRING.
50937         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
50938         <bp-checks.h>.
50939         (__xmknodat): Do not use CHECK_STRING.
50940         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
50941         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
50943 2013-02-04  Andreas Schwab  <schwab@suse.de>
50945         [BZ #14142]
50946         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
50947         * include/netdb.h: Likewise for h_errno.
50948         * elf/tst-stackguard1.c: Include <tls.h>.
50950 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
50952         * elf/link.h (struct link_map): Extend the l_addr comment.
50953         * include/link.h (struct link_map): Likewise.
50955 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
50957         [BZ #13550]
50958         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
50959         (BOUNDED_1): Remove macro.
50960         * debug/backtrace.c: Don't include <bp-checks.h>.
50961         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
50962         (__backtrace): Likewise.
50963         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
50964         <bp-checks.h>.
50965         (__backtrace): Don't use BOUNDED_1.
50966         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
50967         <bp-checks.h>.
50968         (__backtrace): Don't use BOUNDED_1.
50969         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
50970         (__backtrace): Don't use BOUNDED_1.
50971         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
50972         (shmat): Don't use BOUNDED_N.
50974 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
50976         [BZ #13550]
50977         * sysdeps/generic/bp-start.h: Remove file.
50978         * csu/libc-start.c: Don't include <bp-start.h>.
50979         (LIBC_START_MAIN): Set up __environ directly instead of using
50980         INIT_ARGV_and_ENVIRON.
50981         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
50982         <bp-start.h>.
50984         [BZ #13550]
50985         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
50986         definitions.
50987         (CHECK_FCNTL): Likewise.
50988         (CHECK_N_PAGES): Likewise.
50990         [BZ #13550]
50991         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
50992         definitions.
50993         (CHECK_SIGSET_NULL_OK): Likewise.
50994         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
50995         <bp-checks.h>.
50996         (sigpending): Don't use CHECK_SIGSET.
50997         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
50998         <bp-checks.h>.
50999         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51000         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
51001         <bp-checks.h>.
51002         (do_sigsuspend): Don't use CHECK_SIGSET.
51003         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
51004         use CHECK_SIGSET.
51005         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
51006         (do_sigwait): Don't use CHECK_SIGSET.
51007         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
51008         use CHECK_SIGSET.
51009         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
51010         include <bp-checks.h>.
51011         (sigpending): Don't use CHECK_SIGSET.
51012         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
51013         include <bp-checks.h>.
51014         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51015         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
51016         <bp-checks.h>.
51017         (sigpending): Don't use CHECK_SIGSET.
51018         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
51019         <bp-checks.h>.
51020         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51022         [BZ #13550]
51023         * sysdeps/generic/bp-semctl.h: Remove file.
51024         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
51025         <bp-checks.h> and <bp-semctl.h>.
51026         (__old_semctl): Don't use CHECK_SEMCTL.
51027         (__new_semctl): Likewise.
51028         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
51029         and <bp-semctl.h>.
51030         (__old_semctl): Don't use CHECK_SEMCTL.
51031         (__new_semctl): Likewise.
51032         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
51033         <bp-checks.h> and <bp-semctl.h>.
51034         (__old_semctl): Don't use CHECK_SEMCTL.
51035         (__new_semctl): Likewise.
51036         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
51037         <bp-checks.h> and <bp-semctl.h>.
51038         (semctl): Don't use CHECK_SEMCTL.
51040         [BZ #13550]
51041         * Makerules (elide-bp-thunks): Remove variable.
51042         (elide-routines.oS): Don't use $(elide-bp-thunks).
51043         (elide-routines.os): Likewise.
51044         (elide-routines.o): Likewise.
51045         (elide-routines.op): Likewise.
51046         (elide-routines.og): Likewise.
51047         (objects): Don't use $(bp-thunks).
51048         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
51049         include.
51050         (common-generated): Do not add s-proto-bp.d.
51051         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
51052         (int): Likewise.
51053         (typ): Likewise.
51054         Do not generate makefile rules for bounded-pointer thunks.
51055         * sysdeps/generic/bp-thunks.h: Remove file.
51056         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
51057         * sysdeps/unix/s-proto-bp.S: Likewise.
51059         [BZ #15062]
51060         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
51061         parts of result separately when argument is not close to line from
51062         -i to i and one part of argument is small.
51063         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51064         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51065         * math/libm-test.inc (cacos_test): Add more tests.
51066         (casin_test): Likewise.
51067         (casinh_test): Likewise.
51068         * sysdeps/i386/fpu/libm-test-ulps: Update.
51069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51071 2013-01-31  David S. Miller  <davem@davemloft.net>
51073         * po/de.po: Update from translation team.
51075 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
51077         * time/tzfile.c: Include stdint.h for SIZE_MAX.
51079 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
51081         * configure.in (_AC_PROG_CC_C89): New definition.
51082         * configure: Regenerate.
51084         * configure.in (AC_PROG_CPP): New definition.
51085         * configure: Regenerate.
51087 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51089         * debug/tst-backtrace.h: New file.
51090         * debug/tst-backtrace2.c: Include tst-backtrace.h.
51091         (ret): Remove variable.
51092         (x): Likewise.
51093         (FAIL): Remove macro.
51094         (NO_INLINE): Likewise.
51095         (fn1): Use match function instead of strstr.
51096         * debug/tst-backtrace3.c: Include tst-backtrace.h.
51097         (ret): Remove variable.
51098         (x): Likewise.
51099         (FAIL): Remove macro.
51100         (NO_INLINE): Likewise.
51101         (fn): Use match function instead of strstr.
51102         * debug/tst-backtrace4.c: Include tst-backtrace.h.
51103         (ret): Remove variable.
51104         (x): Likewise.
51105         (FAIL): Remove macro.
51106         (NO_INLINE): Likewise.
51107         (handle_signal): Use match function instead of strstr.
51108         * debug/tst-backtrace5.c: Include tst-backtrace.h.
51109         (ret): Remove variable.
51110         (x): Likewise.
51111         (FAIL): Remove macro.
51112         (NO_INLINE): Likewise.
51113         (handle_signal): Use match function instead of strstr.
51115 2013-01-23  Roland McGrath  <roland@hack.frob.com>
51117         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
51119 2013-01-23  David S. Miller  <davem@davemloft.net>
51121         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
51122         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
51123         argument of CAS if possible.
51124         * sysdeps/sparc/sparc64/bits/atomic.h
51125         (__arch_compare_and_exchange_val_32_acq): Likewise.
51126         (__arch_compare_and_exchange_val_64_acq): Likewise.
51128 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
51130         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
51131         * sysdeps/posix/ulimit.c: ... this.
51132         Include <limits.h>.
51133         * sysdeps/unix/bsd/ulimit.c: Remove file.
51135 2013-01-23  Adam Conrad  <adconrad@0c3.net>
51137         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
51138         (LDFLAGS-tst-array5): Likewise.
51140 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51142         [BZ #15036]
51143         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
51144         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
51145         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
51146         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
51148 2013-01-21  David S. Miller  <davem@davemloft.net>
51150         * sysdeps/sparc/backtrace.c: New file.
51151         * sysdeps/sparc/sparc32/backtrace.h: New file.
51152         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
51153         * sysdeps/sparc/sparc64/backtrace.h: New file.
51154         * sysdeps/sparc/sparc64/backtrace.c: Delete.
51155         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
51156         -funwind-tables.
51158 2013-01-21  Andreas Schwab  <schwab@suse.de>
51160         [BZ #15020]
51161         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
51162         closed its stdout.
51164 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
51166         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
51167         "mpa2.h".
51168         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51170 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
51171             Mark Mitchell  <mark@codesourcery.com>
51172             Tom de Vries  <tom@codesourcery.com>
51173             Paul Pluzhnikov  <ppluzhnikov@google.com>
51175         * debug/tst-backtrace2.c: New file.
51176         * debug/tst-backtrace3.c: Likewise.
51177         * debug/tst-backtrace4.c: Likewise.
51178         * debug/tst-backtrace5.c: Likewise.
51179         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
51180         (CFLAGS-tst-backtrace3.c): Likewise.
51181         (CFLAGS-tst-backtrace4.c): Likewise.
51182         (CFLAGS-tst-backtrace5.c): Likewise.
51183         (LDFLAGS-tst-backtrace2): Likewise.
51184         (LDFLAGS-tst-backtrace3): Likewise.
51185         (LDFLAGS-tst-backtrace4): Likewise.
51186         (LDFLAGS-tst-backtrace5): Likewise.
51187         (tests): Add new tests tst-backtrace2, tst-backtrace3,
51188         tst-backtrace4 and tst-backtrace5.
51190 2013-01-18  Anton Blanchard  <anton@samba.org>
51191             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51193         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
51194         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
51195         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
51196         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
51197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
51198         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
51199         "+r" and remove output regs list as redundant.  Add explicit inline
51200         asm to specify register of return val to work around compiler codegen
51201         bug.  Remove (int) cast on return value.  Add return type parameter to
51202         use in macro so that this macro does not truncate return value for
51203         64-bit values.
51204         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
51205         pass to INTERNAL_VSYSCALL_NCS.
51206         (INLINE_VSYSCALL): Add 'long int' as return type to
51207         INTERNAL_VSYSCALL_NCS macro invocation.
51208         (INTERNAL_VSYSCALL): Add 'long int' as return type to
51209         INTERNAL_VSYSCALL_NCS macro invocation.
51210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51212 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51214         [BZ #14496]
51215         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
51216         Fix application of SIMD FP exception mask.
51218         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
51219         mp_no from a power of two.
51220         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
51221         __mpexp_twomm1.  Use __pow_mp.
51223         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
51224         multiplication.
51226 2013-01-17  David S. Miller  <davem@davemloft.net>
51228         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51230 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
51232         [BZ #15023]
51233         * include/complex.h: Condition contents on [!_COMPLEX_H].
51234         (__kernel_casinhf): New prototype.
51235         (__kernel_casinh): Likewise.
51236         (__kernel_casinhl): Likewise.
51237         * math/Makefile (libm_calls): Add k_casinh.
51238         * math/k_casinh.c: New file.
51239         * math/k_casinhf.c: Likewise.
51240         * math/k_casinhl.c: Likewise.
51241         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
51242         finite nonzero arguments.
51243         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
51244         finite nonzero arguments.
51245         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
51246         finite nonzero arguments.
51247         * math/s_casinh.c: Do not include <float.h>.
51248         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
51249         * math/s_casinhf.c: Do not include <float.h>.
51250         (__casinhf): Move code for finite nonzero arguments to
51251         k_casinhf.c.
51252         * math/s_casinhl.c: Do not include <float.h>.
51253         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
51254         redefine.
51255         (__casinhl): Move code for finite nonzero arguments to
51256         k_casinhl.c.
51257         * math/libm-test.inc (cacos_test): Add more tests.
51258         * sysdeps/i386/fpu/libm-test-ulps: Update.
51259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51261 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
51263         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
51264         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
51265         [!HAVE_MREMAP]: Remove [defined linux] case.
51266         * malloc/arena.c: Do not include <malloc-sysdep.h>.
51268 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51270         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
51272 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
51274         * elf/elf.h (R_386_SIZE32): New relocation.
51275         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
51276         R_386_SIZE32.
51277         (elf_machine_rela): Likewise.
51278         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51279         R_X86_64_SIZE64 and R_X86_64_SIZE32.
51281 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
51283         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
51284         (FP_FAST_FMA): Do not define.
51285         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
51286         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
51287         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
51288         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
51289         !_SOFT_FLOAT]: Likewise.
51290         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
51291         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
51292         value.
51293         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
51294         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
51295         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
51296         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
51297         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
51298         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
51299         file.
51301 2013-01-16  Andreas Schwab  <schwab@suse.de>
51303         [BZ #14327]
51304         * include/stdlib.h (__mktemp): Add declaration.
51305         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
51306         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
51308 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51310         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
51311         definitions.
51312         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
51313         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
51314         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
51315         definitions here.
51316         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
51317         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
51318         definitions.
51319         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
51320         and ONE.
51321         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
51322         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
51323         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
51324         definitions.
51325         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
51326         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
51327         definitions.
51328         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
51330         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
51332 2013-01-15  David S. Miller  <davem@davemloft.net>
51334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51335         trunc{,f} to libm-sysdep_routes.
51336         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
51338         file.
51339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
51340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
51341         file.
51342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
51343         file.
51344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
51345         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
51346         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
51347         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
51348         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
51349         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
51350         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
51351         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
51353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51354         nearbyint{,f} to libm-sysdep_routes.
51355         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
51357         New file.
51358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
51359         file.
51360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
51361         New file.
51362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
51363         file.
51364         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
51365         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
51366         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
51367         file.
51368         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
51369         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
51370         file.
51371         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
51372         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
51373         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
51375         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51376         libc_feholdexcept and libc_fesetenv.
51378 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
51380         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
51382 2013-01-14  David S. Miller  <davem@davemloft.net>
51384         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
51385         (SPARC_ASM_VIS2_IFUNC): Likewise.
51386         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
51387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
51388         use of 'siam' instruction.
51389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
51390         Likewise.
51391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
51392         Likewise.
51393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
51394         Likewise.
51395         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
51396         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
51397         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
51398         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
51399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
51400         file.
51401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
51402         file.
51403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
51404         file.
51405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
51406         file.
51407         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
51408         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
51409         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
51410         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
51411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
51412         new VIS2 routines.
51413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51416         Likewise.
51417         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51418         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51419         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51420         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
51422         routines to libm-sysdep_routines.
51423         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51426         fdim/fdimf to libm-sysdep_routines.
51427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
51428         file.
51429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
51430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
51431         file.
51432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
51433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
51434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
51435         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
51436         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
51437         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
51438         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
51440 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51442         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
51443         to optimize copies.
51445         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
51446         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51447         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51449         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
51450         local variable MPTWO.
51451         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
51452         Likewise.
51454 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
51456         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
51457         GLOB_NOESCAPE.
51459 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
51461         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
51463 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
51465         * manual/pattern.texi (glob_t): Document gl_flags.
51466         (glob64_t): Likewise.
51468 2013-01-11  David S. Miller  <davem@davemloft.net>
51470         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
51471         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
51472         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
51473         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
51474         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
51475         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
51476         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
51477         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
51478         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
51479         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
51480         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
51481         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
51482         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
51484         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
51485         sparc V9 rather than using V8 code.
51486         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51487         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51489         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51490         Move to...
51491         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
51492         Here.
51494 2013-01-11  Roland McGrath  <roland@hack.frob.com>
51496         [BZ #14941]
51497         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
51498         not in the main loop.
51499         * configure: Regenerated.
51501 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
51503         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
51504         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
51505         to just #else.
51506         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
51507         [!__GLIBC_HAVE_LONG_LONG] case.
51508         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
51509         condition to just #else.
51510         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
51511         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
51512         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
51513         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
51514         unconditional.
51515         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
51516         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
51517         #elif condition to just #else.
51518         * sysdeps/unix/sysv/linux/sys/sysmacros.h
51519         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
51520         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
51521         #elif condition to just #else.
51523 2013-01-11  Steve Ellcey  <sellcey@mips.com>
51525         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
51526         (EF_MIPS_ARCH_64): Fix value.
51527         (EF_MIPS_ARCH_32R2): New.
51528         (EF_MIPS_ARCH_64R2): New.
51530 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
51532         * Makeconfig (+link-pie-before-libc): New.
51533         (+link-pie-after-libc): Likewise.
51534         (+link-pie-tests): Likewise.
51535         (+link-pie): Rewritten.
51536         (link-before-libc): Remove $(config-LDFLAGS).
51537         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
51538         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
51539         (config-LDFLAGS): Renamed to ...
51540         (rtld-LDFLAGS): This.
51541         (rtld-tests-LDFLAGS): New macro.
51542         (link-libc-rpath-link): Likewise.
51543         (link-libc-tests-rpath-link): Likewise.
51544         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
51545         (link-libc): Prepand $(link-libc-rpath-link).
51546         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
51547         (test-program-prefix): New macro.
51548         (test-via-rtld-prefix): Likewise.
51549         (test-program-cmd): Likewise.
51550         (host-test-program-cmd): Likewise.
51551         * Makefile ($(common-objpfx)testrun.sh): Replace
51552         $(run-program-prefix) with $(test-program-prefix).
51553         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
51554         $(rtld-LDFLAGS).
51555         ($(common-objpfx)shlib.lds): Likewise.
51556         (build-module-helper): Likewise.
51557         ($(common-objpfx)format.lds): Likewise.
51558         * Rules (binaries-pie-tests): New.
51559         (binaries-pie-notests): Likewise.
51560         (binaries-pie): Rewritten.
51561         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
51562         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
51563         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
51564         (make-test-out): Replace $(host-built-program-cmd) with
51565         $(host-test-program-cmd).
51566         * config.make.in (build-hardcoded-path-in-tests): New variable.
51567         * configure.in (--enable-hardcoded-path-in-tests): New configure
51568         option.
51569         (hardcoded_path_in_tests): New AC_SUBST.
51570         * configure: Regenerated.
51571         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
51572         $(built-program-cmd) with $(test-program-cmd).
51573         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
51574         (test_program_cmd): This.
51575         * elf/Makefile ($(objpfx)order.out): Run test with
51576         $(test-program-prefix).
51577         ($(objpfx)order2.out): Likewise.
51578         ($(objpfx)tst-initorder.out): Likewise.
51579         ($(objpfx)tst-initorder2.out): Likewise.
51580         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
51581         $(test-program-cmd).
51582         ($(objpfx)tst-array1-static.out): Likewise.
51583         ($(objpfx)tst-array2.out): Likewise.
51584         ($(objpfx)tst-array3.out): Likewise.
51585         ($(objpfx)tst-array4.out): Likewise.
51586         ($(objpfx)tst-array5.out): Likewise.
51587         ($(objpfx)tst-array5-static.out): Likewise.
51588         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
51589         $(test-program-cmd).
51590         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
51591         $(run-program-prefix) with $(test-program-prefix).
51592         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
51593         (test_program_prefix): This.
51594         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
51595         $(run-program-prefix) with $(test-program-prefix).
51596         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
51597         (test_program_prefix): This.
51598         * iconvdata/tst-tables.sh: Likewise.
51599         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
51600         $(run-program-prefix) with $(test-program-prefix).
51601         ($(objpfx)tst-translit.out): Likewise.
51602         ($(objpfx)tst-gettext2.out): Likewise.
51603         ($(objpfx)tst-gettext4.out): Likewise.
51604         ($(objpfx)tst-gettext6.out): Likewise.
51605         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
51606         (test_program_prefix): This.
51607         * intl/tst-gettext2.sh: Likewise.
51608         * intl/tst-gettext4.sh  Likewise.
51609         * intl/tst-gettext6.sh: Likewise.
51610         * intl/tst-translit.sh: Likewise.
51611         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
51612         with $(test-program-cmd).
51613         * libio/Makefile ($(objpfx)test-freopen.out): Replace
51614         $(run-program-prefix) with $(test-program-prefix).
51615         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
51616         (test_program_prefix): This.
51617         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
51618         $(run-program-prefix) with $(test-program-prefix).
51619         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
51620         (test_program_prefix): This.
51621         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
51622         * posix/Makefile ($(objpfx)globtest.out): Replace
51623         $(run-via-rtld-prefix) and $(test-wrapper) with
51624         $(test-program-prefix) and $(test-via-rtld-prefix).
51625         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
51626         $(test-program-prefix).
51627         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
51628         $(host-test-program-cmd).
51629         (tst-spawn-ARGS): Likewise.
51630         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
51631         $(test-program-prefix).
51632         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
51633         (test_via_rtld_prefix): This.
51634         (test_wrapper): Renamed to ...
51635         (test_program_prefix): This.
51636         (run_program_prefix): Replaced by test_program_prefix.
51637         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
51638         (test_program_prefix): This.
51639         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
51640         with $(host-test-program-cmd).
51641         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
51642         $(run-program-prefix) with $(test-program-prefix).
51643         ($(objpfx)tst-printf.out): Likewise.
51644         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
51645         $(test-program-cmd).
51646         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
51647         (test_program_prefix): This.
51648         * stdio-common/tst-unbputc.sh: Likewise.
51649         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
51650         $(run-program-prefix) with $(test-program-prefix).
51651         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
51652         (test_program_prefix): This.
51653         * string/Makefile ($(objpfx)tst-svc.out):  Replace
51654         $(built-program-cmd) with $(test-program-cmd).
51656 2013-01-11  Andreas Jaeger  <aj@suse.de>
51658         [BZ #15003]
51659         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
51660         value. Sync with Linux 3.7.
51662 2013-01-10  David S. Miller  <davem@davemloft.net>
51664         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
51665         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51666         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51668 2013-01-10  Roland McGrath  <roland@hack.frob.com>
51670         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
51671         never set.
51672         * configure: Regenerated.
51674 2013-01-10  David S. Miller  <davem@davemloft.net>
51676         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
51677         sparc V9 rather than using V8 code.
51678         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51679         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51681 2013-01-10  Roland McGrath  <roland@hack.frob.com>
51683         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
51684         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
51685         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
51686         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
51687         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
51688         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
51689         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
51690         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
51691         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
51692         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
51693         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
51694         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
51695         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
51696         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
51697         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
51698         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
51699         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
51700         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
51701         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
51702         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
51703         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
51704         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
51705         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
51706         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
51707         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
51708         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
51709         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
51711 2013-01-10  David S. Miller  <davem@davemloft.net>
51713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51715 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
51717         * posix/Makefile (tests-static): New variable.
51718         (tests): Add $(tests-static).
51719         (tst-exec-static-ARGS): New variable.
51720         (tst-spawn-static-ARGS): Likewise.
51721         * posix/tst-exec-static.c: New file.
51722         * posix/tst-spawn-static.c: Likewise.
51723         * posix/tst-exec.c: Support run directly.
51724         * posix/tst-spawn.c: Likewise.
51726 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
51728         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
51729         long.
51730         * math/bits/mathcalls.h (llrint): Likewise.
51731         (llround): Likewise.
51732         * stdlib/stdlib.h (struct drand48_data): Likewise.
51733         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
51734         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
51735         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
51736         Likewise.
51737         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
51738         Likewise.
51739         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
51740         (elf_greg_t): Likewise.
51741         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
51742         (__jmp_buf): Likewise.
51743         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
51744         definitions.
51745         (llrint): Likewise, for all definitions.
51746         (llrintl): Likewise.
51748         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
51749         Remove [__GNUC__] condition.
51750         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
51751         condition to just [__USE_ISOC99].
51752         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
51754 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
51756         [BZ #14200]
51757         * sysdeps/unix/sysv/linux/x86/bits/environments.h
51758         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
51759         defined.
51760         (_POSIX_V6_ILP32_OFF32): Likewise.
51761         (_XBS5_ILP32_OFF32): Likewise.
51762         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
51763         (__ILP32_OFFBIG_LDFLAGS): Likewise.
51765 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51767         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
51769         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
51770         doubles __mpexp_twomm1.  Adjust usage.
51771         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
51772         Remove.
51774 2013-01-10  Andreas Schwab  <schwab@suse.de>
51776         [BZ #14964]
51777         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
51778         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
51780 2013-01-09  David S. Miller  <davem@davemloft.net>
51782         [BZ #15003]
51783         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
51784         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
51785         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
51786         (TCP_FASTOPEN): Define.
51787         (tcp_repair_opt): New structure.
51788         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
51789         enum values.
51790         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
51791         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
51792         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
51793         (tcp_cookie_transactions): New structure.
51795 2013-01-09  Anton Blanchard  <anton@samba.org>
51797         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
51798         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
51799         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
51800         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
51802 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
51804         * include/features.h (__USE_ANSI): Remove.
51806 2013-01-09  Roland McGrath  <roland@hack.frob.com>
51808         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
51810         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
51812 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
51814         * sysdeps/s390/fpu/libm-test-ulps: Update.
51816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51818         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
51819         (__acr): Likewise.
51820         (__cpy): Likewise.
51821         (norm): Likewise.
51822         (denorm): Likewise.
51823         (__mp_dbl): Likewise.
51824         (__dbl_mp): Likewise.
51825         (add_magnitudes): Likewise.
51826         (sub_magnitudes): Likewise.
51827         (__add): Likewise.
51828         (__sub): Likewise.
51829         (__mul): Likewise.
51830         (__inv): Likewise.
51831         (__dvd): Likewise.
51832         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
51833         (__acr): Likewise.
51834         (__cpy): Likewise.
51835         (norm): Likewise.
51836         (denorm): Likewise.
51837         (__mp_dbl): Likewise.
51838         (__dbl_mp): Likewise.
51839         (add_magnitudes): Likewise.
51840         (sub_magnitudes): Likewise.
51841         (__add): Likewise.
51842         (__sub): Likewise.
51843         (__mul): Likewise.
51844         (__inv): Likewise.
51845         (__dvd): Likewise.
51846         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
51847         (__acr): Likewise.
51848         (__cpy): Likewise.
51849         (norm): Likewise.
51850         (denorm): Likewise.
51851         (__mp_dbl): Likewise.
51852         (__dbl_mp): Likewise.
51853         (add_magnitudes): Likewise.
51854         (sub_magnitudes): Likewise.
51855         (__add): Likewise.
51856         (__sub): Likewise.
51857         (__mul): Likewise.
51858         (__inv): Likewise.
51859         (__dvd): Likewise.
51861 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
51863         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
51864         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
51865         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
51866         2 && __USE_EXTERN_INLINES]: Likewise.
51868 2013-01-08  Andreas Jaeger  <aj@suse.de>
51870         [BZ# 14985]
51871         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
51872         Remove.
51873         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
51874         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
51876 2013-01-07  Anton Blanchard  <anton@samba.org>
51878         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
51879         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
51880         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
51881         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
51882         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
51883         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51884         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
51885         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
51886         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51887         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51888         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51889         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51890         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51891         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51892         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
51893         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51894         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51895         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51896         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
51897         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
51898         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
51899         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
51900         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51901         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
51902         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
51903         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
51904         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51905         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
51906         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
51907         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51908         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
51909         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51910         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51911         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51912         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51913         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51914         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51915         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
51916         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
51917         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
51918         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
51919         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51920         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51922 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
51924         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
51925         (__MALLOC_PMT): Likewise.
51926         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
51927         [__GNUC__], only on [_LIBC].
51928         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
51929         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
51930         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
51931         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
51932         forward declaration.
51933         (realloc_hook_ini): Likewise.
51934         (memalign_hook_ini): Likewise.
51935         (__libc_memalign): Do not use __MALLOC_PMT in variable
51936         declaration.
51937         (__libc_valloc): Likewise.
51938         (__libc_pvalloc): Likewise.
51939         (__libc_calloc): Likewise.
51940         (__posix_memalign): Likewise.
51942         [BZ #14996]
51943         * math/s_casinh.c: Include <float.h>.
51944         (__casinh): Do not do computation with squaring and square root
51945         for large arguments.
51946         * math/s_casinhf.c: Include <float.h>.
51947         (__casinhf): Do not do computation with squaring and square root
51948         for large arguments.
51949         * math/s_casinhl.c: Include <float.h>.
51950         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
51951         (__casinhl): Do not do computation with squaring and square root
51952         for large arguments.
51953         * math/libm-test.inc (casin_test): Add more tests.
51954         (casinh_test): Likewise.
51955         * sysdeps/i386/fpu/libm-test-ulps: Update.
51956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51958 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
51960         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
51961         (__x86_64_raw_data_cache_size): Likewise.
51962         (__x86_64_data_cache_size_half): Likewise.
51963         (__x86_64_raw_data_cache_size_half): Likewise.
51964         (__x86_64_shared_cache_size): Likewise.
51965         (__x86_64_raw_shared_cache_size): Likewise.
51966         (__x86_64_shared_cache_size_half): Likewise.
51967         (__x86_64_raw_shared_cache_size_half): Likewise.
51968         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
51969         to ...
51970         (__x86_data_cache_size): This.
51971         (__x86_64_raw_data_cache_size): Renamed to ...
51972         (__x86_raw_data_cache_size): This.
51973         (__x86_64_data_cache_size_half): Renamed to ...
51974         (__x86_data_cache_size_half): This.
51975         (__x86_64_raw_data_cache_size_half): Renamed to ...
51976         (__x86_raw_data_cache_size_half): This.
51977         (__x86_64_shared_cache_size): Renamed to ...
51978         (__x86_shared_cache_size): This.
51979         (__x86_64_raw_shared_cache_size): Renamed to ...
51980         (__x86_raw_shared_cache_size): This.
51981         (__x86_64_shared_cache_size_half): Renamed to ...
51982         (__x86_shared_cache_size_half): This.
51983         (__x86_64_raw_shared_cache_size_half): Renamed to ...
51984         (__x86_raw_shared_cache_size_half): This.
51985         * sysdeps/x86_64/memcpy.S: Updated.
51986         * sysdeps/x86_64/memset.S: Likewise.
51987         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51988         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51989         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51991 2013-01-04  David S. Miller  <davem@davemloft.net>
51993         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51995 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
51997         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
51998         1 to avoid redefinition warning.
51999         (__USE_GNU): Don't define.
52000         (init_signaling_nan): Protoize.
52002         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52004 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52006         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
52007         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
52008         (__cpymn): Likewise.
52009         (norm): Remove commented code.
52010         (denorm): Likewise.
52011         (__mp_dbl): Likewise.
52012         (__inv): Likewise.
52013         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
52014         (__cpymn): Likewise.
52015         (norm): Remove commented code.
52016         (denorm): Likewise.
52017         (__mp_dbl): Likewise.
52018         (__inv): Likewise.
52020         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
52021         mp_no value for 1.0 and 2.0.
52022         (norm): Use RADIXI instead of radixi.d.
52023         (denorm): Likewise.
52024         (__mul): Use 0.0 instead of zero.d.
52025         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
52026         mp_no value for 1.0 and 2.0.
52027         (norm): Use RADIXI instead of radixi.d.
52028         (denorm): Likewise.
52029         (__mul): Use 0.0 instead of zero.d.
52031 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
52033         [BZ #14994]
52034         * math/s_casinh.c (__casinh): Reduce finite argument to first
52035         quadrant then set signs of results at the end.
52036         * math/s_casinhf.c (__casinhf): Likewise.
52037         * math/s_casinhl.c (__casinhl): Likewise.
52038         * math/libm-test.inc (casin_test): Add more tests.
52039         (casinh_test): Likewise.
52040         * sysdeps/i386/fpu/libm-test-ulps: Update.
52041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52043 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52045         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
52047         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
52049         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
52050         declarations.
52051         (denorm): Likewise.
52052         (__mp_dbl): Likewise.
52053         (__inv): Likewise.
52055         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
52056         and adjust the header comment.
52058         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
52059         variable name from declaration.
52061 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
52063         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52064         Initialize COMMON_CPUID_INDEX_7 element.
52065         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
52066         (CPUID_RTM): Likewise.
52067         (HAS_RTM): Likewise.
52068         (COMMON_CPUID_INDEX_7): New enum.
52070 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
52072         [BZ #14981]
52073         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
52074         size is zero, record memory as freed.
52076 2013-01-03  Andreas Jaeger  <aj@suse.de>
52078         * po/ia.po: Add new Interlingua translation.
52080 2012-01-03  Allan McRae  <allan@archlinux.org>
52082         * locale/programs/localedef.c: Fix description of '--posix' flag.
52084 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
52086         * NEWS: Update dates in second copyright notice.
52087         * README: Update copyright dates in example.
52088         * manual/libc.texinfo: Update copyright dates.
52089         * scripts/test-installation.pl: Update copyright date in --version
52090         output.
52092         * hurd/ctty-input.c: Fix copyright notice formatting.
52093         * hurd/ctty-output.c: Likewise.
52094         * hurd/dtable.c: Likewise.
52095         * hurd/hurd-raise.c: Likewise.
52096         * hurd/hurdprio.c: Likewise.
52097         * hurd/msgportdemux.c: Likewise.
52098         * misc/sys/file.h: Likewise.
52099         * misc/sys/ioctl.h: Likewise.
52100         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
52101         * sysdeps/mach/hurd/chdir.c: Likewise.
52102         * sysdeps/mach/hurd/fchdir.c: Likewise.
52103         * sysdeps/mach/hurd/rename.c: Likewise.
52104         * sysdeps/mach/hurd/rmdir.c: Likewise.
52105         * sysdeps/mach/hurd/seekdir.c: Likewise.
52106         * sysdeps/mach/hurd/setsid.c: Likewise.
52107         * sysdeps/posix/wait3.c: Likewise.
52109         * All files with FSF copyright notices: Update copyright dates
52110         using scripts/update-copyrights.
52111         * intl/plural.c: Regenerated.
52112         * locale/programs/charmap-kw.h: Likewise.
52113         * locale/programs/locfile-kw.h: Likewise.
52115 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52117         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
52118         four values.
52120         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
52121         calculation loop and add branch prediction.
52123         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
52124         check access beyond bounds of m1np.
52126         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52127         MPTWO.
52128         (__inv): Remove local variable MPTWO to use the global
52129         constant.
52130         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
52131         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52132         variable MPTWO.
52133         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
52134         MP3HALFS static const.
52136 2013-01-01  David S. Miller  <davem@davemloft.net>
52138         * po/ca.po: Update from translation team.
52140 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
52142         * scripts/update-copyrights: New file.
52143         * Makeconfig: Reformat copyright notice.
52144         * ctype/ctype.h: Likewise.
52145         * debug/swprintf_chk.c: Likewise.
52146         * elf/dl-cache.c: Likewise.
52147         * elf/dl-debug.c: Likewise.
52148         * elf/dl-object.c: Likewise.
52149         * grp/initgroups.c: Likewise.
52150         * hurd/Makefile: Likewise.
52151         * hurd/hurd/signal.h: Likewise.
52152         * hurd/hurdfault.c: Likewise.
52153         * hurd/hurdioctl.c: Likewise.
52154         * hurd/hurdlookup.c: Likewise.
52155         * hurd/intr-msg.c: Likewise.
52156         * iconv/gconv_open.c: Likewise.
52157         * libio/swprintf.c: Likewise.
52158         * locale/lc-ctype.c: Likewise.
52159         * locale/nl_langinfo.c: Likewise.
52160         * mach/Machrules: Likewise.
52161         * mach/Makefile: Likewise.
52162         * malloc/obstack.h: Likewise.
52163         * manual/Makefile: Likewise.
52164         * manual/tsort.awk: Likewise.
52165         * misc/bits/stab.def: Likewise.
52166         * nis/nis_print_group_entry.c: Likewise.
52167         * nis/nis_table.c: Likewise.
52168         * nis/nss_compat/compat-pwd.c: Likewise.
52169         * nis/nss_compat/compat-spwd.c: Likewise.
52170         * po/Makefile: Likewise.
52171         * posix/fnmatch.c: Likewise.
52172         * posix/regex.h: Likewise.
52173         * resolv/Makefile: Likewise.
52174         * resolv/nss_dns/dns-network.c: Likewise.
52175         * resolv/res_hconf.c: Likewise.
52176         * scripts/gen-sorted.awk: Likewise.
52177         * soft-fp/soft-fp.h: Likewise.
52178         * stdio-common/printf.h: Likewise.
52179         * stdlib/monetary.h: Likewise.
52180         * stdlib/random.c: Likewise.
52181         * stdlib/random_r.c: Likewise.
52182         * sysdeps/generic/Makefile: Likewise.
52183         * sysdeps/gnu/Makefile: Likewise.
52184         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52185         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52186         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52187         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52188         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52189         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52190         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52191         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52192         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52193         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52194         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52195         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52196         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52197         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52198         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
52199         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52200         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52201         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52202         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52203         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52204         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52205         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52206         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52207         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52208         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
52209         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52210         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52211         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
52212         * sysdeps/mach/hurd/errnos.awk: Likewise.
52213         * sysdeps/mach/hurd/fork.c: Likewise.
52214         * sysdeps/mach/hurd/getcwd.c: Likewise.
52215         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
52216         * sysdeps/mach/hurd/mmap.c: Likewise.
52217         * sysdeps/mach/hurd/utimes.c: Likewise.
52218         * sysdeps/mach/hurd/xmknod.c: Likewise.
52219         * sysdeps/posix/profil.c: Likewise.
52220         * sysdeps/posix/readdir_r.c: Likewise.
52221         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52222         * sysdeps/powerpc/bits/setjmp.h: Likewise.
52223         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
52224         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
52225         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52226         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52227         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52228         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52229         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52230         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52231         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52232         * sysdeps/pthread/lio_listio.c: Likewise.
52233         * sysdeps/sparc/dl-procinfo.h: Likewise.
52234         * sysdeps/unix/i386/sysdep.S: Likewise.
52235         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
52236         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
52237         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
52238         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
52239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52240         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
52241         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
52242         * sysdeps/unix/sysv/linux/speed.c: Likewise.
52243         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
52244         * sysdeps/wordsize-32/divdi3.c: Likewise.
52245         * time/sys/time.h: Likewise.
52246         * wcsmbs/Makefile: Likewise.
52248 2013-01-01  David S. Miller  <davem@davemloft.net>
52250         * po/fr.po: Update from translation team.
52252         * catgets/gencat.c: Update copyright year.
52253         * csu/version.c: Likewise.
52254         * debug/catchsegv.sh: Likewise.
52255         * debug/pcprofiledump.c: Likewise.
52256         * debug/xtrace.sh: Likewise.
52257         * elf/ldconfig.c: Likewise.
52258         * elf/ldd.bash.in: Likewise.
52259         * elf/pldd.c: Likewise.
52260         * elf/sotruss.ksh: Likewise.
52261         * elf/sprof.c: Likewise.
52262         * iconv/iconv_prog.c: Likewise.
52263         * iconv/iconvconfig.c: Likewise.
52264         * locale/programs/locale.c: Likewise.
52265         * locale/programs/localedef.c: Likewise.
52266         * login/programs/pt_chown.c: Likewise.
52267         * malloc/memusage.sh: Likewise.
52268         * malloc/memusagestat.c: Likewise.
52269         * malloc/mtrace.pl: Likewise.
52270         * nscd/nscd.c: Likewise.
52271         * nss/getent.c: Likewise.
52272         * nss/makedb.c: Likewise.
52273         * posix/getconf.c: Likewise.
52275 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52277         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
52278         numbers.
52280 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
52282         * math/bits/mathcalls.h (modf): Use __nonnull.
52284 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52286         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
52287         (split): Use macro CN instead of the bare value.
52288         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
52289         could be used.
52290         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
52291         instead of the bare value.
52292         (power1): Likewise.
52294 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52296         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
52297         __ATAN_TWOM.
52298         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52300         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
52301         their values.
52302         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
52303         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52304         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
52305         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
52307 2012-12-28  Andreas Jaeger  <aj@suse.de>
52309         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
52310         values are from Linux 3.7.
52312         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
52313         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
52315 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52317         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
52318         TRUE case.
52320         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
52321         (norm): Likewise.
52322         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
52323         variables with preprocessor constants.
52324         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52325         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52326         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52328 2012-12-27  Bruno Haible  <bruno@clisp.org>
52330         [BZ #14317]
52331         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
52332         only if needed.
52334 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52336         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
52337         and use variable directly.
52338         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
52340         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52341         MPONE.
52342         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
52343         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52344         variable MPONE.
52345         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52346         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52347         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
52348         include directive.  Remove local variable MPONE.
52349         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
52350         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
52351         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52353 2012-12-25  David S. Miller  <davem@davemloft.net>
52355         * version.h (RELEASE): Set to "development".
52356         (VERSION): Set to "2.17.90".
52357         * NEWS: Add 2.18 section.
52359 2012-12-21  David S. Miller  <davem@davemloft.net>
52361         * po/hr.po: Update from translation team.
52363 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52365         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
52367 2012-12-19  Steve Ellcey  <sellcey@mips.com>
52369         * NEWS:  Mention new memcpy for MIPS.
52371 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52373         * manual/contrib.texi (Contributors): Spelling correction.
52375 2012-12-15  David S. Miller  <davem@davemloft.net>
52377         * po/ru.po: Update from translation team.
52379 2012-12-13  David S. Miller  <davem@davemloft.net>
52381         * NEWS: Mention IFUNC testsuite enhancements.
52383         * po/pl.po: Update from translation team.
52384         * po/bg.po: Likewise.
52386         * manual/contrib.texi (Contributors): Update entries for Hongjiu
52387         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
52389 2012-12-11  David S. Miller  <davem@davemloft.net>
52391         * po/sv.po: Update from translation team.
52393         * po/vi.po: Update from translation team.
52395         * po/cs.po: Update from translation team.
52397         * po/de.po: Update from translation team.
52398         * po/eo.po: Likewise.
52399         * po/nl.po: Likewise.
52401 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52403         [BZ #14246]
52404         * manual/argp.texi (Argp Helper Functions): Move node to follow
52405         Argp Parsing State.
52407         [BZ #14872]
52408         * manual/conf.texi (Limits on File System Capacity): Mention if
52409         terminating null is included in the max size.
52411 2012-12-10  Andreas Jaeger  <aj@suse.de>
52413         * po/cs.po: Update from translation team.
52415 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52417         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
52418         void pointer and cast to uintptr_t.
52419         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
52420         path.
52421         * sysdeps/s390/s390-64/memcpy.S: Likewise.
52422         * sysdeps/s390/s390-64/memset.S: Likewise.
52424 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
52426         [BZ #14833]
52427         * menual/message.texi (Message Translation): Fix typos.
52428         (Helper programs for gettext): Likewise.
52430 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
52432         [BZ #14898]
52433         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
52434         Change to -1.
52436 2012-12-07  David S. Miller  <davem@davemloft.net>
52438         * po/libc.pot: Update.
52440 2012-12-07  Richard Henderson  <rth@redhat.com>
52442         [BZ #10114]
52443         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
52444         normal/normal case to before the switch.
52445         (_FP_DIV): Likewise.
52447 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
52448             Mike Frysinger  <vapier@gentoo.org>
52450         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
52451         check for __NR_fadvise64_64.
52453 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
52455         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
52456         0, not just to plain "0" as a statement.
52457         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
52458         with cw.
52460 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
52462         * NEWS: Use sourceware.org in Bugzilla URL.
52464 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
52467         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
52469         * stdio-common/tst-put-error.c (do_test): Add newline to the
52470         padded test to ensure flush.
52472 2012-12-05  Jeff Law  <law@redhat.com>
52474         * sunrpc/etc.rpc (fedfs_admin): Add entry.
52476 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
52478         * README: Don't refer to ports add-on as distributed separately.
52479         Mention AArch64 in list of systems supported in the ports add-on.
52481         * LICENSES: Add more non-FSF copyright and license notices.
52483         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
52484         ((unused)).
52486         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
52488         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
52489         10000 as width of padded output.
52491 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
52493         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
52495         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
52496         variable LX with __attribute__ ((unused)).
52497         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
52498         Likewise.
52499         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
52500         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52501         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
52502         with __attribute__ ((unused)).
52504 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
52506         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
52508 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
52510         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
52511         (CFLAGS-nldbl-acos.c): New variable.
52512         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
52513         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
52514         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
52515         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
52516         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
52517         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
52518         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
52519         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
52520         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
52521         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
52522         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
52523         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
52524         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
52525         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
52526         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
52527         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
52528         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
52529         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
52530         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
52531         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
52532         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
52533         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
52534         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
52535         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
52536         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
52537         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
52538         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
52539         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
52540         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
52541         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
52542         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
52543         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
52544         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
52545         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
52546         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
52547         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
52548         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
52549         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
52550         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
52551         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
52552         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
52553         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
52554         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
52555         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
52556         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
52557         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
52558         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
52559         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
52560         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
52561         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
52562         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
52563         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
52564         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
52565         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
52566         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
52567         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
52568         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
52569         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
52570         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
52571         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
52572         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
52573         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
52574         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
52575         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
52576         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
52577         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
52578         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
52579         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
52580         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
52581         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
52582         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
52583         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
52584         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
52585         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
52586         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
52587         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
52588         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
52589         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
52590         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
52591         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
52592         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
52593         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
52594         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
52595         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
52596         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
52597         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
52598         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
52599         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
52600         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
52601         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
52602         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
52603         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
52604         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
52605         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
52606         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
52607         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
52608         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
52610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52611         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
52613         [BZ #14914]
52614         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
52615         whole low double instead of just low 47 bits when splitting values
52616         into two parts.
52618 2012-12-03  Allan McRae  <allan@archlinux.org>
52620         * manual/stdio.texi (Predefined Printf Handlers): Remove
52621         @hsep and @vsep usage.
52623 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
52625         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
52626         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
52628 2012-12-03  Jeff Law  <law@redhat.com>
52630         * time/sys/time.h (settimeofday): Do not mark TV argument
52631         as __nonnull.
52633 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
52635         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
52636         when currently writing and seek to current position when not.
52637         * libio/Makefile (tests): Remove bug-fclose1.
52638         * libio/bug-fclose1.c: Delete.
52640 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
52642         * manual/arith.texi (feenableexcept): Fix typo.
52643         (fedisableexcept): Likewise.
52645 2012-11-30  Roland McGrath  <roland@hack.frob.com>
52647         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
52648         second, differently-typed declaration, rather than a cast.
52650 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52652         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
52653         * include/rpc/svc.h: ... here.
52655 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
52657         [BZ #13013]
52658         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
52659         depending n and resplen2 to catch cases where answer
52660         equals answerp2.
52662 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
52664         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
52665         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
52667 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
52669         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
52671 2012-11-29  Roland McGrath  <roland@hack.frob.com>
52673         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
52675 2012-11-28  Jeff Law  <law@redhat.com>
52677         [BZ #13761]
52678         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
52679         dataset_temporary.  Track alloca usage into alloca_used.
52680         If dataset is large allocate and release it via malloc/free.
52682 2012-06-04  Florian Weimer  <fweimer@redhat.com>
52684         [BZ #14197]
52685         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
52687 2012-11-28  David S. Miller  <davem@davemloft.net>
52689         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52691 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
52693         [BZ #14803]
52694         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
52695         of pi/2 rounded to nearest to 64 bits.
52696         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
52697         nearest to 64 bits.
52698         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
52699         bits.
52701 2012-11-28  Jeff Law <law@redhat.com>
52702             Martin Osvald <mosvald@redhat.com>
52704         [BZ #14889]
52705         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
52706         * sunrpc/svc.c: Include time.h.
52707         (__svc_accept_failed): New function.
52708         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
52709         any reason other than EINTR, call __svc_accept_failed.
52710         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
52711         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
52713 2012-11-28  Andreas Schwab  <schwab@suse.de>
52715         * scripts/abilist.awk: Also handle indirect functions in .opd
52716         section.
52718 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
52720         [BZ #13881]
52721         * sysdeps/x86/fpu/powl_helper.c: New file.
52722         * sysdeps/x86/fpu/Makefile: Likewise.
52723         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
52724         (p3): New object.
52725         (__ieee754_powl): Use __powl_helper for finite arguments except
52726         integer exponents below 8.
52727         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
52728         (p3): New object.
52729         (__ieee754_powl): Use __powl_helper for finite arguments except
52730         integer exponents below 8.
52731         * math/libm-test.inc (pow_test): Add more tests and enable some
52732         previously disabled tests.
52733         * sysdeps/i386/fpu/libm-test-ulps: Update.
52734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52736 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52737             Carlos O'Donell  <carlos_odonell@mentor.com>
52739         * nss/makedb.c (is_prime): Assert that input is odd and greater
52740         than 4.  Note that fact in a comment too.
52741         (next_prime): Add 4 to input.
52743 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52745         [BZ #11741]
52746         * libio/Makefile (tests): Add test case tst-fwrite-error.
52747         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
52748         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
52749         * libio/tst-fwrite-error.c: New test case.
52751 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
52753         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
52754         before casting to void *.
52755         * include/libc-internal.h (__pointer_type): New macro.
52756         (__integer_if_pointer_type_sub): Likewise.
52757         (__integer_if_pointer_type): Likewise.
52758         (cast_to_integer): Likewise.
52759         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
52760         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
52761         before casting to atomic64_t.
52762         (atomic_exchange_acq): Likewise.
52763         (__arch_exchange_and_add_body): Likewise.
52764         (__arch_add_body): Likewise.
52765         (atomic_add_negative): Likewise.
52766         (atomic_add_zero): Likewise.
52768 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
52770         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
52771         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
52772         (add_fdes): Likewise.
52773         (linear_search_fdes): Likewise.
52774         (binary_search_unencoded_fdes): Likewise.
52776 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
52778         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
52780 2012-11-24  Adam Conrad  <adconrad@0c3.net>
52782         * configure.in: Autodetect C++ header directories.
52783         * configure: Regenerated.
52785 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
52787         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
52789 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
52791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52793 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
52795         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
52796         LDBL_MANT_DIG == 106]: Disable some tests.
52797         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52798         Likewise.
52799         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52800         Likewise.
52802         [BZ #14871]
52803         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
52804         input for small inputs.  Return +/- pi/2 for large inputs.
52805         * math/libm-test.inc (atan_test): Add more tests.
52807         * sysdeps/generic/unwind-dw2-fde-glibc.c
52808         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
52809         __attribute__ ((unused)).
52811         [BZ #14645]
52812         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
52813         x * y if x and y are nonzero and z is zero.
52815         [BZ #14811]
52816         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
52817         nonzero exponents with absolute value below 0x1p-117 to +/-
52818         0x1p-117.
52820         [BZ #14869]
52821         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
52822         up arguments below 2**-450, not just those below 2**-500.
52823         * math/libm-test.inc (hypot_test): Add another test.
52825         [BZ #14868]
52826         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
52827         Return a+b for ratio over 2**120, not 2**60.
52828         * math/libm-test.inc (hypot_test): Add another test.
52830         * math/libm-test.inc (clog_test): Use
52831         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
52832         (clog10_test): Likewise.
52834         [BZ #6778]
52835         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
52837 2012-11-22  Andreas Schwab  <schwab@suse.de>
52839         * sysdeps/i386/fpu/libm-test-ulps: Update.
52841 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
52843         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
52844         printf output with newline.
52846 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
52848         [BZ #14865]
52849         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
52850         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
52851         -z nodlopen, -z initfirst and -z execstack support.
52852         * configure: Regenerated.
52854         * elf/elf.h (DF_1_NODIRECT): New macro.
52855         (DF_1_IGNMULDEF): Likewise.
52856         (DF_1_NOKSYMS): Likewise.
52857         (DF_1_NOHDR): Likewise.
52858         (DF_1_EDITED): Likewise.
52859         (DF_1_NORELOC): Likewise.
52860         (DF_1_SYMINTPOSE): Likewise.
52861         (DF_1_GLOBAUDIT): Likewise.
52862         (DF_1_SINGLETON): Likewise.
52863         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
52864         DT_1_SUPPORTED_MASK bits.
52865         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
52867 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
52869         * sysdeps/unix/make-syscalls.sh: Document prefixes.
52871 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
52873         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
52874         macro.
52876         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
52877         (sendmmsg): Move declarations...
52878         * socket/sys/socket.h: ... here.
52879         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
52880         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
52881         include it from...
52882         * socket/recvmmsg.c: ... this new file.
52883         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
52884         (sendmmsg): Rename to __sendmmsg, create weak alias and make
52885         definition of __sendmmsg hidden.
52886         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
52887         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
52888         Move ENOSYS stub into and include it from...
52889         * socket/sendmmsg.c: ... this new file.
52890         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
52891         (sysdep_routines): Move recvmmsg and sendmmsg...
52892         * socket/Makefile (routines): ... here.
52893         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
52894         (GLIBC_PRIVATE): Add __sendmmsg.
52895         * include/sys/socket.h (__sendmmsg): Add declarations.
52896         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
52897         sendmmsg.
52899 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
52901         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
52902         variable I1 with __attribute__ ((unused)).
52903         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52905 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
52907         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
52908         DUMMY variables with __attribute__ ((unused)).
52910         * bits/byteswap.h: Include <bits/types.h>.
52911         (__bswap_64): Use __uint64_t instead of unsigned long long int.
52913 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
52915         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
52916         string_t.  Do not manually set errno.
52917         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
52918         length with __strnlen.  Make sure to both set errno and return it on
52919         failure.
52921 2012-11-19  David S. Miller  <davem@davemloft.net>
52923         With help from Joseph Myers.
52924         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
52925         very large arguments properly.
52926         * math/libm-test.inc (atan_test): New tests.
52927         (atan2_test): New tests.
52928         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52929         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52931 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
52933         [BZ #14856]
52934         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
52935         Define to 3.
52937         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
52938         [POSIX] (EADDRNOTAVAIL): Likewise.
52939         [POSIX] (EAFNOSUPPORT): Likewise.
52940         [POSIX] (EALREADY): Likewise.
52941         [POSIX] (ECONNABORTED): Likewise.
52942         [POSIX] (ECONNREFUSED): Likewise.
52943         [POSIX] (ECONNRESET): Likewise.
52944         [POSIX] (EDESTADDRREQ): Likewise.
52945         [POSIX] (EDQUOT): Likewise.
52946         [POSIX] (EHOSTUNREACH): Likewise.
52947         [POSIX] (EIDRM): Likewise.
52948         [POSIX] (EISCONN): Likewise.
52949         [POSIX] (ELOOP): Likewise.
52950         [POSIX] (EMULTIHOP): Likewise.
52951         [POSIX] (ENETDOWN): Likewise.
52952         [POSIX] (ENETUNREACH): Likewise.
52953         [POSIX] (ENOBUFS): Likewise.
52954         [POSIX] (ENODATA): Likewise.
52955         [POSIX] (ENOLINK): Likewise.
52956         [POSIX] (ENOMSG): Likewise.
52957         [POSIX] (ENOPROTOOPT): Likewise.
52958         [POSIX] (ENOSR): Likewise.
52959         [POSIX] (ENOSTR): Likewise.
52960         [POSIX] (ENOTCONN): Likewise.
52961         [POSIX] (ENOTSOCK): Likewise.
52962         [POSIX] (EOPNOTSUPP): Likewise.
52963         [POSIX] (EOVERFLOW): Likewise.
52964         [POSIX] (EPROTO): Likewise.
52965         [POSIX] (EPROTONOSUPPORT): Likewise.
52966         [POSIX] (EPROTOTYPE): Likewise.
52967         [POSIX] (ESTALE): Likewise.
52968         [POSIX] (ETIME): Likewise.
52969         [POSIX] (ETXTBSY): Likewise.
52970         [POSIX] (EWOULDBLOCK): Likewise.
52971         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
52972         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
52973         [POSIX] (SEEK_CUR): Likewise.
52974         [POSIX] (SEEK_END): Likewise.
52975         [POSIX || UNIX98] (mode_t): Do not require.
52976         [POSIX] (off_t): Likewise.
52977         [POSIX] (pid_t): Likewise.
52978         [POSIX] (sys/stat.h): Do not allow header.
52979         [POSIX] (unistd.h): Likewise.
52980         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
52981         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
52982         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
52983         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
52984         require.
52985         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
52986         sigevent): Specify elements.
52987         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
52988         entry.
52989         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
52990         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
52992         * conform/data/cpio.h-data [POSIX]: Disable whole file.
52993         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
52994         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
52995         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
52996         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
52997         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
52998         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
52999         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
53000         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
53001         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
53002         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
53003         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
53004         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
53005         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
53006         Likewise.
53007         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
53008         Likewise.
53009         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
53010         Likewise.
53011         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
53012         Likewise.
53013         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
53014         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
53015         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
53016         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
53017         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
53018         Specify lower bound on value.
53019         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
53020         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
53021         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
53022         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
53023         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
53024         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
53025         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
53026         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
53027         value.
53028         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
53029         as optional.
53030         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
53031         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
53032         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
53033         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
53034         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
53035         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
53036         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
53037         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
53038         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
53039         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
53040         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
53041         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
53042         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
53043         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
53044         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
53045         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
53046         entry.
53047         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
53048         optional.
53049         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
53050         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
53051         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
53052         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
53053         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
53054         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
53055         Likewise.
53056         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
53057         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
53058         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
53059         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
53060         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
53061         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
53062         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
53063         as optional.
53064         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
53065         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
53066         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
53067         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
53068         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
53069         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
53070         specify as optional.
53071         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
53072         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
53073         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
53074         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
53075         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
53076         [XPG3] (NL_LANGMAX): Likewise.
53077         [POSIX || XPG3] (NL_MSGMAX): Likewise.
53078         [POSIX || XPG3] (NL_NMAX): Likewise.
53079         [POSIX || XPG3] (NL_SETMAX): Likewise.
53080         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
53081         [XPG3] (NZERO): Likewise.
53082         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
53083         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
53084         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
53085         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
53086         (REG_ERANGE): Expect.
53087         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
53088         optional-constant.
53089         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
53090         Use (void) in prototype.
53091         [POSIX] (*_t): Allow.
53092         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
53093         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
53094         (WRDE_BADVAL): Expect.
53096         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
53097         expect.
53098         [XPG3 || XPG4] (O_RSYNC): Likewise.
53099         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
53100         Likewise.
53101         [XPG3 || XPG4] (pthread_sigmask): Likewise.
53102         [XPG3 || XPG4] (sigqueue): Likewise.
53103         [XPG3 || XPG4] (sigtimedwait): Likewise.
53104         [XPG3 || XPG4] (sigwaitinfo): Likewise.
53105         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
53106         [XPG3 || XPG4] (vsnprintf): Likewise.
53107         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
53108         Likewise.
53109         [XPG3 || XPG4] (blksize_t): Likewise.
53110         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
53111         Likewise.
53112         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
53113         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
53114         [XPG3 || XPG4] (struct itimerspec): Likewise.
53115         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
53116         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
53117         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
53118         [XPG3 || XPG4] (clockid_t): Likewise.
53119         [XPG3 || XPG4] (timer_t): Likewise.
53120         [XPG3 || XPG4] (clock_getres): Likewise.
53121         [XPG3 || XPG4] (clock_gettime): Likewise.
53122         [XPG3 || XPG4] (clock_settime): Likewise.
53123         [XPG3 || XPG4] (nanosleep): Likewise.
53124         [XPG3 || XPG4] (timer_create): Likewise.
53125         [XPG3 || XPG4] (timer_delete): Likewise.
53126         [XPG3 || XPG4] (timer_gettime): Likewise.
53127         [XPG3 || XPG4] (timer_getoverrun): Likewise.
53128         [XPG3 || XPG4] (timer_settime): Likewise.
53129         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
53130         [XPG3 || XPG4] (getlogin_r): Likewise.
53131         [XPG3 || XPG4] (pread): Likewise.
53132         [XPG3 || XPG4] (pthread_atfork): Likewise.
53133         [XPG3 || XPG4] (pwrite): Likewise.
53135         [BZ #14835]
53136         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
53137         <bits/siginfo.h>.
53139 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53141         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
53142         finalizing MALLSTREAM.
53144         * sysdeps/mach/hurd/syncfs.c: New file.
53146 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53148         [BZ #14719]
53149         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
53150         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
53151         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
53152         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
53153         (_nss_dns_gethostbyname4_r): Likewise.
53154         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
53155         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
53157 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
53159         [BZ #13763]
53160         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
53162 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
53164         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
53165         * elf/cache.c (print_entry): Print ",AArch64" for
53166         FLAG_AARCH64_LIB64
53168         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
53169         * elf/cache.c (print_entry): Print ",hard-float" for
53170         FLAG_ARM_LIBHF.
53172 2012-11-18  David S. Miller  <davem@davemloft.net>
53174         With help from Joseph Myers.
53175         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
53176         cutoff to 2**-13.
53177         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
53178         cutoff to 2**-25.
53179         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
53180         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
53181         small.
53182         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
53183         * math/libm-test.inc (y0_test): New tests.
53184         (y1_test): New tests.
53185         * sysdeps/i386/fpu/libm-test-ulps: Update.
53186         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53189 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
53191         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
53192         64-bit targets.
53193         * configure: Regenerated.
53195 2012-11-17  David S. Miller  <davem@davemloft.net>
53197         [BZ #14811]
53198         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
53199         nonzero exponents with absolute value below 0x1p-128 to +/-
53200         0x1p-128.
53202 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
53204         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
53206         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
53208         * posix/getconf-speclist.c: New file.
53209         * posix/posix-envs.def: Likewise.
53210         * posix/confstr.c (START_ENV_GROUP): New macro.
53211         (END_ENV_GROUP): Likewise.
53212         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53213         (KNOWN_PRESENT_ENV_STRING): Likewise.
53214         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53215         (UNKNOWN_ENVIRONMENT): Likewise.
53216         (confstr): Include posix-envs.def instead of handling
53217         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
53218         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
53219         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
53220         (END_ENV_GROUP): Likewise.
53221         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53222         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53223         (UNKNOWN_ENVIRONMENT): Likewise.
53224         (__sysconf): Include posix-envs.def instead of handling associated
53225         cases directly here.
53226         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
53227         preprocessing getconf-speclist.c rather than running getconf or
53228         generating empty file.
53230 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
53232         * scripts/check-local-headers.sh: Ignore 'mach' headers.
53234 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
53236         [BZ #14672]
53237         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
53239 2012-11-16  David S. Miller  <davem@davemloft.net>
53241         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
53242         smaller than LDBL_EPSILON/2.0L, just return xm1.
53244 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
53246         * elf/tst-array1.c (init): Set constructor priority to 1000.
53247         (fini): Set destructor priority to 1000.
53248         * elf/tst-array2dep.c: Likewise.
53250 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53252         [BZ #11741]
53253         * libio/fileops.c (_IO_new_file_write): Correctly return error.
53254         (_IO_new_file_xsputn): Also return EOF if none of the input
53255         data was written when overflow failed.
53256         * libio/iopadn.c (_IO_padn): Likewise.
53257         * libio/iowpadn.c (_IO_wpadn): Likewise.
53258         * stdio-common/tst-put-error.c: Add copyright notice.
53259         (do_test): Add case for printing padded string.
53260         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
53261         _IO_padn returned error.
53262         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
53263         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
53264         return EOF.
53266 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53268         * libio/libioP.h: Add comment note that the references to C++
53269         bits are now obsolete.
53271 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53273         * math/libm-test.inc (check_complex): Use asprintf.
53275 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
53277         * debug/pcprofiledump.c (print_version): Update copyright year.
53278         * malloc/memusagestat.c (print_version): Likewise.
53280 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
53282         [BZ #14831]
53283         * elf/Makefile (tests): Add tst-audit8.
53284         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
53285         ($(objpfx)tst-audit8.out): New target.
53286         (tst-audit8-ENV): New variable.
53287         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
53288         audit if l_reloc_result is NULL.
53289         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
53290         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
53291         * elf/tst-audit8.c: New file.
53293 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53295         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
53296         * misc/Makefile (CFLAGS-select.c): Define.
53297         * posix/Makefile (CFLAGS-pause.c): Define.
53299 2012-11-13  David S. Miller  <davem@davemloft.net>
53301         * crypt/Makefile: Move test targets after toplevel Rules
53302         inclusion.  Grab any necessary sysdep routines when linking.
53303         * crypt/md5.c (md5_process_block): Remove define, we will always
53304         name it __md5_process_block.
53305         (md5_finish_ctx): Update md5_process_block call.
53306         (md5_stream): Likewise.
53307         (md5_process_bytes): Likewise.
53308         (md5_process_block): Rename to __md5_process_block and move to ...
53309         * crypt/md5-block.c: ... here.
53310         * crypt/sha256.c (sha256_process_block): Move to ...
53311         * crypt/sha256-block.c: ... here.
53312         * crypt/sha512.c (sha512_process_block): Move to ...
53313         * crypt/sha512-block.c: ... here.
53314         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
53315         path.
53316         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
53317         * sysdeps/sparc/sparc64/multiarch/Makefile
53318         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
53319         crypt subdir.
53320         (localedef-aux): Add md5 crypto assembler when in locale subdir.
53321         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
53322         multiarch changes.
53323         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
53324         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
53325         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
53326         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
53327         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
53328         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
53329         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
53330         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
53331         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
53332         file.
53333         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
53334         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
53335         file.
53336         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
53338 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
53340         * timezone/tzselect.ksh: Update from tzcode git revision
53341         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
53342         * timezone/zdump.c: Likewise.
53343         * timezone/zic.c: Likewise.
53344         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
53345         in TZVERSION setting, not $(PKGVERSION).
53346         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
53347         REPORT_BUGS_TO settings.
53349         [BZ #14838]
53350         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
53351         macro.
53353 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53355         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
53356         detection to immediately after _FP_ROUND().
53357         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
53358         bits are 0.
53360 2012-11-11  David S. Miller  <davem@davemloft.net>
53362         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
53363         inttypes.h
53364         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
53365         __close rather than their public counterparts.
53367 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
53369         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
53370         file.
53371         [UNIX98] (sem_timedwait): Do not expect.
53372         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
53373         [XPG4 || UNIX98] (sockatmark): Do not expect.
53374         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
53375         (clock_getcpuclockid): Do not expect.
53376         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
53377         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
53378         Do not expect.
53379         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
53380         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
53381         [UNIX98] (vwscanf): Likewise.
53382         [UNIX98] (vswscanf): Likewise.
53384 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
53386         * timezone/version.h: Remove file.
53387         * timezone/README: Do not refer to version.h.
53388         * timezone/Makefile ($(objpfx)zic.o): New dependency on
53389         $(objpfx)version.h.
53390         ($(objpfx)zdump.o): Likewise.
53391         ($(objpfx)version.h): New target.
53393         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
53394         2012i.
53395         * timezone/README: Don't mention modification to tzselect.ksh.
53396         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
53397         work on unmodified tzselect.ksh.  Substitute version numbers in
53398         tzselect.ksh.
53400         * Makefile (format-me): Remove.
53401         (INSTALL): Adjust indentation.  Use commands directly instead of
53402         using $(format-me).
53404         * aclocal.m4 (ACX_PKGVERSION): New macro.
53405         (ACX_BUGURL): Likewise.
53406         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
53407         (PKGVERSION): New AC_DEFINE_UNQUOTED.
53408         (REPORT_BUGS_TO): Likewise.
53409         * configure: Regenerated.
53410         * config.h.in (PKGVERSION): New macro.
53411         (REPORT_BUGS_TO): Likewise.
53412         * config.make.in (PKGVERSION): New variable.
53413         (PKGVERSION_TEXI): Likewise.
53414         (REPORT_BUGS_TO): Likewise.
53415         (REPORT_BUGS_TEXI): Likewise.
53416         * Makefile (format-me): Use -I$(common-objpfx)manual.
53417         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
53418         ($(common-objpfx)manual/%): New target.
53419         (manual/%): Remove target.
53420         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
53421         (print_version): Use PKGVERSION.
53422         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
53423         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
53424         and REPORT_BUGS_TO.
53425         ($(objpfx)xtrace): Likewise.
53426         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
53427         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
53428         (print_version): Use PKGVERSION.
53429         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
53430         (do_version): Use PKGVERSION.
53431         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
53432         REPORT_BUGS_TO.
53433         (common-ldd-rewrite): Likewise.
53434         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
53435         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
53436         (print_version): Use PKGVERSION.
53437         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
53438         * elf/pldd.c (argp_program_bug_address): Remove variable.
53439         (more_help): New function.
53440         (argp): Use more_help.
53441         (print_version): Use PKGVERSION.
53442         * elf/sln.c (main): Use PKGVERSION.
53443         (usage): Use REPORT_BUGS_TO.
53444         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
53445         (top level): Use PKGVERSION.
53446         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
53447         (print_version): Use PKGVERSION.
53448         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
53449         (print_version): Use PKGVERSION.
53450         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
53451         (print_version): Use PKGVERSION.
53452         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
53453         (print_version): Use PKGVERSION.
53454         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
53455         (print_version): Use PKGVERSION.
53456         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
53457         (print_version): Use PKGVERSION.
53458         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
53459         and BUGURL.
53460         ($(objpfx)memusage): Likewise.
53461         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
53462         (do_version): Use PKGVERSION.
53463         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
53464         (print_version): Use PKGVERSION.
53465         * malloc/mtrace.pl ($PACKAGE): Remove variable.
53466         ($PKGVERSION): New variable.
53467         ($REPORT_BUGS_TO): Likewise.
53468         (usage): Use $REPORT_BUGS_TO.
53469         (top level): Use $PKGVERSION.
53470         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
53471         ($(objpfx)pkgvers.texi): New rule.
53472         ($(objpfx)stamp-pkgvers): Likewise.
53473         * manual/install.texi: Include pkgvers.texi.
53474         (--with-pkgversion): Document new configure option.
53475         (--with-bugurl): Likewise.
53476         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
53477         than necessarily for this particular distribution.  Use
53478         REPORT_BUGS_TO for where to report bugs.
53479         * INSTALL: Regenerated.
53480         * manual/libc.texinfo: Include pkgvers.texi.
53481         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
53482         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
53483         (print_version): Use PKGVERSION.
53484         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
53485         (print_version): Use PKGVERSION.
53486         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
53487         (print_version): Use PKGVERSION.
53488         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
53489         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
53490         macro.
53491         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
53492         (print_version): Use PKGVERSION.
53493         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
53494         (print_version): Use PKGVERSION.
53495         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
53496         and PKGVERSION.
53498         * timezone/checktab.awk: Update from tzcode 2012i.
53499         * timezone/ialloc.c: Likewise.
53500         * timezone/private.h: Likewise.
53501         * timezone/scheck.c: Likewise.
53502         * timezone/tzfile.h: Likewise.
53503         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
53504         (TZVERSION): Hardcode tzcode version number.
53505         * timezone/zdump.c: Update from tzcode 2012i.
53506         * timezone/zic.c: Likewise.
53507         * timezone/version.h: New file.
53508         * timezone/README: Describe version.h.  Update upstream location.
53510         [BZ #14824]
53511         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
53512         (mktemp): Enable declaration.
53513         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
53514         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
53515         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
53516         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
53517         Likewise.
53518         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
53519         Likewise.
53520         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
53521         Likewise.
53522         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
53523         Likewise.
53524         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
53525         Likewise.
53526         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
53527         Likewise.
53529         [BZ #14821]
53530         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
53531         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
53532         for copies of such integer values.
53533         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53534         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53536 2012-11-09  Andreas Jaeger  <aj@suse.de>
53538         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
53539         definitions and declarations that are provided by
53540         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
53542 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53544         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
53545         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
53546         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
53547         definition.
53549 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53551         * elf/elf.h: Update comment before AArch64 relocations.
53553 2012-11-07  David S. Miller  <davem@davemloft.net>
53555         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
53556         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53557         (__start_context): Declare.
53558         (__makecontext_ret): Delete.
53559         (__makecontext): Hook up __start_context instead of
53560         __makecontext_ret.
53561         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
53562         (sysdep_routines): Add __start_context when in stdlib.
53564 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53566         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
53567         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
53568         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
53569         hardcoded "nm".
53570         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
53571         (READELF): New variable.  Use it instead of hardcoded "readelf".
53573 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53575         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
53576         * sysdeps/x86/Makefile: Here.
53577         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
53578         * sysdeps/x86/tst-xmmymm.sh: This.
53580 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53582         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
53583         expectations.
53584         [UNIX98] (pthread_barrier_t): Do not expect.
53585         [UNIX98] (pthread_barrierattr_t): Likewise.
53586         [UNIX98] (pthread_spinlock_t): Likewise.
53587         [UNIX98] (pthread_barrier_destroy): Likewise.
53588         [UNIX98] (pthread_barrier_init): Likewise.
53589         [UNIX98] (pthread_barrier_wait): Likewise.
53590         [UNIX98] (pthread_barrierattr_destroy): Likewise.
53591         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
53592         [UNIX98] (pthread_barrierattr_init): Likewise.
53593         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
53594         [UNIX98] (pthread_getcpuclockid): Likewise.
53595         [UNIX98] (pthread_mutex_timedlock): Likewise.
53596         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
53597         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
53598         [UNIX98] (pthread_sigmask): Likewise.
53599         [UNIX98] (pthread_spin_destroy): Likewise.
53600         [UNIX98] (pthread_spin_init): Likewise.
53601         [UNIX98] (pthread_spin_lock): Likewise.
53602         [UNIX98] (pthread_spin_trylock): Likewise.
53603         [UNIX98] (pthread_spin_unlock): Likewise.
53604         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
53605         Do not expect.
53606         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
53607         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
53608         [XPG3 || XPG4] (pthread_cond_t): Likewise.
53609         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
53610         [XPG3 || XPG4] (pthread_key_t): Likewise.
53611         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
53612         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
53613         [XPG3 || XPG4] (pthread_once_t): Likewise.
53614         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
53615         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
53616         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
53617         [XPG3 || XPG4] (pthread_t): Likewise.
53619         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
53620         not expect.
53621         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
53623         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
53624         Change function return type to int.
53626         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
53627         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
53628         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
53629         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
53630         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
53631         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
53632         [!POSIX] (posix_madvise): Likewise.
53633         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
53634         && !UNIX98].
53635         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
53636         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
53637         (mode_t): Likewise.
53638         (posix_mem_offset): Likewise.
53639         (posix_typed_mem_get_info): Likewise.
53640         (posix_typed_mem_open): Likewise.
53642         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
53643         Change condition to [XOPEN2K8].
53645         * conform/conformtest.pl: Preprocess allow-header data with -x c
53646         instead of from stdin.
53647         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
53648         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
53649         [C99-based standards] (cerfc): Likewise.
53650         [C99-based standards] (cexp2): Likewise.
53651         [C99-based standards] (cexpm1): Likewise.
53652         [C99-based standards] (clog10): Likewise.
53653         [C99-based standards] (clog1p): Likewise.
53654         [C99-based standards] (clog2): Likewise.
53655         [C99-based standards] (clgamma): Likewise.
53656         [C99-based standards] (ctgamma): Likewise.
53657         [C99-based standards] (cerff): Likewise.
53658         [C99-based standards] (cerfcf): Likewise.
53659         [C99-based standards] (cexp2f): Likewise.
53660         [C99-based standards] (cexpm1f): Likewise.
53661         [C99-based standards] (clog10f): Likewise.
53662         [C99-based standards] (clog1pf): Likewise.
53663         [C99-based standards] (clog2f): Likewise.
53664         [C99-based standards] (clgammaf): Likewise.
53665         [C99-based standards] (ctgammaf): Likewise.
53666         [C99-based standards] (cerfl): Likewise.
53667         [C99-based standards] (cerfcl): Likewise.
53668         [C99-based standards] (cexp2l): Likewise.
53669         [C99-based standards] (cexpm1l): Likewise.
53670         [C99-based standards] (clog10l): Likewise.
53671         [C99-based standards] (clog1pl): Likewise.
53672         [C99-based standards] (clog2l): Likewise.
53673         [C99-based standards] (clgammal): Likewise.
53674         [C99-based standards] (ctgammal): Likewise.
53675         * conform/data/inttypes.h-data [C99-based standards]: Include
53676         stdint.h-data.  Remove all expectations for stdint.h contents.
53677         [C99-based standards] (PRI*): Do not allow.
53678         [C99-based standards] (SCN*): Likewise.
53679         [C99-based standards] (*_t): Likewise.
53680         [C99-based-standards] (PRId8): Expect macro.
53681         [C99-based-standards] (PRIi8): Likewise.
53682         [C99-based-standards] (PRIo8): Likewise.
53683         [C99-based-standards] (PRIu8): Likewise.
53684         [C99-based-standards] (PRIx8): Likewise.
53685         [C99-based-standards] (PRIX8): Likewise.
53686         [C99-based-standards] (SCNd8): Likewise.
53687         [C99-based-standards] (SCNi8): Likewise.
53688         [C99-based-standards] (SCNo8): Likewise.
53689         [C99-based-standards] (SCNu8): Likewise.
53690         [C99-based-standards] (SCNx8): Likewise.
53691         [C99-based-standards] (PRIdLEAST8): Likewise.
53692         [C99-based-standards] (PRIiLEAST8): Likewise.
53693         [C99-based-standards] (PRIoLEAST8): Likewise.
53694         [C99-based-standards] (PRIuLEAST8): Likewise.
53695         [C99-based-standards] (PRIxLEAST8): Likewise.
53696         [C99-based-standards] (PRIXLEAST8): Likewise.
53697         [C99-based-standards] (SCNdLEAST8): Likewise.
53698         [C99-based-standards] (SCNiLEAST8): Likewise.
53699         [C99-based-standards] (SCNoLEAST8): Likewise.
53700         [C99-based-standards] (SCNuLEAST8): Likewise.
53701         [C99-based-standards] (SCNxLEAST8): Likewise.
53702         [C99-based-standards] (PRIdFAST8): Likewise.
53703         [C99-based-standards] (PRIiFAST8): Likewise.
53704         [C99-based-standards] (PRIoFAST8): Likewise.
53705         [C99-based-standards] (PRIuFAST8): Likewise.
53706         [C99-based-standards] (PRIxFAST8): Likewise.
53707         [C99-based-standards] (PRIXFAST8): Likewise.
53708         [C99-based-standards] (SCNdFAST8): Likewise.
53709         [C99-based-standards] (SCNiFAST8): Likewise.
53710         [C99-based-standards] (SCNoFAST8): Likewise.
53711         [C99-based-standards] (SCNuFAST8): Likewise.
53712         [C99-based-standards] (SCNxFAST8): Likewise.
53713         [C99-based-standards] (PRId16): Likewise.
53714         [C99-based-standards] (PRIi16): Likewise.
53715         [C99-based-standards] (PRIo16): Likewise.
53716         [C99-based-standards] (PRIu16): Likewise.
53717         [C99-based-standards] (PRIx16): Likewise.
53718         [C99-based-standards] (PRIX16): Likewise.
53719         [C99-based-standards] (SCNd16): Likewise.
53720         [C99-based-standards] (SCNi16): Likewise.
53721         [C99-based-standards] (SCNo16): Likewise.
53722         [C99-based-standards] (SCNu16): Likewise.
53723         [C99-based-standards] (SCNx16): Likewise.
53724         [C99-based-standards] (PRIdLEAST16): Likewise.
53725         [C99-based-standards] (PRIiLEAST16): Likewise.
53726         [C99-based-standards] (PRIoLEAST16): Likewise.
53727         [C99-based-standards] (PRIuLEAST16): Likewise.
53728         [C99-based-standards] (PRIxLEAST16): Likewise.
53729         [C99-based-standards] (PRIXLEAST16): Likewise.
53730         [C99-based-standards] (SCNdLEAST16): Likewise.
53731         [C99-based-standards] (SCNiLEAST16): Likewise.
53732         [C99-based-standards] (SCNoLEAST16): Likewise.
53733         [C99-based-standards] (SCNuLEAST16): Likewise.
53734         [C99-based-standards] (SCNxLEAST16): Likewise.
53735         [C99-based-standards] (PRIdFAST16): Likewise.
53736         [C99-based-standards] (PRIiFAST16): Likewise.
53737         [C99-based-standards] (PRIoFAST16): Likewise.
53738         [C99-based-standards] (PRIuFAST16): Likewise.
53739         [C99-based-standards] (PRIxFAST16): Likewise.
53740         [C99-based-standards] (PRIXFAST16): Likewise.
53741         [C99-based-standards] (SCNdFAST16): Likewise.
53742         [C99-based-standards] (SCNiFAST16): Likewise.
53743         [C99-based-standards] (SCNoFAST16): Likewise.
53744         [C99-based-standards] (SCNuFAST16): Likewise.
53745         [C99-based-standards] (SCNxFAST16): Likewise.
53746         [C99-based-standards] (PRId32): Likewise.
53747         [C99-based-standards] (PRIi32): Likewise.
53748         [C99-based-standards] (PRIo32): Likewise.
53749         [C99-based-standards] (PRIu32): Likewise.
53750         [C99-based-standards] (PRIx32): Likewise.
53751         [C99-based-standards] (PRIX32): Likewise.
53752         [C99-based-standards] (SCNd32): Likewise.
53753         [C99-based-standards] (SCNi32): Likewise.
53754         [C99-based-standards] (SCNo32): Likewise.
53755         [C99-based-standards] (SCNu32): Likewise.
53756         [C99-based-standards] (SCNx32): Likewise.
53757         [C99-based-standards] (PRIdLEAST32): Likewise.
53758         [C99-based-standards] (PRIiLEAST32): Likewise.
53759         [C99-based-standards] (PRIoLEAST32): Likewise.
53760         [C99-based-standards] (PRIuLEAST32): Likewise.
53761         [C99-based-standards] (PRIxLEAST32): Likewise.
53762         [C99-based-standards] (PRIXLEAST32): Likewise.
53763         [C99-based-standards] (SCNdLEAST32): Likewise.
53764         [C99-based-standards] (SCNiLEAST32): Likewise.
53765         [C99-based-standards] (SCNoLEAST32): Likewise.
53766         [C99-based-standards] (SCNuLEAST32): Likewise.
53767         [C99-based-standards] (SCNxLEAST32): Likewise.
53768         [C99-based-standards] (PRIdFAST32): Likewise.
53769         [C99-based-standards] (PRIiFAST32): Likewise.
53770         [C99-based-standards] (PRIoFAST32): Likewise.
53771         [C99-based-standards] (PRIuFAST32): Likewise.
53772         [C99-based-standards] (PRIxFAST32): Likewise.
53773         [C99-based-standards] (PRIXFAST32): Likewise.
53774         [C99-based-standards] (SCNdFAST32): Likewise.
53775         [C99-based-standards] (SCNiFAST32): Likewise.
53776         [C99-based-standards] (SCNoFAST32): Likewise.
53777         [C99-based-standards] (SCNuFAST32): Likewise.
53778         [C99-based-standards] (SCNxFAST32): Likewise.
53779         [C99-based-standards] (PRId64): Likewise.
53780         [C99-based-standards] (PRIi64): Likewise.
53781         [C99-based-standards] (PRIo64): Likewise.
53782         [C99-based-standards] (PRIu64): Likewise.
53783         [C99-based-standards] (PRIx64): Likewise.
53784         [C99-based-standards] (PRIX64): Likewise.
53785         [C99-based-standards] (SCNd64): Likewise.
53786         [C99-based-standards] (SCNi64): Likewise.
53787         [C99-based-standards] (SCNo64): Likewise.
53788         [C99-based-standards] (SCNu64): Likewise.
53789         [C99-based-standards] (SCNx64): Likewise.
53790         [C99-based-standards] (PRIdLEAST64): Likewise.
53791         [C99-based-standards] (PRIiLEAST64): Likewise.
53792         [C99-based-standards] (PRIoLEAST64): Likewise.
53793         [C99-based-standards] (PRIuLEAST64): Likewise.
53794         [C99-based-standards] (PRIxLEAST64): Likewise.
53795         [C99-based-standards] (PRIXLEAST64): Likewise.
53796         [C99-based-standards] (SCNdLEAST64): Likewise.
53797         [C99-based-standards] (SCNiLEAST64): Likewise.
53798         [C99-based-standards] (SCNoLEAST64): Likewise.
53799         [C99-based-standards] (SCNuLEAST64): Likewise.
53800         [C99-based-standards] (SCNxLEAST64): Likewise.
53801         [C99-based-standards] (PRIdFAST64): Likewise.
53802         [C99-based-standards] (PRIiFAST64): Likewise.
53803         [C99-based-standards] (PRIoFAST64): Likewise.
53804         [C99-based-standards] (PRIuFAST64): Likewise.
53805         [C99-based-standards] (PRIxFAST64): Likewise.
53806         [C99-based-standards] (PRIXFAST64): Likewise.
53807         [C99-based-standards] (SCNdFAST64): Likewise.
53808         [C99-based-standards] (SCNiFAST64): Likewise.
53809         [C99-based-standards] (SCNoFAST64): Likewise.
53810         [C99-based-standards] (SCNuFAST64): Likewise.
53811         [C99-based-standards] (SCNxFAST64): Likewise.
53812         [C99-based-standards] (PRIdMAX): Likewise.
53813         [C99-based-standards] (PRIiMAX): Likewise.
53814         [C99-based-standards] (PRIoMAX): Likewise.
53815         [C99-based-standards] (PRIuMAX): Likewise.
53816         [C99-based-standards] (PRIxMAX): Likewise.
53817         [C99-based-standards] (PRIXMAX): Likewise.
53818         [C99-based-standards] (SCNdMAX): Likewise.
53819         [C99-based-standards] (SCNiMAX): Likewise.
53820         [C99-based-standards] (SCNoMAX): Likewise.
53821         [C99-based-standards] (SCNuMAX): Likewise.
53822         [C99-based-standards] (SCNxMAX): Likewise.
53823         [C99-based-standards] (PRIdPTR): Likewise.
53824         [C99-based-standards] (PRIiPTR): Likewise.
53825         [C99-based-standards] (PRIoPTR): Likewise.
53826         [C99-based-standards] (PRIuPTR): Likewise.
53827         [C99-based-standards] (PRIxPTR): Likewise.
53828         [C99-based-standards] (PRIXPTR): Likewise.
53829         [C99-based-standards] (SCNdPTR): Likewise.
53830         [C99-based-standards] (SCNiPTR): Likewise.
53831         [C99-based-standards] (SCNoPTR): Likewise.
53832         [C99-based-standards] (SCNuPTR): Likewise.
53833         [C99-based-standards] (SCNxPTR): Likewise.
53834         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
53835         allow.
53836         * conform/data/stdint.h-data: Update comments to clarify
53837         requirements.
53838         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
53839         type.
53840         [C99-based standards] (INT8_MAX): Likewise.
53841         [C99-based standards] (INT16_MIN): Likewise.
53842         [C99-based standards] (INT16_MAX): Likewise.
53843         [C99-based standards] (INT32_MIN): Likewise.
53844         [C99-based standards] (INT32_MAX): Likewise.
53845         [C99-based standards] (INT64_MIN): Likewise.
53846         [C99-based standards] (INT64_MAX): Likewise.
53847         [C99-based standards] (UINT8_MAX): Likewise.
53848         [C99-based standards] (UINT16_MAX): Likewise.
53849         [C99-based standards] (UINT32_MAX): Likewise.
53850         [C99-based standards] (UINT64_MAX): Likewise.
53851         [C99-based standards] (INT_LEAST8_MIN): Likewise.
53852         [C99-based standards] (INT_LEAST8_MAX): Likewise.
53853         [C99-based standards] (INT_LEAST16_MIN): Likewise.
53854         [C99-based standards] (INT_LEAST16_MAX): Likewise.
53855         [C99-based standards] (INT_LEAST32_MIN): Likewise.
53856         [C99-based standards] (INT_LEAST32_MAX): Likewise.
53857         [C99-based standards] (INT_LEAST64_MIN): Likewise.
53858         [C99-based standards] (INT_LEAST64_MAX): Likewise.
53859         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
53860         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
53861         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
53862         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
53863         [C99-based standards] (INT_FAST8_MIN): Likewise.
53864         [C99-based standards] (INT_FAST8_MAX): Likewise.
53865         [C99-based standards] (INT_FAST16_MIN): Likewise.
53866         [C99-based standards] (INT_FAST16_MAX): Likewise.
53867         [C99-based standards] (INT_FAST32_MIN): Likewise.
53868         [C99-based standards] (INT_FAST32_MAX): Likewise.
53869         [C99-based standards] (INT_FAST64_MIN): Likewise.
53870         [C99-based standards] (INT_FAST64_MAX): Likewise.
53871         [C99-based standards] (UINT_FAST8_MAX): Likewise.
53872         [C99-based standards] (UINT_FAST16_MAX): Likewise.
53873         [C99-based standards] (UINT_FAST32_MAX): Likewise.
53874         [C99-based standards] (UINT_FAST64_MAX): Likewise.
53875         [C99-based standards] (INTPTR_MIN): Likewise.
53876         [C99-based standards] (INTPTR_MAX): Likewise.
53877         [C99-based standards] (UINTPTR_MAX): Likewise.
53878         [C99-based standards] (INTMAX_MIN): Likewise.
53879         [C99-based standards] (INTMAX_MAX): Likewise.
53880         [C99-based standards] (UINTMAX_MAX): Likewise.
53881         [C99-based standards] (PTRDIFF_MIN): Likewise.
53882         [C99-based standards] (PTRDIFF_MAX): Likewise.
53883         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
53884         [C99-based standards] (SIZE_MAX): Likewise.
53885         [C99-based standards] (WCHAR_MAX): Likewise.
53886         [C99-based standards] (WINT_MAX): Likewise.
53887         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
53888         constraint on value.
53889         [C99-based standards] (WCHAR_MIN): Likewise.
53890         [C99-based standards] (WINT_MIN): Likewise.
53891         [C99-based standards] (*_t): Allow.
53892         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
53893         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
53894         Include math.h-data and complex.h-data.  Remove all expectations
53895         of math.h and complex.h contents.
53896         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
53897         at end of line.
53898         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
53899         (struct tm): Expect tag.
53900         [C99-based-standards] (wcstof): Expect function.
53901         [C99-based-standards] (wcstold): Likewise.
53902         [C99-based-standards] (wcstoll): Likewise.
53903         [C99-based-standards] (wcstoull): Likewise.
53904         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
53905         macro-int-constant.  Specify type.
53906         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
53907         constraint on value.
53908         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
53909         Specify type.
53910         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
53911         Specify value.
53912         [ISO C standards]: Do not allow headers.
53913         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
53914         wcs[abcdefghijklmnopqrstuvwxyz]*.
53915         [ISO C standards] (*_t): Do not allow.
53916         * conform/data/wctype.h-data [C99-based standards] (iswblank):
53917         Expect function.
53918         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
53919         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
53920         Specify type.
53921         [ISO C standards]: Do not allow headers.
53922         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
53923         is[abcdefghijklmnopqrstuvwxyz]*.
53924         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
53925         to[abcdefghijklmnopqrstuvwxyz]*.
53926         [ISO C standards] (*_t): Do not allow.
53927         * conform/data/stdalign.h-data: New file.
53928         * conform/data/stdbool.h-data: Likewise.
53929         * conform/data/stdnoreturn.h-data: Likewise.
53931 2012-11-07  Roland McGrath  <roland@hack.frob.com>
53933         [BZ #14815]
53934         * manual/filesys.texi (Directory Entries): Typo fix.
53935         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
53937 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53939         * elf/elf.h (EM_AARCH64): New macro.
53940         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
53941         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
53942         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
53943         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
53944         (R_AARCH64_TLSDESC): Likewise.
53945         (NT_ARM_TLS): Likewise.
53946         (NT_ARM_HW_BREAK): Likewise.
53947         (NT_ARM_HW_WATCH): Likewise.
53949 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53951         [BZ #14811]
53952         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
53953         (__ieee754_powl): Saturate nonzero exponents with absolute value
53954         below 0x1p-79 to +/- 0x1p-79.
53955         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
53956         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
53957         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
53958         nonzero exponents with absolute value below 0x1p-32 to +/-
53959         0x1p-32.
53960         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
53961         (__ieee754_powl): Saturate nonzero exponents with absolute value
53962         below 0x1p-79 to +/- 0x1p-79.
53963         * math/libm-test.inc (pow_test): Add more tests.
53965 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53967         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
53968         _dl_s390_cap_flags with kernel. Increase string length.
53969         (_dl_s390_platforms): Add z196 and zEC12.
53971 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53973         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
53974         Change XOPEN21K to XOPEN2K.
53976 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
53978         * string/memmove.c: Use memcpy when possible.
53980 2012-11-06  Andreas Jaeger  <aj@suse.de>
53982         * po/eo.po: Update from translation team.
53984 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
53986         [BZ #14793]
53987         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
53988         exponent and small x and y exponents, scale x or y up.  Increase
53989         by 2 the exponent used in scaling up.
53990         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53991         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53992         * math/libm-test.inc (fma_test): Add more tests.
53993         (fma_test_towardzero): Likewise.
53994         (fma_test_downward): Likewise.
53995         (fma_test_upward): Likewise.
53997 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
53999         [BZ #14805]
54000         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
54001         fenv_t *.
54003         [BZ #14801]
54004         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
54005         namespace for names of struct fields.
54006         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
54007         fenv_t fields.
54008         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
54009         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
54011 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54013         [BZ #3665]
54014         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
54016 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
54018         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
54019         PTR_DEMANGLE.
54021         [BZ #5246]
54022         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
54023         PTR_DEMANGLE.
54025 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
54027         [BZ #14797]
54028         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
54029         definitely overflow as x * y not x * y + z.
54030         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54031         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54032         * math/libm-test.inc (fma_test): Add more tests.
54033         (fma_test_towardzero): Likewise.
54034         (fma_test_downward): Likewise.
54035         (fma_test_upward): Likewise.
54037 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
54039         [BZ #157]
54041         * include/stub-tag.h: Remove file.
54042         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
54043         '#include' of it.
54044         * manual/maint.texi (Porting): Don't reference it.
54045         * Makerules ($(objpfx)stubs): Likewise.
54046         * dirent/closedir.c: Don't include <stub-tag.h>.
54047         * dirent/dirfd.c: Likewise.
54048         * dirent/fdopendir.c: Likewise.
54049         * dirent/getdents.c: Likewise.
54050         * dirent/getdents64.c: Likewise.
54051         * dirent/opendir.c: Likewise.
54052         * dirent/readdir.c: Likewise.
54053         * dirent/readdir64.c: Likewise.
54054         * dirent/readdir64_r.c: Likewise.
54055         * dirent/readdir_r.c: Likewise.
54056         * dirent/rewinddir.c: Likewise.
54057         * dirent/seekdir.c: Likewise.
54058         * dirent/telldir.c: Likewise.
54059         * gmon/profil.c: Likewise.
54060         * grp/setgroups.c: Likewise.
54061         * inet/if_index.c: Likewise.
54062         * io/access.c: Likewise.
54063         * io/chdir.c: Likewise.
54064         * io/chmod.c: Likewise.
54065         * io/chown.c: Likewise.
54066         * io/close.c: Likewise.
54067         * io/dup.c: Likewise.
54068         * io/dup2.c: Likewise.
54069         * io/dup3.c: Likewise.
54070         * io/euidaccess.c: Likewise.
54071         * io/faccessat.c: Likewise.
54072         * io/fchdir.c: Likewise.
54073         * io/fchmod.c: Likewise.
54074         * io/fchmodat.c: Likewise.
54075         * io/fchown.c: Likewise.
54076         * io/fchownat.c: Likewise.
54077         * io/fcntl.c: Likewise.
54078         * io/flock.c: Likewise.
54079         * io/fstatfs.c: Likewise.
54080         * io/fstatfs64.c: Likewise.
54081         * io/fstatvfs.c: Likewise.
54082         * io/fstatvfs64.c: Likewise.
54083         * io/futimens.c: Likewise.
54084         * io/fxstat.c: Likewise.
54085         * io/fxstat64.c: Likewise.
54086         * io/fxstatat.c: Likewise.
54087         * io/fxstatat64.c: Likewise.
54088         * io/getcwd.c: Likewise.
54089         * io/isatty.c: Likewise.
54090         * io/lchmod.c: Likewise.
54091         * io/lchown.c: Likewise.
54092         * io/link.c: Likewise.
54093         * io/linkat.c: Likewise.
54094         * io/lseek.c: Likewise.
54095         * io/lseek64.c: Likewise.
54096         * io/lxstat64.c: Likewise.
54097         * io/mkdir.c: Likewise.
54098         * io/mkdirat.c: Likewise.
54099         * io/mkfifo.c: Likewise.
54100         * io/mkfifoat.c: Likewise.
54101         * io/open.c: Likewise.
54102         * io/open64.c: Likewise.
54103         * io/openat.c: Likewise.
54104         * io/openat64.c: Likewise.
54105         * io/pipe.c: Likewise.
54106         * io/pipe2.c: Likewise.
54107         * io/poll.c: Likewise.
54108         * io/posix_fadvise.c: Likewise.
54109         * io/posix_fadvise64.c: Likewise.
54110         * io/posix_fallocate.c: Likewise.
54111         * io/posix_fallocate64.c: Likewise.
54112         * io/read.c: Likewise.
54113         * io/readlink.c: Likewise.
54114         * io/readlinkat.c: Likewise.
54115         * io/rmdir.c: Likewise.
54116         * io/sendfile.c: Likewise.
54117         * io/sendfile64.c: Likewise.
54118         * io/statfs.c: Likewise.
54119         * io/statfs64.c: Likewise.
54120         * io/statvfs.c: Likewise.
54121         * io/statvfs64.c: Likewise.
54122         * io/symlink.c: Likewise.
54123         * io/symlinkat.c: Likewise.
54124         * io/ttyname.c: Likewise.
54125         * io/ttyname_r.c: Likewise.
54126         * io/umask.c: Likewise.
54127         * io/unlink.c: Likewise.
54128         * io/unlinkat.c: Likewise.
54129         * io/utime.c: Likewise.
54130         * io/utimensat.c: Likewise.
54131         * io/write.c: Likewise.
54132         * io/xmknod.c: Likewise.
54133         * io/xmknodat.c: Likewise.
54134         * io/xstat.c: Likewise.
54135         * io/xstat64.c: Likewise.
54136         * login/getpt.c: Likewise.
54137         * login/grantpt.c: Likewise.
54138         * login/unlockpt.c: Likewise.
54139         * math/e_acoshl.c: Likewise.
54140         * math/e_acosl.c: Likewise.
54141         * math/e_asinl.c: Likewise.
54142         * math/e_atan2l.c: Likewise.
54143         * math/e_atanhl.c: Likewise.
54144         * math/e_coshl.c: Likewise.
54145         * math/e_expl.c: Likewise.
54146         * math/e_fmodl.c: Likewise.
54147         * math/e_gammal_r.c: Likewise.
54148         * math/e_hypotl.c: Likewise.
54149         * math/e_j0l.c: Likewise.
54150         * math/e_j1l.c: Likewise.
54151         * math/e_jnl.c: Likewise.
54152         * math/e_lgammal_r.c: Likewise.
54153         * math/e_log10l.c: Likewise.
54154         * math/e_log2l.c: Likewise.
54155         * math/e_logl.c: Likewise.
54156         * math/e_powl.c: Likewise.
54157         * math/e_rem_pio2l.c: Likewise.
54158         * math/e_sinhl.c: Likewise.
54159         * math/e_sqrtl.c: Likewise.
54160         * math/fclrexcpt.c: Likewise.
54161         * math/fedisblxcpt.c: Likewise.
54162         * math/feenablxcpt.c: Likewise.
54163         * math/fegetenv.c: Likewise.
54164         * math/fegetexcept.c: Likewise.
54165         * math/fegetround.c: Likewise.
54166         * math/feholdexcpt.c: Likewise.
54167         * math/fesetenv.c: Likewise.
54168         * math/fesetround.c: Likewise.
54169         * math/feupdateenv.c: Likewise.
54170         * math/fgetexcptflg.c: Likewise.
54171         * math/fraiseexcpt.c: Likewise.
54172         * math/fsetexcptflg.c: Likewise.
54173         * math/ftestexcept.c: Likewise.
54174         * math/k_cosl.c: Likewise.
54175         * math/k_rem_pio2l.c: Likewise.
54176         * math/k_sinl.c: Likewise.
54177         * math/k_tanl.c: Likewise.
54178         * math/s_asinhl.c: Likewise.
54179         * math/s_atanl.c: Likewise.
54180         * math/s_cbrtl.c: Likewise.
54181         * math/s_erfl.c: Likewise.
54182         * math/s_expm1l.c: Likewise.
54183         * math/s_log1pl.c: Likewise.
54184         * math/s_tanhl.c: Likewise.
54185         * misc/acct.c: Likewise.
54186         * misc/brk.c: Likewise.
54187         * misc/chflags.c: Likewise.
54188         * misc/chroot.c: Likewise.
54189         * misc/fchflags.c: Likewise.
54190         * misc/fgetxattr.c: Likewise.
54191         * misc/flistxattr.c: Likewise.
54192         * misc/fremovexattr.c: Likewise.
54193         * misc/fsetxattr.c: Likewise.
54194         * misc/fsync.c: Likewise.
54195         * misc/ftruncate.c: Likewise.
54196         * misc/futimes.c: Likewise.
54197         * misc/futimesat.c: Likewise.
54198         * misc/getdomain.c: Likewise.
54199         * misc/getdtsz.c: Likewise.
54200         * misc/gethostid.c: Likewise.
54201         * misc/gethostname.c: Likewise.
54202         * misc/getloadavg.c: Likewise.
54203         * misc/getpagesize.c: Likewise.
54204         * misc/getsysstats.c: Likewise.
54205         * misc/getxattr.c: Likewise.
54206         * misc/gtty.c: Likewise.
54207         * misc/ioctl.c: Likewise.
54208         * misc/lgetxattr.c: Likewise.
54209         * misc/listxattr.c: Likewise.
54210         * misc/llistxattr.c: Likewise.
54211         * misc/lremovexattr.c: Likewise.
54212         * misc/lsetxattr.c: Likewise.
54213         * misc/lutimes.c: Likewise.
54214         * misc/madvise.c: Likewise.
54215         * misc/mincore.c: Likewise.
54216         * misc/mlock.c: Likewise.
54217         * misc/mlockall.c: Likewise.
54218         * misc/mmap.c: Likewise.
54219         * misc/mprotect.c: Likewise.
54220         * misc/msync.c: Likewise.
54221         * misc/munlock.c: Likewise.
54222         * misc/munlockall.c: Likewise.
54223         * misc/munmap.c: Likewise.
54224         * misc/preadv.c: Likewise.
54225         * misc/preadv64.c: Likewise.
54226         * misc/ptrace.c: Likewise.
54227         * misc/pwritev.c: Likewise.
54228         * misc/pwritev64.c: Likewise.
54229         * misc/readv.c: Likewise.
54230         * misc/reboot.c: Likewise.
54231         * misc/remap_file_pages.c: Likewise.
54232         * misc/removexattr.c: Likewise.
54233         * misc/revoke.c: Likewise.
54234         * misc/select.c: Likewise.
54235         * misc/setdomain.c: Likewise.
54236         * misc/setegid.c: Likewise.
54237         * misc/seteuid.c: Likewise.
54238         * misc/sethostid.c: Likewise.
54239         * misc/sethostname.c: Likewise.
54240         * misc/setregid.c: Likewise.
54241         * misc/setreuid.c: Likewise.
54242         * misc/setxattr.c: Likewise.
54243         * misc/sstk.c: Likewise.
54244         * misc/stty.c: Likewise.
54245         * misc/swapoff.c: Likewise.
54246         * misc/swapon.c: Likewise.
54247         * misc/sync.c: Likewise.
54248         * misc/syncfs.c: Likewise.
54249         * misc/syscall.c: Likewise.
54250         * misc/truncate.c: Likewise.
54251         * misc/ualarm.c: Likewise.
54252         * misc/usleep.c: Likewise.
54253         * misc/ustat.c: Likewise.
54254         * misc/utimes.c: Likewise.
54255         * misc/vhangup.c: Likewise.
54256         * misc/writev.c: Likewise.
54257         * posix/_exit.c: Likewise.
54258         * posix/alarm.c: Likewise.
54259         * posix/execve.c: Likewise.
54260         * posix/fexecve.c: Likewise.
54261         * posix/fork.c: Likewise.
54262         * posix/fpathconf.c: Likewise.
54263         * posix/getaddrinfo.c: Likewise.
54264         * posix/getegid.c: Likewise.
54265         * posix/geteuid.c: Likewise.
54266         * posix/getgid.c: Likewise.
54267         * posix/getgroups.c: Likewise.
54268         * posix/getlogin.c: Likewise.
54269         * posix/getlogin_r.c: Likewise.
54270         * posix/getpgid.c: Likewise.
54271         * posix/getpid.c: Likewise.
54272         * posix/getppid.c: Likewise.
54273         * posix/getresgid.c: Likewise.
54274         * posix/getresuid.c: Likewise.
54275         * posix/getsid.c: Likewise.
54276         * posix/getuid.c: Likewise.
54277         * posix/glob64.c: Likewise.
54278         * posix/nanosleep.c: Likewise.
54279         * posix/pathconf.c: Likewise.
54280         * posix/pause.c: Likewise.
54281         * posix/posix_madvise.c: Likewise.
54282         * posix/pread.c: Likewise.
54283         * posix/pread64.c: Likewise.
54284         * posix/pwrite.c: Likewise.
54285         * posix/pwrite64.c: Likewise.
54286         * posix/sched_getaffinity.c: Likewise.
54287         * posix/sched_getp.c: Likewise.
54288         * posix/sched_gets.c: Likewise.
54289         * posix/sched_primax.c: Likewise.
54290         * posix/sched_primin.c: Likewise.
54291         * posix/sched_rr_gi.c: Likewise.
54292         * posix/sched_setaffinity.c: Likewise.
54293         * posix/sched_setp.c: Likewise.
54294         * posix/sched_sets.c: Likewise.
54295         * posix/sched_yield.c: Likewise.
54296         * posix/setgid.c: Likewise.
54297         * posix/setlogin.c: Likewise.
54298         * posix/setpgid.c: Likewise.
54299         * posix/setresgid.c: Likewise.
54300         * posix/setresuid.c: Likewise.
54301         * posix/setsid.c: Likewise.
54302         * posix/setuid.c: Likewise.
54303         * posix/sleep.c: Likewise.
54304         * posix/spawni.c: Likewise.
54305         * posix/sysconf.c: Likewise.
54306         * posix/times.c: Likewise.
54307         * posix/wait.c: Likewise.
54308         * posix/wait3.c: Likewise.
54309         * posix/wait4.c: Likewise.
54310         * posix/waitpid.c: Likewise.
54311         * resolv/gai_sigqueue.c: Likewise.
54312         * resource/getpriority.c: Likewise.
54313         * resource/getrlimit.c: Likewise.
54314         * resource/getrusage.c: Likewise.
54315         * resource/nice.c: Likewise.
54316         * resource/setpriority.c: Likewise.
54317         * resource/setrlimit.c: Likewise.
54318         * resource/ulimit.c: Likewise.
54319         * rt/aio_cancel.c: Likewise.
54320         * rt/aio_fsync.c: Likewise.
54321         * rt/aio_read.c: Likewise.
54322         * rt/aio_sigqueue.c: Likewise.
54323         * rt/aio_suspend.c: Likewise.
54324         * rt/aio_write.c: Likewise.
54325         * rt/clock_getres.c: Likewise.
54326         * rt/clock_gettime.c: Likewise.
54327         * rt/clock_nanosleep.c: Likewise.
54328         * rt/clock_settime.c: Likewise.
54329         * rt/lio_listio.c: Likewise.
54330         * rt/mq_close.c: Likewise.
54331         * rt/mq_getattr.c: Likewise.
54332         * rt/mq_notify.c: Likewise.
54333         * rt/mq_open.c: Likewise.
54334         * rt/mq_receive.c: Likewise.
54335         * rt/mq_send.c: Likewise.
54336         * rt/mq_setattr.c: Likewise.
54337         * rt/mq_timedreceive.c: Likewise.
54338         * rt/mq_timedsend.c: Likewise.
54339         * rt/mq_unlink.c: Likewise.
54340         * rt/shm_open.c: Likewise.
54341         * rt/shm_unlink.c: Likewise.
54342         * rt/timer_create.c: Likewise.
54343         * rt/timer_delete.c: Likewise.
54344         * rt/timer_getoverr.c: Likewise.
54345         * rt/timer_gettime.c: Likewise.
54346         * rt/timer_settime.c: Likewise.
54347         * setjmp/__longjmp.c: Likewise.
54348         * setjmp/setjmp.c: Likewise.
54349         * signal/kill.c: Likewise.
54350         * signal/killpg.c: Likewise.
54351         * signal/raise.c: Likewise.
54352         * signal/sigaction.c: Likewise.
54353         * signal/sigaltstack.c: Likewise.
54354         * signal/sigblock.c: Likewise.
54355         * signal/sigignore.c: Likewise.
54356         * signal/sigintr.c: Likewise.
54357         * signal/signal.c: Likewise.
54358         * signal/sigpause.c: Likewise.
54359         * signal/sigpending.c: Likewise.
54360         * signal/sigqueue.c: Likewise.
54361         * signal/sigreturn.c: Likewise.
54362         * signal/sigset.c: Likewise.
54363         * signal/sigsetmask.c: Likewise.
54364         * signal/sigstack.c: Likewise.
54365         * signal/sigsuspend.c: Likewise.
54366         * signal/sigtimedwait.c: Likewise.
54367         * signal/sigvec.c: Likewise.
54368         * signal/sigwait.c: Likewise.
54369         * signal/sigwaitinfo.c: Likewise.
54370         * signal/sysv_signal.c: Likewise.
54371         * socket/accept.c: Likewise.
54372         * socket/accept4.c: Likewise.
54373         * socket/bind.c: Likewise.
54374         * socket/connect.c: Likewise.
54375         * socket/getpeername.c: Likewise.
54376         * socket/getsockname.c: Likewise.
54377         * socket/getsockopt.c: Likewise.
54378         * socket/isfdtype.c: Likewise.
54379         * socket/listen.c: Likewise.
54380         * socket/recv.c: Likewise.
54381         * socket/recvfrom.c: Likewise.
54382         * socket/recvmsg.c: Likewise.
54383         * socket/send.c: Likewise.
54384         * socket/sendmsg.c: Likewise.
54385         * socket/sendto.c: Likewise.
54386         * socket/setsockopt.c: Likewise.
54387         * socket/shutdown.c: Likewise.
54388         * socket/sockatmark.c: Likewise.
54389         * socket/socket.c: Likewise.
54390         * socket/socketpair.c: Likewise.
54391         * stdio-common/ctermid.c: Likewise.
54392         * stdio-common/cuserid.c: Likewise.
54393         * stdio-common/remove.c: Likewise.
54394         * stdio-common/rename.c: Likewise.
54395         * stdio-common/renameat.c: Likewise.
54396         * stdio-common/tempname.c: Likewise.
54397         * stdlib/getcontext.c: Likewise.
54398         * stdlib/makecontext.c: Likewise.
54399         * stdlib/setcontext.c: Likewise.
54400         * stdlib/swapcontext.c: Likewise.
54401         * stdlib/system.c: Likewise.
54402         * streams/fattach.c: Likewise.
54403         * streams/fdetach.c: Likewise.
54404         * streams/getmsg.c: Likewise.
54405         * streams/getpmsg.c: Likewise.
54406         * streams/putmsg.c: Likewise.
54407         * streams/putpmsg.c: Likewise.
54408         * sysdeps/unix/bsd/getpt.c: Likewise.
54409         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
54410         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
54411         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54413         Likewise.
54414         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
54415         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54416         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
54417         * sysvipc/msgctl.c: Likewise.
54418         * sysvipc/msgget.c: Likewise.
54419         * sysvipc/msgrcv.c: Likewise.
54420         * sysvipc/msgsnd.c: Likewise.
54421         * sysvipc/semctl.c: Likewise.
54422         * sysvipc/semget.c: Likewise.
54423         * sysvipc/semop.c: Likewise.
54424         * sysvipc/semtimedop.c: Likewise.
54425         * sysvipc/shmat.c: Likewise.
54426         * sysvipc/shmctl.c: Likewise.
54427         * sysvipc/shmdt.c: Likewise.
54428         * sysvipc/shmget.c: Likewise.
54429         * termios/tcdrain.c: Likewise.
54430         * termios/tcflow.c: Likewise.
54431         * termios/tcflush.c: Likewise.
54432         * termios/tcgetattr.c: Likewise.
54433         * termios/tcgetpgrp.c: Likewise.
54434         * termios/tcsendbrk.c: Likewise.
54435         * termios/tcsetattr.c: Likewise.
54436         * termios/tcsetpgrp.c: Likewise.
54437         * time/adjtime.c: Likewise.
54438         * time/clock.c: Likewise.
54439         * time/getitimer.c: Likewise.
54440         * time/gettimeofday.c: Likewise.
54441         * time/setitimer.c: Likewise.
54442         * time/settimeofday.c: Likewise.
54443         * time/stime.c: Likewise.
54444         * time/time.c: Likewise.
54446 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
54448         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
54449         /usr/old/bin.
54451         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
54452         instead of spaces.
54453         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
54455 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
54457         [BZ #14796]
54458         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
54459         FE_TONEAREST before applying Dekker multiplication and Knuth
54460         addition.  Clear inexact exceptions and check for exact zero
54461         results afterwards.
54462         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54463         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
54464         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54465         * math/libm-test.inc (fma_test): Add more tests.
54466         (fma_test_towardzero): Likewise.
54467         (fma_test_downward): Likewise.
54468         (fma_test_upward): Likewise.
54469         * sysdeps/generic/math_private.h (default_libc_fesetround): New
54470         function.
54471         (libc_fesetround): New macro.
54472         (libc_fesetroundf): Likewise.
54473         (libc_fesetroundl): Likewise.
54474         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
54475         function.
54476         (libc_fesetround_387): Likewise.
54477         (libc_fesetroundf): New macro.
54478         (libc_fesetround): Likewise.
54479         (libc_fesetroundl): Likewise.
54480         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
54481         function.
54482         (libc_fesetroundf): New macro.
54483         (libc_fesetround): Likewise.
54484         (libc_fesetroundl): Likewise.
54485         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
54486         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
54487         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
54488         libm_hidden_ver.
54489         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
54490         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
54491         libm_hidden_def.
54492         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
54493         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
54494         libm_hidden_ver.
54495         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
54496         libm_hidden_def.
54498         [BZ #3439]
54499         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
54500         integer constant usable in #if and use that to give value to enum
54501         constant.
54502         (FE_DIVBYZERO): Likewise.
54503         (FE_UNDERFLOW): Likewise.
54504         (FE_OVERFLOW): Likewise.
54505         (FE_INVALID): Likewise.
54506         (FE_INVALID_SNAN): Likewise.
54507         (FE_INVALID_ISI): Likewise.
54508         (FE_INVALID_IDI): Likewise.
54509         (FE_INVALID_ZDZ): Likewise.
54510         (FE_INVALID_IMZ): Likewise.
54511         (FE_INVALID_COMPARE): Likewise.
54512         (FE_INVALID_SOFTWARE): Likewise.
54513         (FE_INVALID_SQRT): Likewise.
54514         (FE_INVALID_INTEGER_CONVERSION): Likewise.
54515         (FE_TONEAREST): Likewise.
54516         (FE_TOWARDZERO): Likewise.
54517         (FE_UPWARD): Likewise.
54518         (FE_DOWNWARD): Likewise.
54519         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
54520         (FE_DIVBYZERO): Likewise.
54521         (FE_OVERFLOW): Likewise.
54522         (FE_UNDERFLOW): Likewise.
54523         (FE_INEXACT): Likewise.
54524         (FE_TONEAREST): Likewise.
54525         (FE_DOWNWARD): Likewise.
54526         (FE_UPWARD): Likewise.
54527         (FE_TOWARDZERO): Likewise.
54528         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
54529         (FE_UNDERFLOW): Likewise.
54530         (FE_OVERFLOW): Likewise.
54531         (FE_DIVBYZERO): Likewise.
54532         (FE_INVALID): Likewise.
54533         (FE_TONEAREST): Likewise.
54534         (FE_TOWARDZERO): Likewise.
54535         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
54536         (FE_OVERFLOW): Likewise.
54537         (FE_UNDERFLOW): Likewise.
54538         (FE_DIVBYZERO): Likewise.
54539         (FE_INEXACT): Likewise.
54540         (FE_TONEAREST): Likewise.
54541         (FE_TOWARDZERO): Likewise.
54542         (FE_UPWARD): Likewise.
54543         (FE_DOWNWARD): Likewise.
54544         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
54545         (FE_DIVBYZERO): Likewise.
54546         (FE_OVERFLOW): Likewise.
54547         (FE_UNDERFLOW): Likewise.
54548         (FE_INEXACT): Likewise.
54549         (FE_TONEAREST): Likewise.
54550         (FE_DOWNWARD): Likewise.
54551         (FE_UPWARD): Likewise.
54552         (FE_TOWARDZERO): Likewise.
54554 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
54556         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
54558 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
54560         * scripts/cross-test-ssh.sh (command): Use newlines to separate
54561         commands.  Quote $PWD.
54562         (blacklist_exports): Don't use remove_newlines.  Replace "declare
54563         -x" by "export".
54564         (remove_newlines): Remove.
54566 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
54568         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
54569         * stdlib/stdlib.h (atof): Moved to ...
54570         * include/bits/stdlib-float.h: Here.  New file.
54571         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
54572         * stdlib/bits/stdlib-float.h: New file.
54573         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
54574         -mno-sse -mno-mmx.
54575         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
54576         <xmmintrin.h>.
54578 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
54580         * conform/conformtest.pl (@headers): Add fenv.h.
54581         * conform/data/fenv.h-data: New file.
54582         * include/fenv.h [_ISOMAC]: Disable all contents of file except
54583         include of <math/fenv.h>.
54585         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
54586         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
54587         && !UNIX98].  Enables tests for XOPEN2K8.
54588         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
54589         POSIX2008]: Likewise.
54591         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
54592         (struct rusage): Do not expect type or its members.
54594         [BZ #3439]
54595         * math/math.h (FP_NAN): Define macro to integer constant usable in
54596         #if and use that to give value to enum constant.
54597         (FP_INFINITE): Likewise.
54598         (FP_ZERO): Likewise.
54599         (FP_SUBNORMAL): Likewise.
54600         (FP_NORMAL): Likewise.
54602 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
54604         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
54605         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
54606         arguments.
54608 2012-11-02  Roland McGrath  <roland@hack.frob.com>
54610         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
54611         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
54612         autoconf-time if not.
54613         * configure.in: Remove AC_PREREQ.
54615 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54617         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
54618         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
54619         of the internal implementation.
54621 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
54623         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
54624         except include of <misc/sys/syslog.h>.
54626 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
54629         function returns with a NULL context exit with zero.
54631 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54633         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
54635 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
54637         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
54638         (run_program_cmd): This.
54639         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
54640         (tst_langinfo): New variable.  Use it.
54642 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
54644         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
54645         floating point opcodes.
54647 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54649         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
54650         variable.
54652         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
54654         * sysdeps/mach/hurd/powerpc: Remove directory.
54655         * sysdeps/mach/powerpc: Likewise.
54657 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54659         * scripts/check-local-headers.sh: Ignore c++ headers.
54661 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54663         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
54664         __libc_cleanup_region_start argument.
54666 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
54668         [BZ #14784]
54669         [BZ #14785]
54670         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
54671         x * y using scaling, not as x * y + z.
54672         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54673         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54674         * math/libm-test.inc (fma_test): Add more tests.
54675         (fma_test_towardzero): Likewise.
54676         (fma_test_downward): Likewise.
54677         (fma_test_upward): Likewise.
54679 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54681         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
54683 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
54685         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
54686         New variable.
54688 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
54690         * rt/tst-shm.c (worker): Correct checking for mmap failure.
54692 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
54694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54695         Fix sort order.
54696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54697         Likewise.
54699 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54702         Fix the order of the list for glibc 2.17.
54703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54704         Likewise.
54706 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
54708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54710 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
54712         [BZ #14610]
54713         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
54714         for low part of x being zero before using __atanl (y).
54715         * math/libm-test.inc (atan2_test): Add another test.
54717         * manual/install.texi (Configuring and compiling): Document
54718         general use of test-wrapper and test-wrapper-env.
54719         * INSTALL: Regenerated.
54721         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
54722         (__fma): Do not extract and scale down low bits on after-rounding
54723         systems when result rounded to normal precision would have normal
54724         exponent.
54725         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
54726         (__fmal): Do not extract and scale down low bits on after-rounding
54727         systems when result rounded to normal precision would have normal
54728         exponent.
54729         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
54730         (__fmal): Do not extract and scale down low bits on after-rounding
54731         systems when result rounded to normal precision would have normal
54732         exponent.
54733         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
54734         macro.
54735         (fma_test): Add more tests.
54736         (fma_test_towardzero): Likewise.
54737         (fma_test_downward): Likewise.
54738         (fma_test_upward): Likewise.
54740 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
54742         * sysdeps/i386/tininess.h: Renamed to ...
54743         * sysdeps/x86/tininess.h: This.
54744         * sysdeps/x86_64/tininess.h: Removed.
54746 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54748         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
54749         input.  Use $(build-program-cmd).
54750         ($(objpfx)tst-array1-static.out): Likewise.
54751         ($(objpfx)tst-array2.out): Likewise.
54752         ($(objpfx)tst-array3.out): Likewise.
54753         ($(objpfx)tst-array4.out): Likewise.
54754         ($(objpfx)tst-array5.out): Likewise.
54755         ($(objpfx)tst-array5-static.out): Likewise.
54757 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
54759         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
54760         if defined.
54762         * nss/nsswitch.h (nss_interface_function): Provide new
54763         macro for use with NSS functions.
54764         * grp/initgroups.c: Use new macro.
54765         * nss/getXXbyYY.c: Likewise.
54766         * nss/getXXbyYY_r.c: Likewise.
54767         * nss/getXXent.c: Likewise.
54768         * nss/getXXent_r.c: Likewise.
54769         * sysdeps/posix/getaddrinfo.c: Likewise.
54771 2012-10-30  Andreas Jaeger  <aj@suse.de>
54773         * po/ru.po: Update Russion translation from translation project.
54775 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54777         [BZ #14152]
54778         [BZ #14783]
54779         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
54780         result and shift together with sticky bit instead of replicating
54781         round-to-nearest rounding.
54782         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54783         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54784         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
54785         missing underflow exceptions.
54786         (fma_test_towardzero): Add more tests.
54787         (fma_test_downward): Likewise.
54788         (fma_test_upward): Likewise.
54790         [BZ #14047]
54791         * sysdeps/generic/tininess.h: New file.
54792         * sysdeps/i386/tininess.h: Likewise.
54793         * sysdeps/sh/tininess.h: Likewise.
54794         * sysdeps/x86_64/tininess.h: Likewise.
54795         * stdlib/tst-strtod-underflow.c: Likewise.
54796         * stdlib/tst-tininess.c: Likewise.
54797         * stdlib/strtod_l.c: Include <tininess.h>.
54798         (round_and_return): Do not set errno for exact underflow cases.
54799         Force an underflow exception when setting errno for underflow.
54800         Determine underflow based on rounding to normal precision if
54801         TININESS_AFTER_ROUNDING.
54802         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
54803         ERANGE for exact underflow cases.
54804         * stdlib/Makefile (tests): Add tst-tininess and
54805         tst-strtod-underflow.
54806         ($(objpfx)tst-tininess): Use $(link-libm).
54807         ($(objpfx)tst-strtod-underflow): Likewise.
54809 2012-10-30  Andreas Jaeger  <aj@suse.de>
54811         [BZ#14767]
54812         * elf/Makefile (tests): Remove conditional for have-initfini-array
54813         since this is now always required and the variable does not exist
54814         anymore.
54815         (tests-static): Likewise.
54816         (modules-names): Likewise.
54818         * po/eo.po: Add Esperanto translation from translation project.
54820         * elf/tst-array1.c (fini_array): Make writeable so that it can be
54821         merged with constructor/destructor.
54822         (init_array): Likewise.
54823         * elf/tst-array2dep.c (fini_array): Likewise.
54824         (init_array): Likewise.
54826 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
54828         * manual/message.texi: Delete @cartouche tags.
54830 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
54832         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
54833         EOPNOTSUPP.
54834         * sysdeps/mach/hurd/fsync.c: Likewise.
54836         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
54837         [_POSIX_REALTIME_SIGNALS]: Change condition to
54838         [_POSIX_REALTIME_SIGNALS > 0].
54840 2012-10-27  Andreas Jaeger  <aj@suse.de>
54842         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
54843         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
54844         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
54845         [__WORDSIZE != 64]: Likewise.
54847 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
54849         *  iconvdata/tst-table.sh: Remove ${SHELL}.
54850         *  iconvdata/tst-tables.sh: Likewise.
54852 2012-10-25  David S. Miller  <davem@davemloft.net>
54854         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54855         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
54856         of strtoull.
54858         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
54859         ifunc-impl-list.c
54860         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54861         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
54862         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
54863         file.
54865 2012-10-25  Roland McGrath  <roland@hack.frob.com>
54867         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54868         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
54869         __getdirentries.
54871 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
54872             Jim Blandy  <jimb@codesourcery.com>
54874         * scripts/cross-test-ssh.sh: New file.
54875         * manual/install.texi (Configuring and compiling): Document use of
54876         cross-test-ssh.sh.
54877         * INSTALL: Regenerated.
54879 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
54881         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
54882         EOPNOTSUPP.
54884 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
54886         * Makeconfig (run-program-prefix): Fix comment.
54888 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
54889             Jim Blandy  <jimb@codesourcery.com>
54891         * Makeconfig (test-wrapper): New variable,
54892         (test-wrapper-env): Likewise.
54893         [$(cross-compiling) = yes && $(test-wrapper) != ""]
54894         (run-built-tests): Define to yes.
54895         (run-program-prefix): Use $(test-wrapper).
54896         (built-program-cmd): Likewise.
54897         * Rules (make-test-out): Use $(test-wrapper-env) and
54898         $(host-built-program-cmd).
54899         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
54900         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
54901         tst-pathopt.sh.
54902         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
54903         $(test-wrapper-env) to tst-rtld-load-self.sh.
54904         ($(objpfx)order2.out): Use $(test-wrapper).
54905         ($(objpfx)tst-initorder.out): Likewise.
54906         ($(objpfx)tst-initorder2.out): Likewise.
54907         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
54908         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
54909         (test_wrapper_env): New variable.  Use it to run ld.so.
54910         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
54911         Use it to run ld.so.
54912         (test_wrapper_env): Likewise.
54913         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
54914         $(test-wrapper) to run-iconv-test.sh.
54915         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
54916         (ICONV): Use $test_wrapper.
54917         * posix/Makefile ($(objpfx)globtest.out): Pass
54918         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
54919         globtest.sh, not $(run-program-prefix).
54920         * posix/globtest.sh (run_via_rtld_prefix): New variable.
54921         (test_wrapper): Likewise.
54922         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
54923         set together with run_via_rtld_prefix.
54924         (run_program_prefix): Define in terms of test_wrapper and
54925         run_via_rtld_prefix.
54927 2012-10-24  Roland McGrath  <roland@hack.frob.com>
54929         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
54930         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
54931         Targets removed.
54933         [BZ #14743]
54934         * include/time.h: Remove librt_hidden_proto (clock_gettime).
54935         Declare __clock_getres, __clock_gettime, __clock_settime,
54936         __clock_nanosleep, and __clock_getcpuclockid.
54937         * rt/clock_gettime.c: Define __clock_gettime as an alias.
54938         Remove librt_hidden_def (clock_gettime).
54939         * sysdeps/unix/clock_gettime.c: Likewise.
54940         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
54941         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
54942         * rt/clock_getres.c: Define __clock_getres as an alias.
54943         * sysdeps/posix/clock_getres.c: Likewise.
54944         * rt/clock_settime.c: Define __clock_settime as an alias.
54945         * sysdeps/unix/clock_settime.c: Likewise.
54946         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
54947         * sysdeps/unix/clock_nanosleep.c: Likewise.
54948         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
54949         * rt/clock-compat.c: New file.
54950         * rt/Makefile (librt-routines): Add clock-compat and move
54951         $(clock-routines) to ...
54952         (routines): ... here, new variable.
54953         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
54954         Don't add get_clockfreq here.
54955         * rt/Versions (libc: GLIBC_2.17): New version set.
54956         Add clock_* symbols here.
54957         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
54958         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
54959         (GLIBC_2.17): Add clock_* symbols.
54960         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
54961         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
54962         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54964         Likewise.
54965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54966         Likewise.
54967         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54968         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
54969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
54970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
54971         * NEWS: Mention the move.
54973         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
54974         Use __open, __read, __close rather than their public counterparts.
54975         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54976         (__get_clockfreq_via_cpuinfo): Likewise.
54977         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
54978         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
54980         * config.h.in (HAVE_IFUNC): New #undef.
54981         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
54982         was successful.
54983         * configure: Regenerated.
54985 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
54987         * configure.in: Move READELF check to start of file.
54988         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
54989         libc_cv_asm_gnu_indirect_function in the process.
54990         * configure: Regenerated.
54992 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
54994         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
54995         send the output to /dev/null.
54996         (libc_cv_cc_with_libunwind): Likewise.
54997         (libc_cv_as_noexecstack): Likewise.
54998         * configure: Regenerate.
55000 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
55002         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
55004         * posix/globtest.sh (TMPDIR): Do not set.
55005         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
55006         (testout): Likewise.
55008 2012-10-24  Andreas Jaeger  <aj@suse.de>
55010         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
55011         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
55012         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
55013         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
55014         posix_fadvise64, posix_fallocate64.
55016         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
55017         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
55018         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
55019         Likewise.
55020         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
55021         Likewise.
55022         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
55024         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
55025         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
55026         <bits/fcntl-linux.h>.
55027         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
55029         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
55030         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
55031         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
55032         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
55033         [__WORDSIZE != 64]: Likewise.
55035 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55037         * Makeconfig (run-built-tests): New variable.
55038         * Rules [$(cross-compiling) = yes]: Change condition to
55039         [$(run-built-tests) = no].
55040         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
55041         to [$(run-built-tests) = yes].
55042         * elf/Makefile [$(cross-compiling) = no]: Likewise.
55043         * grp/Makefile [$(cross-compiling) = no]: Likewise.
55044         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
55045         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
55046         * intl/Makefile [$(cross-compiling) = no]: Likewise.
55047         * io/Makefile [$(cross-compiling) = no]: Likewise.
55048         * libio/Makefile [$(cross-compiling) = no]: Likewise.
55049         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
55050         * misc/Makefile [$(cross-compiling) = no]: Likewise.
55051         * posix/Makefile [$(cross-compiling) = no]: Likewise.
55052         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
55053         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
55054         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
55055         * string/Makefile [$(cross-compiling) = no]: Likewise.
55057         * posix/Makefile ($(objpfx)globtest.out): Pass
55058         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
55059         $(rtld-installed-name).
55060         * posix/globtest.sh (elf_objpfx): Remove variable.
55061         (rtld_installed_name): Likewise.
55062         (library_path): Likewise.
55063         (run_program_prefix): New variable.  Use for running globtest
55064         binary.
55066 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
55067             Joseph Myers  <joseph@codesourcery.com>
55069         * Makeconfig (host-built-program-cmd): New variable.
55070         * elf/Makefile (tst-stackguard1-ARGS): Use
55071         $(host-built-program-cmd).
55072         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
55073         (tst-spawn-ARGS): Likewise.
55074         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
55076 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55077             Jim Blandy  <jimb@codesourcery.com>
55079         * Makeconfig (run-via-rtld-prefix): New variable.
55080         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
55081         (built-program-cmd): Likewise.
55083 2012-10-22  Andreas Jaeger  <aj@suse.de>
55085         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
55086         __O_RSYNC if it exists, otherwise to O_SYNC.
55088 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
55089             Joseph Myers  <joseph@codesourcery.com>
55091         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
55092         /dev/null.
55093         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
55094         from /dev/null
55095         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
55096         /dev/null.
55098 2012-10-22  Andreas Jaeger  <aj@suse.de>
55100         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
55101         Define always.
55102         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
55104         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55105         bits/fcntl-linux.h.
55107         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
55108         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
55110         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
55111         to __O_LARGEFILE.
55112         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
55113         to __O_LARGEFILE.
55115 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
55116             Joseph Myers  <joseph@codesourcery.com>
55118         * config.make.in (NM): New variable.
55120 2012-10-21  Andreas Jaeger  <aj@suse.de>
55122         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
55123         definitions and declarations that are provided by
55124         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55126 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55128         [BZ #14683]
55129         * elf/Makefile (tests-static): Add tst-leaks1-static.
55130         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
55131         ($(objpfx)tst-leaks1-static): New rule.
55132         ($(objpfx)tst-leaks1-static-mem): Likewise.
55133         (tst-leaks1-static-ENV): New macro.
55134         * elf/dl-open.c (dl_open_worker): Check the main application
55135         only if SHARED is defined.
55136         * elf/tst-leaks1-static.c: New file.
55138 2012-10-20  Andreas Jaeger  <aj@suse.de>
55140         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
55141         generic values for Linux.
55142         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
55143         and declarations that are provided by <bits/fcntl-linux.h> and
55144         include <bits/fcntl-linux.h>.
55145         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55146         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55148 2012-10-20  Roland McGrath  <roland@hack.frob.com>
55150         * io/fcntl.h: Move include of <bits/types.h> to the top and
55151         include it unconditionally.
55153 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55155         * wcsmbs/Makefile (tests-ifunc): New variable.
55156         (tests): Add $(tests-ifunc).
55157         * wcsmbs/test-wcschr-ifunc.c: New file.
55158         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
55159         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
55160         * wcsmbs/test-wcslen-ifunc.c: Likewise.
55161         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
55162         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
55164         * string/Makefile (tests-ifunc): New variable.
55165         (tests): Add $(tests-ifunc).
55166         * string/test-memccpy.c (TEST_NAME): New macro.
55167         * string/test-memchr.c (TEST_NAME): Likewise.
55168         * string/test-memcmp.c (TEST_NAME): Likewise.
55169         * string/test-memcpy.c (TEST_NAME): Likewise.
55170         * string/test-memmem.c (TEST_NAME): Likewise.
55171         * string/test-memmove.c (TEST_NAME): Likewise.
55172         * string/test-memset.c (TEST_NAME): Likewise.
55173         * string/test-rawmemchr.c (TEST_NAME): Likewise.
55174         * string/test-stpcpy.c (TEST_NAME): Likewise.
55175         * string/test-stpncpy.c (TEST_NAME): Likewise.
55176         * string/test-strcasecmp.c (TEST_NAME): Likewise.
55177         * string/test-strcasestr.c (TEST_NAME): Likewise.
55178         * string/test-strcat.c (TEST_NAME): Likewise.
55179         * string/test-strchr.c (TEST_NAME): Likewise.
55180         * string/test-strcmp.c(TEST_NAME): Likewise.
55181         * string/test-strcpy.c (TEST_NAME): Likewise.
55182         * string/test-strcspn.c (TEST_NAME): Likewise.
55183         * string/test-strlen.c (TEST_NAME): Likewise.
55184         * string/test-strncasecmp.c (TEST_NAME): Likewise.
55185         * string/test-strncmp.c (TEST_NAME): Likewise.
55186         * string/test-strncpy.c (TEST_NAME): Likewise.
55187         * string/test-strnlen.c (TEST_NAME): Likewise.
55188         * string/test-strpbrk.c (TEST_NAME): Likewise.
55189         * string/test-strrchr.c (TEST_NAME): Likewise.
55190         * string/test-strspn.c (TEST_NAME): Likewise.
55191         * string/test-strstr.c (TEST_NAME): Likewise.
55192         * string/test-bcopy-ifunc.c: New file.
55193         * string/test-bzero-ifunc.c: Likewise.
55194         * string/test-memccpy-ifunc.c: Likewise.
55195         * string/test-memchr-ifunc.c: Likewise.
55196         * string/test-memcmp-ifunc.c: Likewise.
55197         * string/test-memcpy-ifunc.c: Likewise.
55198         * string/test-memmem-ifunc.c: Likewise.
55199         * string/test-memmove-ifunc.c: Likewise.
55200         * string/test-mempcpy-ifunc.c: Likewise.
55201         * string/test-memset-ifunc.c: Likewise.
55202         * string/test-rawmemchr-ifunc.c: Likewise.
55203         * string/test-stpcpy-ifunc.c: Likewise.
55204         * string/test-stpncpy-ifunc.c: Likewise.
55205         * string/test-strcasecmp-ifunc.c: Likewise.
55206         * string/test-strcasestr-ifunc.c: Likewise.
55207         * string/test-strcat-ifunc.c: Likewise.
55208         * string/test-strchr-ifunc.c: Likewise.
55209         * string/test-strchrnul-ifunc.c: Likewise.
55210         * string/test-strcmp-ifunc.c: Likewise.
55211         * string/test-strcpy-ifunc.c: Likewise.
55212         * string/test-strcspn-ifunc.c: Likewise.
55213         * string/test-strlen-ifunc.c: Likewise.
55214         * string/test-strncasecmp-ifunc.c: Likewise.
55215         * string/test-strncat-ifunc.c: Likewise.
55216         * string/test-strncmp-ifunc.c: Likewise.
55217         * string/test-strncpy-ifunc.c: Likewise.
55218         * string/test-strnlen-ifunc.c: Likewise.
55219         * string/test-strpbrk-ifunc.c: Likewise.
55220         * string/test-strrchr-ifunc.c: Likewise.
55221         * string/test-strspn-ifunc.c: Likewise.
55222         * string/test-strstr-ifunc.c: Likewise.
55224         * debug/Makefile (tests-ifunc): New variable.
55225         (tests): Add $(tests-ifunc).
55226         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
55227         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
55228         * debug/test-stpcpy_chk-ifunc.c: New file.
55229         * debug/test-strcpy_chk-ifunc.c: Likewise.
55231 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55233         [BZ #13601]
55234         * elf/dl-load.c (open_verify): Retry read if the entire ELF
55235         header is not read in.
55237 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
55239         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
55240         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
55241         directly.  Pass built executable to script as
55242         $(built-program-cmd).
55243         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
55244         $testprogram without using LD_LIBRARY_PATH and $ldso.
55246         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
55247         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
55248         $(rtld-installed-name).
55249         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
55250         (rtld_installed_name): Likewise.
55251         (library_path): Likewise.
55252         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
55253         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
55254         $(run-program-prefix) to tst-tables.sh.
55255         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
55256         it to run tst-table-from and tst-table-to.
55257         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
55258         Pass it to tst-table.sh.
55259         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
55260         $(run-program-prefix) to tst-gettext.sh.
55261         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
55262         tst-translit.sh.
55263         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
55264         tst-gettext2.sh.
55265         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
55266         to run tst-gettext.
55267         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
55268         to run tst-gettext2.
55269         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
55270         to run tst-translit.
55271         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
55272         $(run-program-prefix) to tst-mtrace.sh.
55273         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
55274         to run tst-mtrace.
55275         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
55276         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
55277         $(rtld-installed-name).
55278         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
55279         (rtld_installed_name): Likewise.
55280         (run_program_prefix): New variable.  Use it to run wordexp-test.
55282         * Makeconfig (ARCH): Remove all definitions.
55283         (machine): Likewise.
55284         [ARCH]: Remove conditional code.
55285         [!objdir]: Give error.
55286         [!objdir] (objpfx): Remove.
55287         [!objdir] (common-objpfx): Likewise.
55288         [!objdir] (common-objdir): Likewise.
55289         * configure.in (config_makefile): Remove.  Hardcode Makefile in
55290         AC_CONFIG_FILES call.
55291         * configure: Regenerated.
55293         [BZ #13888]
55294         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
55295         or TMPDIR.
55296         (testout): Likewise.
55298         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
55299         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
55300         $(rtld-installed-name).
55301         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
55302         (rtld_installed_name): Likwise.
55303         (runit): Remove function.
55304         (run_getconf): New variable,  Use it for running getconf binary.
55306 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
55308         [BZ #14716]
55309         * string/test-memmem.c (check_result): New function.
55310         (do_one_test): Use it.
55311         (check1): New function.
55312         (test_main): Use it.
55314 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
55316         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
55318 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
55320         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
55321         (_G_LSEEK64): Likewise.
55322         (_G_MMAP64): Likewise.
55323         (_G_FSTAT64): Likewise.
55324         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
55325         (_G_LSEEK64): Likewise.
55326         (_G_MMAP64): Likewise.
55327         (_G_FSTAT64): Likewise.
55328         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
55329         unconditional.  Call __mmap64 directly.
55330         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
55331         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
55332         __lseek64 directly.
55333         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
55334         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
55335         __mmap64 directly.
55336         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
55337         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
55338         __lseek64 directly.
55339         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
55340         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
55341         __lseek64 directly.
55342         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
55343         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
55344         __lseek64 directly.
55345         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
55346         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
55347         __fxstat64 directly.
55348         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
55349         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
55350         unconditional.
55351         (freopen64) [!_G_OPEN64]: Remove conditional code.
55352         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
55353         unconditional.
55354         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
55355         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
55356         unconditional.
55357         (ftello64) [!_G_LSEEK64]: Remove conditional code.
55358         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
55359         unconditional.
55360         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
55361         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
55362         unconditional.
55363         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
55364         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
55365         unconditional.
55366         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
55367         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
55368         unconditional.
55369         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
55370         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
55371         unconditional.
55372         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
55374 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55376         [BZ #12140]
55377         * manual/memory.texi (Malloc Tunable Parameters): Add note
55378         about free list pointers overwriting some perturb bytes.
55379         Wording suggested by Roland McGrath.
55381 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
55383         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
55384         (lgamma_test): Likewise.
55385         (tgamma_test): Likewise.
55387 2012-10-16  Florian Weimer  <fweimer@redhat.com>
55389         [BZ #14700]
55390         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
55391         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
55393 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
55395         * NEWS: Mention BZ #14716.
55396         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
55397         when removing AVAILABLE1_USES_J macro.
55399 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
55401         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
55402         (__bswap_64): __uint64_t for unsigned 64-bit int.
55404 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
55406         * include/string.h (memmem): Declare libc hidden alias.
55407         * string/memmem.c (memmem): Define libc hidden alias.
55408         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
55409         __read, __close instead of open, read, close.
55411 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
55413         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
55414         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
55415         global and hidden.
55416         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
55417         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
55418         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
55419         Likewise.
55420         (__rawmemchr_sse2): Likewise.
55421         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
55422         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
55423         (__strchr_sse2): Likewise.
55424         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
55425         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
55426         (__strcasecmp_sse2): Likewise.
55427         (__strncasecmp_sse2): Likewise.
55428         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
55429         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
55430         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
55431         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
55432         (__strrchr_sse2): Likewise.
55433         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
55434         ifunc-impl-list.c.
55435         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
55436         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
55437         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
55438         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55439         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
55440         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
55441         * sysdeps/x86_64/multiarch/memset.S: Likewise.
55442         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
55443         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
55444         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
55445         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
55446         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
55447         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
55448         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
55449         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
55450         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
55451         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
55452         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
55453         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
55454         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
55455         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
55456         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
55457         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
55458         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
55459         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
55460         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55461         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
55462         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
55463         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
55464         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
55466         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
55467         global and hidden.
55468         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
55469         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
55470         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
55471         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
55472         Likewise.
55473         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
55474         Likewise.
55475         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
55476         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
55477         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
55478         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
55479         ifunc-impl-list.c.
55480         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55481         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55482         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55483         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55484         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55485         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55486         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55487         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55488         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55489         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55490         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55491         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55492         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55493         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
55494         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
55495         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55496         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
55497         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
55498         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55499         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55500         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55501         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55502         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55503         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55504         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55505         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
55506         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
55507         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
55508         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
55509         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55510         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
55511         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55512         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55513         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
55514         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55515         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55516         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55517         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55518         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55519         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55520         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
55522         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
55523         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
55524         * include/ifunc-impl-list.h: New file.
55525         * misc/ifunc-impl-list.c: Likewise.
55526         * misc/Makefile (routines): Add ifunc-impl-list.
55527         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
55528         * string/test-string.h: Include <ifunc-impl-list.h>.
55529         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
55530         TEST_NAME]: New variables.
55531         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
55532         are defined.
55533         (test_init): Call __libc_ifunc_impl_list to initialize
55534         func_list if TEST_IFUNC and TEST_NAME are defined.
55536         * string/Makefile (strop-tests): Add bcopy and bzero.
55537         * string/test-bcopy.c: New file.
55538         * string/test-bzero.c: Likewise.
55539         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
55540         defined.
55541         * string/test-memset.c: Support bzero test if TEST_BZERO is
55542         defined.
55543         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
55544         __libc_memmove.
55545         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
55546         __libc_memset.
55547         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
55548         of memset.
55550 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
55552         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
55553         * configure: Regenerated.
55555         * Makeconfig (+link-static-before-libc): Don't include
55556         $(link-static-libc).
55558         * libio/libio.h (_IO_pos_t): Remove.
55560 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55562         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
55563         McGrath.
55565 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55567         * crypt/crypt-entry.c: Include fips-private.h.
55568         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
55569         * crypt/md5c-test.c (main): Tolerate disabled MD5.
55570         * sysdeps/unix/sysv/linux/fips-private.h: New file.
55571         * sysdeps/generic/fips-private.h: New file, dummy fallback.
55573 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55575         * crypt/crypt-private.h: Include stdbool.h.
55576         (_ufc_setup_salt_r): Return bool.
55577         * crypt/crypt-entry.c: Include errno.h.
55578         (__crypt_r): Return NULL with EINVAL for bad salt.
55579         * crypt/crypt_util.c (bad_for_salt): New.
55580         (_ufc_setup_salt_r): Check that salt is long enough and within
55581         the specified alphabet.
55582         * crypt/badsalttest.c: New file.
55583         * crypt/Makefile (tests): Add it.
55584         ($(objpfx)badsalttest): New.
55586 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
55588         * NEWS: Add entry for BZ #14602.
55590 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
55592         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
55593         type-generic.
55594         * math/libm-test.inc: Update comment listing what functions and
55595         macros are tested.
55596         (isgreater_test): New function.
55597         (isgreaterequal_test): Likewise.
55598         (isless_test): Likewise.
55599         (islessequal_test): Likewise.
55600         (islessgreater_test): Likewise.
55601         (isunordered_test): Likewise.
55602         (main): Call the new functions.
55604 2012-10-09  Roland McGrath  <roland@hack.frob.com>
55606         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
55607         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
55608         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
55609         * sysdeps/i386/configure: Regenerated.
55610         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
55611         * sysdeps/mach/configure: Regenerated.
55612         * sysdeps/mach/hurd/configure: Regenerated.
55613         * sysdeps/powerpc/configure: Regenerated.
55614         * sysdeps/powerpc/powerpc32/configure: Regenerated.
55615         * sysdeps/powerpc/powerpc64/configure: Regenerated.
55616         * sysdeps/s390/s390-32/configure: Regenerated.
55617         * sysdeps/s390/s390-64/configure: Regenerated.
55618         * sysdeps/sh/configure: Regenerated.
55619         * sysdeps/sparc/configure: Regenerated.
55620         * sysdeps/unix/sysv/linux/configure: Regenerated.
55621         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
55622         * sysdeps/x86_64/configure: Regenerated.
55624         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
55625         defined.  Don't check if MAP is NULL.
55627 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
55629         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
55630         (_G_stat64): Likewise.
55631         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
55632         (_G_stat64): Likewise.
55633         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
55634         instead of struct _G_stat64.
55635         * libio/fileops.c (mmap_remap_check): Likewise.
55636         (decide_maybe_mmap): Likewise.
55637         (_IO_new_file_seekoff): Likewise.
55638         (_IO_file_stat): Likewise.
55639         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
55640         _G_off64_t.
55641         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
55642         instead of struct _G_stat64.
55643         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
55645 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
55647         [BZ #14602]
55648         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55649         Replace with ...
55650         (CHECK_EOL): New macro.
55651         (two_way_short_needle): Check beginning of haystack for EOL.  Use
55652         CHECK_EOL.
55653         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55654         Replace with CHECK_EOL.
55655         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55656         Replace with CHECK_EOL.
55658 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
55660         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
55661         type-generic.
55662         * math/libm-test.inc: Update comment listing what functions and
55663         macros are tested.
55664         (finite_test): New function.
55665         (isinf_test): Likewise.
55666         (isnan_test): Likewise.
55667         (fpclassify_test): Test subnormal input.
55668         (isfinite_test): Likewise.
55669         (isnormal_test): Likewise.
55670         (main): Call the new functions.
55672 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
55674         [BZ #14660]
55675         * Makerules (%.dynsym): Force C locale when running
55676         $(OBJDUMP) --dynamic-syms.
55678 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
55680         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
55681         <stdint.h>.
55683 2012-10-06  David S. Miller  <davem@davemloft.net>
55685         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
55686         upper 32-bits of the length value in %o2 since we use branch-on-register
55687         tests which consider the entire 64-bit register.
55689 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
55691         * string/test-strstr.c (check2): Add a test for page boundary.
55693 2012-10-05  David S. Miller  <davem@davemloft.net>
55695         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
55696         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
55697         file.
55698         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
55699         sysdep_routines.
55700         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
55701         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
55702         and bzero when HWCAP_SPARC_CRYPTO is present.
55704 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
55706         [BZ #14602]
55707         * string/test-strstr.c (check2): New function.
55708         (test_main): Call check2.
55710         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
55711         and bug-strchr1.
55712         * string/bug-strcasestr1.c (do_test): Moved to ...
55713         * string/test-strcasestr.c (check1): Here.  New function.
55714         (do_one_test): Break out result checking code into ...
55715         (check_result): This.  New function.
55716         (do_one_test): Call check_result.
55717         (test_main): Call check1.
55718         * string/bug-strchr1.c (do_test): Moved to ...
55719         * string/test-strchr.c (check1): Here.  New function.
55720         (do_one_test): Break out result checking code into ...
55721         (check_result): This.  New function.
55722         (do_one_test): Call check_result.
55723         (test_main): Call check1.
55724         * string/bug-strstr1.c (main): Moved to ...
55725         * string/test-strstr.c (check1): Here.  New function.
55726         (do_one_test): Break out result checking code into ...
55727         (check_result): This.  New function.
55728         (do_one_test): Call check_result.
55729         (test_main): Call check1.
55730         * string/bug-strcasestr1.c: Removed.
55731         * string/bug-strchr1.c: Likewise.
55732         * string/bug-strstr1.c: Likewise.
55734         * elf/Makefile (dl-routines): Add hwcaps.
55735         * elf/dl-support.c (_dl_important_hwcaps): Removed.
55736         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
55737         (_dl_important_hwcaps): Moved to ...
55738         * elf/dl-hwcaps.c: Here.  New file.
55739         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
55741         [BZ #14557]
55742         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
55743         if IS_IN_rtld isn't defined.
55745         * elf/dl-support.c (_dl_sysinfo_map): New.
55746         Include "get-dynamic-info.h" and "setup-vdso.h".
55747         (_dl_non_dynamic_init): Call setup_vdso.
55748         * elf/dynamic-link.h: Don't include <assert.h>.
55749         (elf_get_dynamic_info): Moved to ...
55750         * elf/get-dynamic-info.h: Here.  New file.
55751         * elf/dynamic-link.h: Include "get-dynamic-info.h".
55752         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
55753         * elf/setup-vdso.h: Here.  New file.
55754         * elf/rtld.c: Include "setup-vdso.h".
55755         (dl_main): Call setup_vdso.
55757 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
55759         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
55760         creal in comment listing functions tested.  List finite, isinf,
55761         isnan, isless, islessequal, isgreater, isgreaterequal,
55762         islessgreater, isunordered, lgamma_r and pow10 as functions and
55763         macros not tested.  Mention which functions not tested are aliases
55764         for other functions.  Fix typo.  Note that signs of NaNs are not
55765         tested.
55767         * scripts/config.guess: Update from config.git.
55768         * scripts/config.sub: Likewise.
55770 2012-10-04  Roland McGrath  <roland@hack.frob.com>
55772         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
55773         * misc/madvise.c (madvise): Renamed to __madvise.
55774         Make madvise a weak alias.
55775         * include/sys/mman.h: Declare __madvise.
55776         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
55777         * sysdeps/unix/syscalls.list
55778         (madvise): Make __madvise the strong name, and madvise a weak alias.
55779         * sysdeps/unix/sysv/linux/syscalls.list
55780         (madvise, mmap): Remove redundant entries.
55781         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
55782         * malloc/malloc.c (mtrim): Likewise.
55783         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
55785 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55787         * sysdeps/mach/hurd/dl-cache.c: File removed.
55788         * config.h.in (USE_LDCONFIG): New #undef.
55789         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
55790         * configure: Regenerated.
55791         * elf/Makefile (dl-routines): Add dl-cache only under
55792         [$(use-ldconfig) = yes].
55793         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
55794         cache on [USE_LDCONFIG].
55795         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
55796         [USE_LDCONFIG].
55797         * elf/rtld.c (dl_main): Likewise.
55799 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
55801         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
55802         _SC_LEVEL4_CACHE_LINESIZE.
55804 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55806         * sysdeps/unix/bsd/confstr.h: File removed.
55808 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
55810         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
55811         sys/sdt-config.h.
55813 2012-10-02  Roland McGrath  <roland@hack.frob.com>
55815         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
55816         Make 'mapoff' field ElfW(Off) rather than off_t.
55818 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
55820         * nscd/Makefile: Remove nscd-cflags and all its users.
55821         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
55822         (CFLAGS-nonlib): Add compiler flags for nscd modules.
55824         [BZ #10631]
55825         * malloc.c (malloc_printerr): Clarify error message.
55827 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
55829         [BZ #14648]
55830         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55831         Set bit_FMA_Usable if FMA is supported.
55832         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
55833         macro.
55834         (bit_FMA4_Usable): Updated.
55835         (index_FMA_Usable): New macro.
55836         (CPUID_FMA): Likewise.
55837         (HAS_FMA): Defined with bit_FMA_Usable.
55839 2012-10-01  Roland McGrath  <roland@hack.frob.com>
55841         * bits/types.h (__swblk_t): Type removed.
55842         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
55843         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
55844         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55845         (__SWBLK_T_TYPE): Likewise.
55846         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55847         (__SWBLK_T_TYPE): Likewise.
55848         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55849         (__SWBLK_T_TYPE): Likewise.
55850         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55851         (__SWBLK_T_TYPE): Likewise.
55853 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
55854             Honza Horak <hhorak@redhat.com>
55856         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
55857         (xdr_mapname): Use YPMAXMAP as maxsize.
55858         (xdr_peername): Use YPMAXPEER as maxsize.
55859         (xdr_keydat): Use YPAXRECORD as maxsize.
55860         (xdr_valdat): Use YPMAXRECORD as maxsize.
55862 2012-10-01  Roland McGrath  <roland@hack.frob.com>
55864         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
55866         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
55867         * csu/init-first.c: ... here.
55868         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
55869         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
55870         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
55871         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
55872         * sysdeps/i386/init-first.c: File removed.
55873         * sysdeps/sh/init-first.c: File removed.
55875 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
55877         [BZ #14645]
55878         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
55879         if x * y might underflow to zero and z is zero.
55880         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55881         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55882         * math/libm-test.inc (min_subnorm_value): New variable.
55883         (fma_test): Add more tests.
55884         (fma_test_towardzero): Likewise.
55885         (fma_test_downward): Likewise.
55886         (fma_test_upward): Likewise.
55887         (initialize): Set min_subnorm_value.
55889 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
55891         [BZ #14638]
55892         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
55893         0 + 0.
55894         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
55895         mode for addition resulting in exact zero.
55896         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
55897         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
55898         exact 0 + 0.
55899         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55900         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55901         * math/libm-test.inc (fma_test): Add more tests.
55902         (fma_test_towardzero): New function.
55903         (fma_test_downward): Likewise.
55904         (fma_test_upward): Likewise.
55905         (main): Call the new functions.
55907 2012-09-28  David S. Miller  <davem@davemloft.net>
55909         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
55911 2012-09-28  Roland McGrath  <roland@hack.frob.com>
55913         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
55914         instead of SIGALRM.
55916         * sysdeps/gnu/_G_config.h: Moved to ...
55917         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
55918         * sysdeps/mach/hurd/_G_config.h: Moved to ...
55919         * sysdeps/generic/_G_config.h: ... here.
55921         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
55923         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
55925         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
55926         Conditionalize target on [libnss_test1.so-version].
55928         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
55930         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
55931         (elfobjdir): Move out of conditionals.
55933         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
55934         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
55935         (__nss_lookup_function): Conditionalize label remove_from_tree on
55936         [!DO_STATIC_NSS || SHARED], matching its only use.
55938 2012-09-28  David S. Miller  <davem@davemloft.net>
55940         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
55941         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
55942         file.
55943         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
55944         sysdep_routines.
55945         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
55946         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
55947         when HWCAP_SPARC_CRYPTO is present.
55949 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55951         * io/tst-mknodat.c: Create a FIFO instead of a socket.
55953 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
55955         [BZ #6530]
55956         * stdio-common/vfprintf.c (process_string_arg): Revert
55957         2000-07-22 change.
55959 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
55961         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
55962         for testcase.
55963         * stdio-common/tst-sprintf.c: Include <locale.h>
55964         (main): Test sprintf's handling of incomplete multibyte
55965         characters.
55967 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
55969         * elf/dl-runtime.c (VERSYMIDX): Removed.
55970         * elf/dl-version.c (VERSYMIDX): Likewise.
55971         * elf/do-rel.h (VERSYMIDX): Likewise.
55972         (VALIDX): Likewise.
55973         * elf/dynamic-link.h (VERSYMIDX): Likewise.
55974         * elf/rtld.c (VALIDX): Likewise.
55975         (ADDRIDX): Likewise.
55976         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
55977         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
55978         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
55979         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
55980         (VALIDX): Likewise.
55981         (ADDRIDX): Likewise.
55983 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55985         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
55987 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
55989         [BZ #11438]
55990         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
55991         to global scope.
55992         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
55993         addresses are in the same scope as 192.0.2/24.
55994         * posix/gai.conf: Document new scope table defaults.
55996 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55998         [BZ #5298]
55999         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
56000         for ftell.  Compute offsets from write pointers instead.
56001         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
56003 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56005         [BZ #14543]
56006         * libio/Makefile (tests): New test case tst-fseek.
56007         * libio/tst-fseek.c: New test case to verify that fseek/ftell
56008         combination works in wide mode.
56009         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
56010         state when the external buffer state changes.
56012 2012-09-27  David S. Miller  <davem@davemloft.net>
56014         [BZ #14376]
56015         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
56016         pass reloc->r_addend in as the 'high' argument to
56017         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
56019         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56021 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56023         * rt/tst-aio2.c: Include <pthread.h>.
56024         * rt/tst-aio3.c: Likewise.
56026 2012-09-27  Steve Ellcey  <sellcey@mips.com>
56028         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
56030 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
56032         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
56033         contents on [SHARED].
56035 2012-09-26  Marek Polacek  <polacek@redhat.com>
56037         [BZ #14530]
56038         [BZ #13741]
56039         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
56040         for C++ and GCC <4.3 as well as for non GCC compilers.
56042 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
56044         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56046 2012-09-25  Roland McGrath  <roland@hack.frob.com>
56048         * Makefile.in (all, install): Declare with .PHONY.
56049         Reported by Michael Hope <michael.hope@linaro.org>.
56051 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56053         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
56054         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
56055         system header.
56056         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
56057         Likewise.
56058         (sydep_routines): Add the new and the internal functions.
56059         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
56060         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
56061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
56062         (GLIBC_2.17): Add the new function.
56063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56064         (GLIBC_2.17): Likewise.
56065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
56066         (GLIBC_2.17): Likewise.
56067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
56068         (GLIBC_2.17): Likewise.
56069         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
56071 2012-09-25  Alan Modra  <amodra@gmail.com>
56073         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
56074         Add release barrier before setting once_control to say
56075         initialisation is done.  Add hints on lwarx.  Use macro in
56076         place of isync.
56077         (clear_once_control): Add release barrier.
56079 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56081         [BZ #13629]
56082         * math/s_clog.c (__clog): Handle more values close to |z| = 1
56083         specially.
56084         * math/s_clog10.c (__clog10): Likewise.
56085         * math/s_clog10f.c (__clog10f): Likewise.
56086         * math/s_clog10l.c (__clog10l): Likewise.
56087         * math/s_clogf.c (__clogf): Likewise.
56088         * math/s_clogl.c (__clogl): Likewise.
56089         * math/Makefile (libm-calls): Add x2y2m1.
56090         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
56091         (__x2y2m1): Likewise.
56092         (__x2y2m1l): Likewise.
56093         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
56094         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
56095         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
56096         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
56097         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
56098         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
56099         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
56100         * sysdeps/i386/fpu/libm-test-ulps: Update.
56101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56103         [BZ #14621]
56104         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
56105         int as type of variable DEPTH.
56106         (glob): Use size_t instead of int as type of variables NEWCOUNT
56107         and OLD_PATHC.
56109 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56111         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56112         Add s_sincosf-sse2.
56113         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
56114         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
56115         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
56116         macros for using routine as __sincosf_ia32.
56117         Use macro for function declaration and weak_alias.
56118         * sysdeps/i386/fpu/libm-test-ulps: Update.
56120         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
56121         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56123         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
56124         subnormal argument.
56125         * math/s_cexpf.c (__cexpf): Likewise.
56126         * math/s_csinf.c (__csinf): Likewise.
56127         * math/s_csinhf.c (__csinhf): Likewise.
56128         * math/s_ctanf.c (__ctanf): Likewise.
56129         * math/s_ctanhf.c (__ctanhf): Likewise.
56130         * math/s_ccosh.c (__ccoshf): Likewise.
56131         * math/s_cexp.c (__cexpl): Likewise.
56132         * math/s_csin.c (__csin): Likewise.
56133         * math/s_csinh.c (__csinh): Likewise.
56134         * math/s_ctan.c (__ctan): Likewise.
56135         * math/s_ctanh.c (ctanh): Likewise.
56136         * math/s_ccoshl.c (__ccoshl): Likewise.
56137         * math/s_cexpl.c (__cexpl): Likewise.
56138         * math/s_csinl.c (__csinl): Likewise.
56139         * math/s_csinhl.c (__csinhl): Likewise.
56140         * math/s_ctanl.c (__ctanl): Likewise.
56141         * math/s_ctanhl.c (__ctanhl): Likewise.
56143 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56145         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
56146         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
56147         (_IO_off_t): Define to __off_t, not _G_off_t.
56148         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
56149         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
56150         (_IO_wint_t): Define to wint_t, not _G_wint_t.
56151         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
56152         type of __dummy and __dummy2 fields.
56153         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
56154         (_G_ssize_t): Likewise.
56155         (_G_off_t): Likewise.
56156         (_G_pid_t): Likewise.
56157         (_G_uid_t): Likewise.
56158         (_G_wchar_t): Likewise.
56159         (_G_wint_t): Likewise.
56160         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
56161         (_G_ssize_t): Likewise.
56162         (_G_off_t): Likewise.
56163         (_G_pid_t): Likewise.
56164         (_G_uid_t): Likewise.
56165         (_G_wchar_t): Likewise.
56166         (_G_wint_t): Likewise.
56167         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
56168         (_G_ssize_t): Likewise.
56169         (_G_off_t): Likewise.
56170         (_G_pid_t): Likewise.
56171         (_G_uid_t): Likewise.
56172         (_G_wchar_t): Likewise.
56173         (_G_wint_t): Likewise.
56175 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56177         * malloc/arena.c: Include malloc-sysdep.h.
56178         (shrink_heap): Use check_may_shrink_heap to decide if madvise
56179         is sufficient to shrink the heap or an unmap is needed.
56180         * sysdeps/generic/malloc-sysdep.h: New file.  Define
56181         new function check_may_shrink_heap.
56182         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
56183         new function check_may_shrink_heap.
56185 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56187         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
56188         comments.
56190 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
56192         * catgets/test-gencat.sh: Add "set -e".
56193         * elf/tst-pathopt.sh: Likewise.
56194         * grp/tst_fgetgrent.sh: Likewise.
56195         * iconvdata/run-iconv-test.sh: Likewise.
56196         * intl/tst-gettext.sh: Likewise.
56197         * intl/tst-gettext2.sh: Likewise.
56198         * intl/tst-gettext4.sh: Likewise.
56199         * intl/tst-gettext6.sh: Likewise.
56200         * intl/tst-translit.sh: Likewise.
56201         * io/ftwtest-sh: Likewise.
56202         * libio/test-freopen.sh: Likewise.
56203         * malloc/tst-mtrace.sh: Likewise.
56204         * posix/globtest.sh: Likewise.
56205         * posix/tst-getconf.sh: Likewise.
56206         * posix/wordexp-tst.sh: Likewise.
56207         * stdio-common/tst-printf.sh: Likewise.
56208         * stdio-common/tst-unbputc.sh: Likewise.
56209         * stdlib/tst-fmtmsg.sh: Likewise.
56210         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56211         * catgets/Makefile: Do not specify -e option when running
56212         testsuite shell scripts.
56213         * elf/Makefile: Likewise.
56214         * grp/Makefile: Likewise.
56215         * iconvdata/Makefile: Likewise.
56216         * intl/Makefile: Likewise.
56217         * io/Makefile: Likewise.
56218         * libio/Makefile: Likewise.
56219         * malloc/Makefile: Likewise.
56220         * posix/Makefile: Likewise.
56221         * stdio-common/Makefile: Likewise.
56222         * stdlib/Makefile: Likewise.
56223         * sysdeps/x86_64/Makefile: Likewise.
56225         * io/ftwtest-sh: Add copyright header.
56226         * posix/globtest.sh: Likewise.
56227         * posix/tst-getconf.sh: Likewise.
56228         * posix/wordexp-tst.sh: Likewise.
56229         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56231 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
56233         [BZ #13679]
56234         * Makeconfig (+link): Defined as $(+link-static) if
56235         $(build-shared) isn't yes.
56236         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
56237         isn't yes.
56238         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
56240         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
56242         [BZ #14562]
56243         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
56244         new chunk size with MALLOC_ALIGN_MASK.
56246 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
56248         [BZ #5044]
56249         * stdio-common/printf_fphex.c: Include <stdbool.h> and
56250         <rounding-mode.h>.
56251         (__printf_fphex): Determine rounding using get_rounding_mode and
56252         round_away.
56253         * stdio-common/tst-printf-round.c (struct hex_test): New
56254         structure.
56255         (hex_tests): New variable.
56256         (test_hex_in_one_mode): New function.
56257         (do_test): Also run tests for hex float output.
56259 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
56261         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56262         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56263         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
56264         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56265         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56266         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
56267         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56268         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56270 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
56272         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
56273         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
56274         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
56275         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
56277 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
56279         [BZ #14579]
56280         * elf/rtld.c (dl_main): Limit the check for self loading to normal
56281         mode only.
56282         * elf/tst-rtld-load-self.sh: New test.
56283         * elf/Makefile: Run it.
56285 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
56287         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
56288         (tst-writev-ENV): Remove.
56289         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
56291 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
56293         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
56295 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
56297         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
56298         unconditional.
56299         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
56300         Likewise.
56301         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
56302         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
56303         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
56304         Likewise.
56306 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
56308         [BZ #14587]
56309         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
56310         * config.make.in (have-cpp-asm-debuginfo): Removed.
56311         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
56312         * configure: Regenerated.
56314 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
56316         [BZ #5044]
56317         * stdio-common/printf_fp.c: Include <stdbool.h> and
56318         <rounding-mode.h>.
56319         (___printf_fp): Determine rounding using get_rounding_mode and
56320         round_away.
56321         * stdio-common/tst-printf-round.c: New file.
56322         * stdio-common/Makefile (tests): Add tst-printf-round.
56323         (link-libm): New variable.
56324         ($(objpfx)tst-printf-round): Depend in $(link-libm).
56326 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
56328         [BZ #14576]
56329         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
56330         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
56331         Likewise.
56332         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
56333         Likewise.
56335 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
56337         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
56338         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56339         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56340         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56342 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
56344         [BZ #14518]
56345         * include/rounding-mode.h: New file.
56346         * sysdeps/generic/get-rounding-mode.h: Likewise.
56347         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
56348         * stdlib/strtod_l.c: Include <rounding-mode.h>.
56349         (MAX_VALUE): New macro.
56350         (MIN_VALUE): Likewise.
56351         (overflow_value): New function.
56352         (underflow_value): Likewise.
56353         (round_and_return): Use overflow_value and underflow_value to
56354         determine return values in overflow and underflow cases.  Use
56355         round_away to determine rounding depending on rounding mode.
56356         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
56357         determine return values in overflow and underflow cases.
56358         * stdlib/tst-strtod-round.c: Include <fenv.h>.
56359         (struct test_results): New structure.
56360         (struct test): Use struct test_results to store expected results
56361         for all rounding modes.
56362         (TEST): Include expected results for all rounding modes.
56363         (test_in_one_mode): New function.
56364         (do_test): Use test_in_one_mode to compute and check results.
56365         Check results for all rounding modes.
56366         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
56367         $(link-libm).
56369 2012-12-09  Allan McRae  <allan@archlinux.org>
56371         * sysdeps/i386/fpu/libm-test-ulps: Update
56373 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
56375         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
56376         (_G_int32_t): Likewise.
56377         (_G_uint16_t): Likewise.
56378         (_G_uint32_t): Likewise.
56379         (_G_HAVE_BOOL): Likewise.
56380         (_G_HAVE_ATEXIT): Likewise.
56381         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56382         (_G_HAVE_IO_FILE_OPEN): Likewise.
56383         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
56384         (_G_int32_t): Likewise.
56385         (_G_uint16_t): Likewise.
56386         (_G_uint32_t): Likewise.
56387         (_G_HAVE_BOOL): Likewise.
56388         (_G_HAVE_ATEXIT): Likewise.
56389         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56390         (_G_HAVE_IO_FILE_OPEN): Likewise.
56391         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
56392         (_G_int32_t): Likewise.
56393         (_G_uint16_t): Likewise.
56394         (_G_uint32_t): Likewise.
56395         (_G_HAVE_BOOL): Likewise.
56396         (_G_HAVE_ATEXIT): Likewise.
56397         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56398         (_G_HAVE_IO_FILE_OPEN): Likewise.
56400 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
56402         * csu/libc-tls.c: Update copyright years.
56404 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
56406         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
56407         [!_G_USING_THUNKS]: Remove conditional code.
56408         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
56409         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
56411         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
56412         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
56413         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56414         (_G_VTABLE_LABEL_PREFIX): Likewise.
56415         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56416         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56417         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56418         (_G_VTABLE_LABEL_PREFIX): Likewise.
56419         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
56420         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56421         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56422         (_G_VTABLE_LABEL_PREFIX): Likewise.
56423         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
56425 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
56427         * libio/Makefile: Include ../Makeconfig before tests.
56428         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
56429         only if $(build-shared) is yes.
56431         * iconv/gconv_db.c: Update copyright years.
56433 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56435         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
56436         unwind info if defined PIC. Fix special cases description.
56437         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
56439         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
56440         DP_HI_MASK entry.
56441         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
56443 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
56445         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
56447         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
56448         is NULL.
56450         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
56451         (LDLIBS-tst-chk4): This.
56452         (LDFLAGS-tst-chk5): Renamed to ...
56453         (LDLIBS-tst-chk5): This.
56454         (LDFLAGS-tst-chk6): Renamed to ...
56455         (LDLIBS-tst-chk6): This.
56456         (LDFLAGS-tst-lfschk4): Renamed to ...
56457         (LDLIBS-tst-lfschk4): This.
56458         (LDFLAGS-tst-lfschk5): Renamed to ...
56459         (LDLIBS-tst-lfschk5): This.
56460         (LDFLAGS-tst-lfschk6): Renamed to ...
56461         (LDLIBS-tst-lfschk6): This.
56463         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
56464         on $(common-objpfx)soversions.mk.
56466 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
56468         [BZ #10014]
56469         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
56470         example host name.
56472 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56474         * malloc/arena.c (arena_get_retry): New function that gets
56475         another arena for the caller to try its request on.
56476         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
56477         current arena cannot fulfill the request.
56478         (__libc_memalign): Likewise.
56479         (__libc_memalign): Likewise.
56480         (__libc_pvalloc): Likewise.
56481         (__libc_calloc): Likewise.
56483 2012-09-05  John Tobey  <john.tobey@gmail.com>
56485         [BZ #13542]
56486         * manual/arith.texi (Operations on Complex): Fix description
56487         of carg branch cut.
56489 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
56491         [BZ #10014]
56492         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
56493         host name.
56495         [BZ #10038]
56496         * manual/memory.texi (Memory): Make order of menu items match
56497         order of sections.
56499 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56501         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
56502         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
56503         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
56505 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56507         * csu/libc-tls.c (static_dtv): Renamed to ...
56508         (_dl_static_dtv): This.  Make it global.
56509         (_dl_initial_dtv): Removed.
56510         (__libc_setup_tls): Updated.
56511         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
56512         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
56513         DL_INITIAL_DTV.
56515 2012-09-06  Petr Machata  <pmachata@redhat.com>
56517         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
56518         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
56519         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
56520         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
56522 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56524         [BZ #14545]
56525         * csu/libc-tls.c (_dl_initial_dtv): New variable.
56526         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
56527         freeing dtv[-1].
56529 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56531         [BZ #14544]
56532         * Makeconfig (link-static-before-libc): Replace $(+prector)
56533         with $(+prectorT).
56534         (link-static-after-libc): Replace $(+postctor) with
56535         $(+postctorT).
56536         (link-bounded): Replace $(+prector)/$(+postctor) with
56537         $(+prectorT)/$(+postctorT).
56538         (+prectorT): New macro.
56539         (+postctorT): Likewise.
56541 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
56543         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
56544         (round_str): Handle values above the maximum for IBM long double
56545         as inexact.
56546         * stdlib/tst-strtod-round.c (tests): Regenerated.
56548 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56550         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
56551         assembler flag.
56552         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
56553         zarch_nohighgprs around the zarch optimized routines.
56554         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
56555         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
56556         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
56557         for zarch.
56559 2012-09-05  David S. Miller  <davem@davemloft.net>
56561         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56563         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
56564         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
56565         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
56566         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56567         entries.
56569 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56571         * malloc/arena.c: Fold copyright years.
56572         * malloc/mcheck.c, malloc/memusage.c: Likewise.
56574 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56576         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
56578 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56580         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
56582 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56584         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
56585         change internal state upon failure.
56587 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56589         * malloc/mcheck.c (mcheck_check_all): Fix typo.
56590         * malloc/memusage.c (mmap): Likewise.
56591         (mmap64, mremap): Likewise.  Adjust name in comment.
56593 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56595         * libio/fileops.c: Fix typos in comments.
56596         * libio/oldfileops.c: Likewise.
56597         * libio/wfileops.c: Likewise.
56599 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56601         [BZ #1349]
56602         * malloc/Makefile (tests): Add tst-malloc-usable test case.
56603         (tst-malloc-usable-ENV): Set environment for test case.
56604         * malloc/hooks.c (malloc_check_get_size): New function to get
56605         requested size.
56606         * malloc/malloc.c (musable): Use malloc_check_get_size.
56607         * malloc/tst-malloc-usable.c: New test case.
56609 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56611         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
56613 2012-09-05  Allan McRae  <allan@archlinux.org>
56615         [BZ #13966]
56616         * configure.in (CXX_SYSINCLUDES): Use compiler output to
56617         determine header location.
56618         * configure: Regenerated.
56620 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56622         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
56623         float format.
56624         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
56625         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
56626         format.
56627         (test): Regenerate.
56629 2012-09-04  David S. Miller  <davem@davemloft.net>
56631         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
56632         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
56633         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
56635 2012-09-04  Florian Weimer  <fweimer@redhat.com>
56637         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
56638         failures.
56640         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
56642 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
56644         [BZ #9914]
56645         * libio/iogetdelim.c: Include <limits.h>.
56646         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
56647         + len + 1 would overflow.
56649 2012-09-03  Andreas Jaeger  <aj@suse.de>
56651         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56652         * sysdeps/i386/fpu/libm-test-ulps: Update.
56654 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56656         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56657         Add s_sinf-sse2, s_conf-sse2.
56659         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
56660         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
56661         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
56662         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
56664         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
56665         for using routine as __sinf_ia32.
56666         Use macro for function declaration and weak_alias.
56667         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
56668         for using routine as __cosf_ia32.
56669         Use macro for function declaration and weak_alias.
56671         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
56672         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
56674         * sysdeps/x86_64/fpu/s_sinf.S: New file.
56675         * sysdeps/x86_64/fpu/s_cosf.S: New file.
56676         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56678         * math/libm-test.inc (cos_test): Add more test cases.
56679         (sin_test): Likewise.
56680         (sincos_test): Likewise.
56682 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56684         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
56685         (IFUNC_RESOLVE): Make pointers to the specialized implementations
56686         hidden.
56687         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
56689 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
56691         [BZ #14538]
56692         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
56693         first element of the GOT.
56694         (elf_machine_load_address): Return the difference between
56695         the runtime address of _DYNAMIC and elf_machine_dynamic ().
56697 2012-09-01  Allan McRae  <allan@archlinux.org>
56699         [BZ #13412]
56700         * configure.in (AWK): Require gawk version 3.0 or later.
56701         * configure: Regenerated.
56703 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
56705         * sysdeps/unix/sysv/linux/kernel-features.h
56706         (__ASSUME_POSIX_CPU_TIMERS): Remove.
56707         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56708         [__NR_clock_getres]: Make code unconditional.
56709         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
56710         (clock_getcpuclockid): Remove code left unreachable by removal of
56711         conditionals.
56712         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
56713         code unconditional.
56714         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
56715         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56716         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
56717         Make code unconditional.
56718         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
56719         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56720         * sysdeps/unix/sysv/linux/clock_settime.c
56721         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
56722         conditional code.
56723         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
56724         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56726 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
56728         [BZ #14476]
56729         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
56730         scripts/test-installation.pl.
56732         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
56733         and $ld_so_version if it is set.
56735 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56737         [BZ #14516]
56738         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
56739         failure if reading from procfs failed.
56740         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
56742 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56744         * sysdeps/unix/sysv/linux/kernel-features.h
56745         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
56746         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56747         Remove conditional code.
56748         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56749         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
56750         Remove conditional code.
56751         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56752         * sysdeps/unix/sysv/linux/i386/fxstat.c
56753         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56754         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56755         * sysdeps/unix/sysv/linux/i386/fxstatat.c
56756         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56757         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56758         * sysdeps/unix/sysv/linux/i386/lxstat.c
56759         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56760         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56761         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
56762         Remove conditional code.
56763         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56764         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56765         Remove conditional code.
56766         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56767         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
56768         <kernel-features.h>.
56769         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
56770         Remove.
56771         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
56772         Remove conditional code.
56773         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56774         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
56775         Remove conditional.
56777 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
56779         [BZ #5400]
56780         * NEWS: Add fixed bug number.
56782 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56784         [BZ #14519]
56785         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
56786         underflowing exponent in case of negative sign.
56787         * stdlib/tst-strtod-round-data: Add more tests.
56788         * stdlib/tst-strtod-round.c (tests): Regenerated.
56790         [BZ #3479]
56791         * stdlib/strtod_l.c (NDIG): Remove.
56792         (HEXNDIG): Likewise.
56793         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
56794         smallest representable value.
56795         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
56796         lie within an exact representation of 1/2 ulp of the result.
56797         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
56798         unconditionally.
56799         (TENS_P9_IDX): Define unconditionally.
56800         (TENS_P9_SIZE): Likewise.
56801         (TENS_P10_IDX): Likewise.
56802         (TENS_P10_SIZE): Likewise.
56803         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
56804         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
56805         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
56806         entries for 10^2^13 and 10^2^14.
56807         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
56808         (TENS_P13_IDX): Define.
56809         (TENS_P13_SIZE): Likewise.
56810         (TENS_P14_IDX): Likewise.
56811         (TENS_P14_SIZE): Likewise.
56812         (_fpioconst_pow10): Change array size to
56813         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
56814         unconditional.
56815         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
56816         1024]: Add entries for 10^2^13 and 10^2^14.
56817         [LAST_POW10 > _LAST_POW10]: Remove #error.
56818         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
56819         (_fpioconst_pow10): Change array size to
56820         FPIOCONST_POW10_ARRAY_SIZE.
56821         * stdlib/gen-fpioconst.c: New file.
56822         * stdlib/gen-tst-strtod-round.c: Likewise.
56823         * stdlib/tst-strtod-round-data: Likewise.
56824         * stdlib/tst-strtod-round.c: Likewise.
56825         * stdlib/Makefile (tests): Add tst-strtod-round.
56827         [BZ #14459]
56828         * stdlib/strtod_l.c: Include <stdint.h>.
56829         (NDEBUG): Do not define.
56830         (round_and_return): Change EXPONENT parameter to type intmax_t.
56831         Rearrange calculations to avoid internal overflow possibilities.
56832         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
56833         Rearrange calculations to avoid internal overflow possibilities.
56834         Assert that number fits inside MPNSIZE limbs.
56835         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
56836         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
56837         calculations and add assertions to avoid internal overflow
56838         possibilities.  Add casts to avoid signed/unsigned operations.
56839         * stdlib/tst-strtod-overflow.c: New file.
56840         * stdlib/Makefile (tests): Add tst-strtod-overflow.
56842 2012-08-25  Marek Polacek  <polacek@redhat.com>
56844         * time/time.h: Fix some typos in comments.
56846 2012-08-23  Roland McGrath  <roland@hack.frob.com>
56848         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
56849         * posix/tst-rfc3484-2.c: Likewise.
56850         * posix/tst-rfc3484-3.c: Likewise.
56852 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
56854         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
56855         (EF_ARM_ABI_FLOAT_HARD): Likewise.
56857 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
56859         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
56860         #include of fxstatat64.c.
56862 2012-08-22  Roland McGrath  <roland@hack.frob.com>
56864         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
56865         * shadow/getspent_r.c: Likewise.
56866         * shadow/getspnam.c: Likewise.
56867         * shadow/getspnam_r.c: Likewise.
56868         * gshadow/getsgent.c: Likewise.
56869         * gshadow/getsgent_r.c: Likewise.
56870         * gshadow/getsgnam.c: Likewise.
56871         * gshadow/getsgnam_r.c: Likewise.
56872         * inet/getnetbyad.c: Likewise.
56873         * inet/getnetbyad_r.c: Likewise.
56874         * inet/getnetbynm.c: Likewise.
56875         * inet/getnetbynm_r.c: Likewise.
56876         * inet/getnetent.c: Likewise.
56877         * inet/getnetent_r.c: Likewise.
56878         * inet/getproto.c: Likewise.
56879         * inet/getproto_r.c: Likewise.
56880         * inet/getprtent.c: Likewise.
56881         * inet/getprtent_r.c: Likewise.
56882         * inet/getprtname.c: Likewise.
56883         * inet/getprtname_r.c: Likewise.
56884         * inet/getrpcbyname.c: Likewise.
56885         * inet/getrpcbyname_r.c: Likewise.
56886         * inet/getrpcbynumber.c: Likewise.
56887         * inet/getrpcbynumber_r.c: Likewise.
56888         * inet/getrpcent.c: Likewise.
56889         * inet/getrpcent_r.c: Likewise.
56890         * inet/getaliasent.c: Likewise.
56891         * inet/getaliasent_r.c: Likewise.
56892         * inet/getaliasname.c: Likewise.
56893         * inet/getaliasname_r.c: Likewise.
56894         * nscd/getgrgid_r.c: Likewise.
56895         * nscd/getgrnam_r.c: Likewise.
56896         * nscd/gethstbyad_r.c: Likewise.
56897         * nscd/gethstbynm3_r.c: Likewise.
56898         * nscd/getpwnam_r.c: Likewise.
56899         * nscd/getpwuid_r.c: Likewise.
56900         * nscd/getsrvbynm_r.c: Likewise.
56901         * nscd/getsrvbypt_r.c: Likewise.
56902         * nscd/gai.c: Likewise.
56904         * configure.in (build_nscd): New substituted variable, set
56905         by --disable-build-nscd and defaults to $use_nscd.
56906         * configure: Regenerated.
56907         * config.make.in (build-nscd): New substituted variable.
56908         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
56909         Change conditional to require [$(build-nscd) = yes] as well.
56910         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
56912         [BZ# 13696]
56913         * configure.in (use_nscd): New substituted variable, set by
56914         --disable-nscd.  If enabled, define USE_NSCD.
56915         * configure: Regenerated.
56916         * config.h.in: Add USE_NSCD.
56917         * config.make.in (use-nscd): New substituted variable.
56918         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
56919         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
56920         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
56921         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
56922         (CFLAGS-getgrnam_r.c): Likewise.
56923         (CFLAGS-initgroups.c): Likewise.
56924         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
56925         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
56926         Variables removed.
56927         * inet/getnetgrent_r.c
56928         (nscd_setnetgrent): New function, broken out of ...
56929         (setnetgrent): ... here.  Call it.
56930         (innetgr): Conditionalize nscd bits on [USE_NSCD].
56931         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
56932         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
56933         * nscd/Makefile (routines, aux): Move definitions after include of
56934         Makeconfig.  Conditionalize on [$(use-nscd) != no].
56935         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
56936         Conditionalize on [USE_NSCD].
56937         (is_nscd, nscd_init_cb): Likewise.
56938         (nss_load_library): Conditionalize init callback on [USE_NSCD].
56939         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
56940         * nss/nss_db/db-init.c: Likewise.
56941         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
56942         [USE_NSCD].
56943         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
56944         (make_request): Use it.
56945         (cache_valid_p): New function.
56946         (__check_pf): Use it.
56947         * NEWS: Add item for --disable-nscd.
56949 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
56951         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
56952         to support sed >= 4.2.1-20-ga9bf076.
56953         * configure: Regenerated.
56955 2012-08-22  Roland McGrath  <roland@hack.frob.com>
56957         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
56958         Conditionalize whole body on [IREL].
56960 2012-08-22  Jeff Law <law@redhat.com>
56962         [BZ #14505]
56963         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
56964         if the family is PF_UNSPEC.
56966 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
56968         * Makerules (lib-version): Rename from V.
56969         (install-lib-nosubdir): Change V to lib-version.
56971 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
56973         [BZ #14252]
56974         * powerpc32/power6/wcschr.c: New file.
56975         * powerpc32/power6/wcscpy.c: New file.
56976         * powerpc32/power6/wcsrchr.c: New file.
56977         * powerpc64/power6/wcschr.c: New file.
56978         * powerpc64/power6/wcscpy.c: New file.
56979         * powerpc64/power6/wcsrchr.c: New file.
56981 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
56983         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
56984         (two_way_short_needle): Use it.
56985         * string/strstr.c (AVAILABLE1_USES_J): Define.
56986         * string/strcasestr.c: Likewise.
56988         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
56989         array references.
56990         * string/strcasestr.c (TOLOWER): Make side-effect safe.
56992         [BZ #11607]
56993         * NEWS: Add an entry.
56994         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
56995         define their defaults.
56996         (two_way_short_needle): Detect end-of-string on-the-fly.
56997         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
56998         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
56999         * string/bug-strcasestr1.c: New test.
57000         * string/Makefile: Run it.
57002 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
57004         [BZ #11607]
57005         * string/str-two-way.h (two_way_short_needle): Optimize matching of
57006         the first character.
57008 2012-08-21  Roland McGrath  <roland@hack.frob.com>
57010         * csu/elf-init.c (__libc_csu_irel): Function removed.
57011         * csu/libc-start.c (apply_irel): New function.
57012         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
57014 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
57016         * sysdeps/unix/sysv/linux/kernel-features.h
57017         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
57018         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
57019         <kernel-features.h>.
57020         [__NR_fadvise64_64]: Make code unconditional.
57021         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
57022         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
57023         !__NR_fadvise64_64)]: Likewise.
57024         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
57025         !__NR_fadvise64_64))]: Likewise.
57026         [__NR_fadvise64]: Make code unconditional.
57027         [!__NR_fadvise64]: Remove conditional code.
57028         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
57029         <kernel-features.h>.
57030         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57031         unconditional.
57032         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57033         conditional code.
57034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
57035         not include <kernel-features.h>.
57036         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57037         unconditional.
57038         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57039         conditional code.
57040         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
57041         include <kernel-features.h>.
57042         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57043         unconditional.
57044         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57045         conditional code.
57047 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57049         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
57050         slight instruction rearrangements per scrollpipe analysis.
57051         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57053 2012-08-20  Roland McGrath  <roland@hack.frob.com>
57055         * manual/syslog.texi (syslog; vsyslog, closelog):
57056         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
57057         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
57059         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
57060         DSOCAPS to match condition on defining it.
57062 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
57064         * sysdeps/unix/sysv/linux/kernel-features.h
57065         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
57066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
57067         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57068         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
57070         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57071         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
57073         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57074         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57076         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
57077         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
57079         * sysdeps/unix/sysv/linux/kernel-features.h
57080         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
57081         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
57082         unconditional.
57083         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57084         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
57085         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57086         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57087         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
57088         Make code unconditional.
57089         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57090         (__mmap64) [!__NR_mmap2]: Likewise.
57091         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
57092         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57093         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57094         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
57095         [__NR_mmap2]: Make code unconditional.
57096         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57097         (__mmap64) [!__NR_mmap2]: Likewise.
57099 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57101         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
57103 2012-08-18  Andreas Jaeger  <aj@suse.de>
57105         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
57107 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57109         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
57110         * include/unistd.h (__have_sock_cloexec): Likewise.
57111         (__have_pipe2): Likewise.
57112         (__have_dup3): Likewise.
57114 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57116         [BZ #9685]
57117         * include/unistd.h (__have_pipe2): Change define into an extern int.
57118         (__have_dup3): Likewise.
57119         * socket/have_sock_cloexec.c: Include fcntl.h.
57120         (__have_pipe2): New variable.
57121         (__have_dup3): Likewise.
57123 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
57125         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
57127 2012-08-17  Marek Polacek  <polacek@redhat.com>
57129         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
57130         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
57132 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57134         * configure.in: Add AC_SUBST for sysheaders.
57135         * configure: Regenerated.
57136         * config.make.in (sysheaders): New substituted variable.
57138         * sysdeps/unix/mkfifo.c: Moved ...
57139         * sysdeps/posix/mkfifo.c: ... here.
57140         * sysdeps/unix/mkfifoat.c: Moved ...
57141         * sysdeps/posix/mkfifoat.c: ... here.
57143         * sysdeps/unix/utime.c: Moved ...
57144         * sysdeps/posix/utime.c: ... here.
57146         * sysdeps/unix/time.c: Moved ...
57147         * sysdeps/posix/time.c: ... here.
57148         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
57149         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
57151         * sysdeps/unix/nice.c: Moved ...
57152         * sysdeps/posix/nice.c: ... here.
57154         * sysdeps/unix/alarm.c: Moved ...
57155         * sysdeps/posix/alarm.c: ... here.
57157         * intl/Makefile ($(codeset_mo)): Depend on the input file.
57159 2012-08-17  Jeff Law <law@redhat.com>
57161         * intl/Makefile (codeset_mo): New variable.
57162         ($(codeset_mo)): New target.
57163         (tst-codeset.out): Depend on that.  Remove explicit rule.
57164         (tst-gettext3.out, tst-gettext5.out): Likewise.
57165         (LOCPATH-ENV, tst-codeset-ENV): New variables.
57166         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
57167         * intl/tst-codeset.sh: Remove.
57168         * intl/tst-gettext3.sh: Likewise.
57169         * intl/tst-gettext5.sh: Likewise.
57171 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57173         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
57174         * sysdeps/unix/syscalls.list: ... here.
57176         * sysdeps/posix/getaddrinfo.c
57177         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
57178         (gaiconf_init, gaiconf_reload): Use them.
57179         [!_STATBUF_ST_NSEC]
57180         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
57181         Define using time_t rather than struct timespec.
57183         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
57184         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
57185         Macros removed.
57186         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
57187         [!NO_THREADS].
57188         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
57189         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
57190         Likewise.
57192         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
57193         __libc_cleanup_push argument.
57195         * bits/param.h: New file.
57196         * misc/sys/param.h: New file.
57197         * include/sys/param.h: New file.
57198         * misc/Makefile (headers): Add bits/param.h.
57199         * sysdeps/generic/sys/param.h: File removed.
57200         * sysdeps/unix/sysv/linux/bits/param.h: New file.
57201         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
57202         * sysdeps/mach/hurd/bits/param.h: New file.
57203         * sysdeps/mach/hurd/sys/param.h: File removed.
57205         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
57206         last change.
57208         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
57209         [_IO_MTSAFE_IO].
57210         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
57211         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
57212         New macros.
57214         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
57215         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
57216         rather than -D_IO_MTSAFE_IO conditionally.
57217         * stdio-common/Makefile (CPPFLAGS): Likewise.
57218         * wcsmbs/Makefile (CPPFLAGS): Likewise.
57219         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
57220         Use $(libio-mtsafe).
57221         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
57222         of -D_IO_MTSAFE_IO.
57223         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
57224         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
57225         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
57226         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
57227         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
57228         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
57229         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
57230         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
57231         (CFLAGS-fread_u_chk.c): Likewise.
57232         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
57233         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
57234         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
57235         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
57236         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
57237         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
57238         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
57239         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
57240         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
57242         * libio/Makefile: Test [$(libc-reentrant) = yes]
57243         instead of [$(filter %REENTRANT, $(defines)) nonempty].
57245         * Makeconfig
57246         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
57247         * sysdeps/pthread/configure: File removed.
57248         * sysdeps/pthread/Makeconfig: New file.
57249         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
57250         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
57252 2012-08-16  Gary Benson  <gbenson@redhat.com>
57254         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
57255         unmapping the first object in a namespace.
57257 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57259         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
57260         (__internal_setnetgrent): ... this.  Add internal_function to
57261         definition.  Add libc_hidden_def.
57262         (setnetgrent): Update caller.
57263         (internal_endnetgrent): Renamed to ...
57264         (__internal_endnetgrent): ... this.  Add internal_function to
57265         definition.  Add libc_hidden_def.
57266         (endnetgrent): Update caller.
57267         (internal_getnetgrent_r): Renamed to ...
57268         (__internal_getnetgrent_r): ... this.  Add internal_function to
57269         definition.  Add libc_hidden_def.
57270         (__getnetgrent_r): Update caller.
57271         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
57273 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
57275         * stdlib/longlong.h: Update from GCC.
57277 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57279         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
57280         on _QL, which is set by umul_ppmm but never used.
57281         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
57282         variables, which are set by GMP macros but never used.
57283         * stdio-common/_itowa.c (_itowa): Likewise.
57284         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
57285         * stdlib/mod_1.c (mpn_mod_1): Likewise.
57287 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
57289         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
57290         struct La_sh_regs is not constant.
57291         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
57292         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
57293         and struct La_sparc64_regs are not constant.
57295 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
57297         * sysdeps/unix/sysv/linux/kernel-features.h
57298         (__ASSUME_POSIX_TIMERS): Remove.
57299         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57300         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57301         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
57302         Make code unconditional.
57303         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57304         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
57305         Make code unconditional.
57306         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57307         * sysdeps/unix/sysv/linux/clock_nanosleep.c
57308         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
57309         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57310         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
57311         Make code unconditional.
57312         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57313         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
57314         (__libc_missing_posix_timers): Remove.
57316 2012-08-15  Roland McGrath  <roland@hack.frob.com>
57318         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
57319         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
57321         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
57323         * elf/dl-sym.c: Include <stdlib.h>.
57325         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
57326         constants, which avoids warnings in 32-bit builds.
57328         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
57329         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
57331         * misc/lseek.c: File moved to ...
57332         * io/lseek.c: ... here.
57334         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
57336         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
57337         shifting LEN more than 31 bits at once.
57339 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57341         [BZ #14195]
57342         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
57343         segmentation fault for a case of two empty input strings.
57344         * string/test-strncasecmp.c (check1): Renamed to...
57345         (bz12205): ...this.
57346         (bz14195): Add new testcase for two empty input strings and N > 0.
57347         (test_main): Call new testcase, adapt for renamed function.
57349 2012-08-15  Andreas Jaeger  <aj@suse.de>
57351         [BZ #14090]
57352         * crypt/md5test2.c: New test, based on test supplied by Serge
57353         Belyshev <belyshev@depni.sinp.msu.ru>.
57354         * crypt/Makefile (xtests): Add md5test-giant..
57355         * crypt/Makefile ($(objpfx)md5test-giant): Add.
57357 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
57359         [BZ #14090]
57360         * crypt/md5.c (md5_process_block): Don't assume the buffer
57361         length is less than 2**32.
57362         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
57363         length is less than 2**64.
57365 2012-08-15  Roland McGrath  <roland@hack.frob.com>
57367         * string/str-two-way.h: Include <sys/param.h>.
57368         (MAX): Macro removed.
57370         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
57371         Move #define and #undef of memmove to just before and after
57372         including <string.h>.
57374         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
57375         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
57376         and after including <string.h>.  Move declarations of
57377         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
57378         to before #include "string/memmove.c".
57380         * include/dirent.h: Declare __getdirentries.
57382         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
57383         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
57385 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
57387         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
57388         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
57389         * sysdeps/i386/configure: Regenerated.
57390         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
57391         STABS_CURRENT_FILE, and STABS_FUN.
57392         (END): Remove call to STABS_FUN_END.
57393         (STABS_CURRENT_FILE1): Delete.
57394         (STABS_CURRENT_FILE): Likewise.
57395         (STABS_FUN): Likewise.
57396         (STABS_FUN_END): Likewise.
57397         (STABS_FUN2): Likewise.
57398         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
57399         * sysdeps/x86_64/configure: Regenerated.
57401 2012-08-14  Roland McGrath  <roland@hack.frob.com>
57403         * elf/dl-open.c: Include <atomic.h>.
57404         * elf/dl-lookup.c: Likewise.
57406 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
57408         * sysdeps/unix/sysv/linux/kernel-features.h
57409         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
57410         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
57411         unconditionally.
57412         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
57413         unconditionally.
57414         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
57415         condition on __ASSUME_CLONE_THREAD_FLAGS.
57417 2012-08-14  Andreas Jaeger  <aj@suse.de>
57419         * sysdeps/i386/fpu/libm-test-ulps: Update.
57421 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
57423         * include/atomic.h (atomic_exchange_and_add): Split into ...
57424         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
57425         New atomic macros.
57427 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
57429         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57431 2012-08-13  Jeff Law <law@redhat.com>
57433         * manual/stdio.texi (snprintf): Clarify handling of the trailing
57434         null byte in the output string.
57436 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
57438         * sysdeps/unix/sysv/linux/kernel-features.h
57439         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
57440         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
57441         (__ASSUME_ARG_MAX_STACK_BASED): Define.
57442         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
57443         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
57444         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
57445         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
57447 2012-08-09  Jeff Law <law@redhat.com>
57449         [BZ #13939]
57450         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
57451         When avoid_arena is set, don't retry in the that arena.  Pick the
57452         next one, whatever it might be.
57453         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
57454         (arena_lock): Pass in new parameter to arena_get2.
57455         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
57456         arena_get2.
57457         (__libc_malloc): Unify retrying after main arena failure with
57458         __libc_memalign version.
57459         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
57461 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
57463         [BZ #14166]
57464         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
57465         to __redirect_strstr.
57466         (__strstr_sse42): Use typeof __redirect_strstr.
57467         (__strstr_ia32): Likewise.
57468         (__libc_strstr): New prototype.
57469         (strstr): Renamed to ...
57470         (__libc_strstr): This.
57471         (strstr): New strong alias of __libc_strstr.
57472         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57473         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
57474         __redirect_time.
57475         Include <time.h>.
57476         (__libc_time): New prototype.
57477         (time_ifunc): Replace time with __libc_time.
57478         (time): New strong alias and hidden definition of __libc_time.
57479         (__GI_time): Remove strong alias.
57480         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
57481         Include <stddef.h>.
57482         (memmove): Redefined to __redirect_memmove.
57483         (__memmove_sse2): Use typeof __redirect_memmove.
57484         (__memmove_ssse3): Likewise.
57485         (__memmove_ssse3_back): Likewise.
57486         (__libc_memmove): New prototype.
57487         (memmove): Renamed to ...
57488         (__libc_memmove): This.
57489         (memmove): New strong alias of __libc_memmove.
57491 2012-08-08  Mark Salter  <msalter@redhat.com>
57493         * elf/elf.h
57494         (R_MN10300_TLS_GD): Define.
57495         (R_MN10300_TLS_LD): Likewise.
57496         (R_MN10300_TLS_LDO): Likewise.
57497         (R_MN10300_TLS_GOTIE): Likewise.
57498         (R_MN10300_TLS_IE): Likewise.
57499         (R_MN10300_TLS_LE): Likewise.
57500         (R_MN10300_TLS_DTPMOD): Likewise.
57501         (R_MN10300_TLS_DTPOFF): Likewise.
57502         (R_MN10300_TLS_TPOFF): Likewise.
57503         (R_MN10300_SYM_DIFF): Likewise.
57504         (R_MN10300_ALIGN): Likewise.
57505         (R_MN10300_NUM): Update.
57507 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
57509         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
57510         Remove.
57512 2012-08-08  Roland McGrath  <roland@hack.frob.com>
57514         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
57516         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
57517         sysdeps/unix -> sysdeps/posix move.
57518         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
57520 2012-08-07      Allan McRae     <allan@archlinux.org>
57522         [BZ #14303]
57523         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
57524         (SUNOS_CPP): Likewise.
57525         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
57526         not found.
57527         (open_input): Call CPP using execvp.
57529 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
57531         * sysdeps/unix/sysv/linux/kernel-features.h
57532         (__ASSUME_PROT_GROWSUPDOWN): Remove.
57533         (__ASSUME_NO_CLONE_DETACHED): Likewise.
57534         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
57535         (__ASSUME_WAITID_SYSCALL): Likewise.
57536         * sysdeps/unix/sysv/linux/dl-execstack.c
57537         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
57538         code unconditional.
57539         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
57540         conditional code.
57541         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
57542         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
57543         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
57544         code.
57545         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
57546         unconditional.
57547         [__ASSUME_WAITID_SYSCALL]: Likewise.
57548         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
57550 2012-08-07  Roland McGrath  <roland@hack.frob.com>
57552         * sysdeps/unix/closedir.c: Renamed to ...
57553         * sysdeps/posix/closedir.c: ... here.
57554         * sysdeps/unix/dirfd.c: Renamed to ...
57555         * sysdeps/posix/dirfd.c: ... here.
57556         * sysdeps/unix/dirstream.h: Renamed to ...
57557         * sysdeps/posix/dirstream.h: ... here.
57558         * sysdeps/unix/fdopendir.c: Renamed to ...
57559         * sysdeps/posix/fdopendir.c: ... here.
57560         * sysdeps/unix/opendir.c: Renamed to ...
57561         * sysdeps/posix/opendir.c: ... here.
57562         * sysdeps/unix/readdir.c: Renamed to ...
57563         * sysdeps/posix/readdir.c: ... here.
57564         * sysdeps/unix/readdir_r.c: Renamed to ...
57565         * sysdeps/posix/readdir_r.c: ... here.
57566         * sysdeps/unix/rewinddir.c: Renamed to ...
57567         * sysdeps/posix/rewinddir.c: ... here.
57568         * sysdeps/unix/seekdir.c: Renamed to ...
57569         * sysdeps/posix/seekdir.c: ... here.
57570         * sysdeps/unix/telldir.c: Renamed to ...
57571         * sysdeps/posix/telldir.c: ... here.
57572         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
57573         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
57574         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
57575         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
57577         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
57578         * bits/fcntl.h: ... here.
57580         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
57581         not 0.
57582         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
57583         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
57584         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
57585         (struct flock): Move l_start, l_len to the beginning.
57586         Use __pid_t for l_pid.
57587         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
57588         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
57589         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
57590         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
57591         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
57592         [__USE_LARGEFILE64] (struct flock64): New type.
57593         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
57595         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
57596         * bits/dirent.h: ... here.
57598         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
57599         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
57601 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
57603         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57604         Change from 2.6.0 to 2.6.16.
57605         * sysdeps/unix/sysv/linux/configure: Regenerated.
57606         * sysdeps/unix/sysv/linux/kernel-features.h
57607         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
57608         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
57609         version.
57610         (__ASSUME_UTIMES): Likewise.
57611         (__ASSUME_CLONE_STOPPED): Remove.
57612         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
57613         architectures, not kernel version.
57614         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
57615         (__ASSUME_NO_CLONE_DETACHED): Likewise.
57616         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
57617         (__ASSUME_WAITID_SYSCALL): Likewise.
57618         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
57619         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
57620         * README: State 2.6.16 as minimum Linux kernel version.  Do not
57621         refer to older versions.
57623 2012-08-06  Roland McGrath  <roland@hack.frob.com>
57625         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
57626         Define alphasort64 as an alias.
57627         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
57628         Define versionsort64 as an alias.
57629         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
57630         Define scandir64 as an alias.
57631         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
57632         Define scandirat64 as an alias.
57633         * dirent/alphasort64.c (alphasort64):
57634         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
57635         * dirent/versionsort64.c: Likewise.
57636         * dirent/scandir64.c: Likewise.
57637         * dirent/scandirat64.c: Likewise.
57638         * sysdeps/wordsize-64/alphasort.c: File removed.
57639         * sysdeps/wordsize-64/alphasort64.c: File removed.
57640         * sysdeps/wordsize-64/scandir.c: File removed.
57641         * sysdeps/wordsize-64/scandir64.c: File removed.
57642         * sysdeps/wordsize-64/scandirat.c: File removed.
57643         * sysdeps/wordsize-64/scandirat64.c: File removed.
57644         * sysdeps/wordsize-64/versionsort.c: File removed.
57645         * sysdeps/wordsize-64/versionsort64.c: File removed.
57646         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
57647         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
57648         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
57649         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
57650         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
57651         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
57652         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
57653         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
57655         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
57656         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
57657         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
57658         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57659         [defined __arch64__ || defined __sparcv9]
57660         (__INO_T_MATCHES_INO64_T): New macro.
57661         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57662         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
57663         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
57664         * sysdeps/unix/sysv/linux/bits/dirent.h
57665         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
57666         (_DIRENT_MATCHES_DIRENT64): New macro.
57668         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
57669         Define lockf64 as an alias.
57670         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
57671         Define fseeko64 as an alias.
57672         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
57673         Define ftello64 as an alias.
57674         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
57675         Define _IO_fgetpos64 and fgetpos64 as aliases.
57676         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
57677         Define _IO_fsetpos64 and fsetpos64 as aliases.
57678         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
57679         Conditionalize body on this.
57680         * libio/fseeko64.c: Likewise.
57681         * libio/ftello64.c: Likewise.
57682         * libio/iofgetpos64.c: Likewise.
57683         * libio/iofsetpos64.c: Likewise.
57684         * sysdeps/wordsize-64/lockf.c: File removed.
57685         * sysdeps/wordsize-64/lockf64.c: File removed.
57686         * sysdeps/wordsize-64/fseeko.c: File removed.
57687         * sysdeps/wordsize-64/fseeko64.c: File removed.
57688         * sysdeps/wordsize-64/ftello.c: File removed.
57689         * sysdeps/wordsize-64/ftello64.c: File removed.
57690         * sysdeps/wordsize-64/iofgetpos.c: File removed.
57691         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
57692         * sysdeps/wordsize-64/iofsetpos.c: File removed.
57693         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
57694         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
57695         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
57696         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
57697         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
57698         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
57699         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
57700         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
57701         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
57702         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
57703         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
57705         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
57706         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
57707         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
57708         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57709         [defined __arch64__ || defined __sparcv9]
57710         (__OFF_T_MATCHES_OFF64_T): New macro.
57711         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57712         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
57713         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57714         (__OFF_T_MATCHES_OFF64_T): New macro.
57716 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
57718         * stdlib/secure-getenv.c (__secure_getenv): Replace
57719         GLIBC_2_16 with GLIBC_2_17.
57721 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
57723         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
57724         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57726 2012-08-03  David S. Miller  <davem@davemloft.net>
57728         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57730 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57732         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
57733         Remove.
57734         (__ASSUME_CORRECT_SI_PID): Likewise.
57735         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
57736         (__ASSUME_TMPFS_NAME): Likewise.
57737         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
57738         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
57739         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
57740         (HAVE_AUX_SECURE): Make definition unconditional.
57741         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
57742         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
57744 2012-08-03  Roland McGrath  <roland@hack.frob.com>
57746         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
57747         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
57748         * sysdeps/mach/hurd/eloop-threshold.h: New file.
57749         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
57750         __eloop_threshold instead of SYMLOOP_MAX.
57752         * sysdeps/generic/eloop-threshold.h: New file.
57753         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
57754         of MAXSYMLINKS.
57755         * elf/chroot_canon.c (chroot_canon): Likewise.
57757 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57759         [BZ #13717]
57760         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57761         Change to 2.6.0 everywhere.
57762         * sysdeps/unix/sysv/linux/configure: Regenerated.
57763         * sysdeps/unix/sysv/linux/kernel-features.h
57764         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
57765         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
57766         kernel versions.
57767         (__ASSUME_POSIX_TIMERS): Define unconditionally.
57768         (__ASSUME_FUTEX_REQUEUE): Remove.
57769         (__ASSUME_STATFS64): Define unconditionally.
57770         (__ASSUME_AT_SECURE): Likewise.
57771         (__ASSUME_CORRECT_SI_PID): Likewise.
57772         (__ASSUME_TGKILL): Define without depending on kernel version for
57773         i386.
57774         (__ASSUME_UTIMES): Likewise.
57775         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
57776         kernel version.
57777         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
57778         (__ASSUME_TMPFS_NAME): Likewise.
57779         * README: Update reference to Linux kernel versions.
57781 2012-08-02  Marek Polacek  <polacek@redhat.com>
57783         [BZ# 14150]
57784         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
57785         libc_cv_asm_type_prefix with %.
57786         * configure: Regenerated.
57787         * include/libc-symbols.h: Remove comment about
57788         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57789         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
57790         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
57791         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
57792         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
57793         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57794         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
57795         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
57796         * elf/tst-unique2mod1.c: Likewise.
57797         * elf/tst-unique1mod2.c: Likewise.
57798         * elf/tst-unique1mod1.c: Likewise.
57799         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
57800         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
57801         Replace ASM_TYPE_DIRECTIVE with .type.
57802         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57803         * sysdeps/i386/sysdep.h: Likewise.
57804         * sysdeps/x86_64/sysdep.h: Likewise.
57805         * sysdeps/sh/sysdep.h: Likewise.
57806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57807         Do not define ASM_TYPE_DIRECTIVE.
57808         * sysdeps/powerpc/sysdep.h: Likewise.
57809         * sysdeps/powerpc/powerpc32/sysdep.h:
57810         Replace ASM_TYPE_DIRECTIVE with .type.
57811         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
57812         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57813         * sysdeps/i386/fpu/e_powf.S: Likewise.
57814         * sysdeps/i386/fpu/e_expl.S: Likewise.
57815         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57816         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57817         * sysdeps/i386/fpu/e_pow.S: Likewise.
57818         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57819         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57820         * sysdeps/i386/fpu/s_expm1.S: Likewise.
57821         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57822         * sysdeps/i386/fpu/e_log2.S: Likewise.
57823         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57824         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57825         * sysdeps/i386/fpu/e_powl.S: Likewise.
57826         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57827         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57828         * sysdeps/i386/fpu/e_logl.S: Likewise.
57829         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57830         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57831         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57832         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57833         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57834         * sysdeps/i386/fpu/e_log.S: Likewise.
57835         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57836         * sysdeps/i386/fpu/e_logf.S: Likewise.
57837         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57838         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57839         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57840         * sysdeps/i386/fpu/e_log10.S: Likewise.
57841         * sysdeps/i386/fpu/s_frexp.S: Likewise.
57842         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57843         * sysdeps/i386/fpu/s_asinh.S: Likewise.
57844         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57845         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57846         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
57847         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57848         * sysdeps/i386/i686/strtok.S: Likewise.
57849         * sysdeps/i386/i386-mcount.S: Likewise.
57850         * sysdeps/i386/strtok.S: Likewise.
57851         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
57852         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57853         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57854         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57855         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
57856         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57857         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57858         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57859         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57860         * sysdeps/x86_64/_mcount.S: Likewise.
57861         * sysdeps/x86_64/strtok.S: Likewise.
57862         * sysdeps/sh/_mcount.S: Likewise.
57864 2012-08-01  Roland McGrath  <roland@hack.frob.com>
57866         * libio/iofopen.c: Include <fcntl.h>.
57867         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
57868         (_IO_fopen64, fopen64): Define as aliases.
57869         * libio/iofopen64.c: Include <fcntl.h>.
57870         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
57871         Conditionalize body on this.
57872         * sysdeps/wordsize-64/iofopen.c: File removed.
57873         * sysdeps/wordsize-64/iofopen64.c: File removed.
57875 2012-08-01  Marek Polacek  <polacek@redhat.com>
57877         * libc/Makeconfig: Use elf in place of binfmt-subdir.
57878         Use dlfcn directly instead of a variable.
57879         (binfmt-subdir): Do not define.
57880         (dlfcn): Likewise.
57882 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
57884         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
57885         Remove all definitions.
57886         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
57887         <kernel-features.h>.
57888         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
57889         (miss_F_GETOWN_EX): Remove all definitions.
57890         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
57891         macro definition.
57892         [!__ASSUME_FCNTL64]: Remove conditional code.
57893         [__ASSUME_FCNTL64]: Make code unconditional.
57894         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
57895         <kernel-features.h>.
57896         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
57897         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
57898         (lockf64) [__NR_fcntl64]: Make code unconditional.
57899         (lockf64) [__ASSUME_FCNTL64]: Likewise.
57901         * sysdeps/unix/sysv/linux/kernel-features.h
57902         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
57903         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
57904         Make code unconditional.
57905         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57906         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
57908         [__NR_vfork]: Make code unconditional.
57909         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57910         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
57912         [__NR_vfork]: Make code unconditional.
57913         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57914         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57916 2012-08-01  Roland McGrath  <roland@hack.frob.com>
57918         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
57919         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
57921         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57922         Define mkstemp64 as an alias.
57923         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57924         Define mkstemps64 as an alias.
57925         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57926         Define mkostemp64 as an alias.
57927         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57928         Define mkostemps64 as an alias.
57929         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
57930         Conditionalize body on this.
57931         * misc/mkostemp64.c: Likewise.
57932         * misc/mkostemps64.c: Likewise.
57933         * misc/mkstemps64.c: Likewise.
57934         * sysdeps/wordsize-64/mkstemp64.c: File removed.
57935         * sysdeps/wordsize-64/mkostemp64.c: File removed.
57936         * sysdeps/wordsize-64/mkostemp.c: File removed.
57937         * sysdeps/wordsize-64/mkstemp.c: File removed.
57938         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
57939         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
57940         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
57941         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
57943         [BZ #14138]
57944         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
57945         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
57946         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
57947         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
57949         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
57950         compat_symbol macros from <shlib-compat.h> rather than the underlying
57951         default_symbol_version and symbol_version macros, so that DEFAULT
57952         lines in shlib-versions are respected.
57953         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
57955 2012-08-01  Florian Weimer  <fweimer@redhat.com>
57957         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
57958         Declare with warn_unused_result.
57959         (setgid, setregid, setegid, setresgid): Likewise.
57960         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
57961         Likewise.
57962         * WUR-REPORT: Remove set*id functions.
57964 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
57966         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
57968 2012-07-31  Roland McGrath  <roland@hack.frob.com>
57970         [BZ #10191]
57971         * include/sys/socket.h (__libc_accept, __libc_accept4):
57972         Add attribute_hidden.
57973         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
57975         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
57976         use of PTR_MANGLE.
57977         * inet/getnetgrent_r.c (setup): Likewise.
57979         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
57981 2012-07-31  David S. Miller  <davem@davemloft.net>
57983         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57985 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
57987         [BZ #13629]
57988         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
57989         value between 1.0 and 2.0 and smaller part has absolute value less
57990         than 1.0.
57991         * math/s_clog10.c (__clog10): Likewise.
57992         * math/s_clog10f.c (__clog10f): Likewise.
57993         * math/s_clog10l.c (__clog10l): Likewise.
57994         * math/s_clogf.c (__clogf): Likewise.
57995         * math/s_clogl.c (__clogl): Likewise.
57996         * math/libm-test.inc (clog_test): Add more tests.
57997         (clog10_test): Likewise.
57998         * sysdeps/i386/fpu/libm-test-ulps: Update.
57999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58001 2012-07-31  Florian Weimer  <fweimer@redhat.com>
58003         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
58004         Exit with zero in case no suitable GID is found, and write a
58005         message to standard error.
58007 2012-07-30  Roland McGrath  <roland@hack.frob.com>
58009         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
58010         rather than to 1.
58011         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
58012         (MAXPATHLEN): Removed.
58013         (NOGROUP, NODEV): New macros.
58014         (setbit, clrbit, isset, isclr): New macros.
58015         (howmany, roundup, powerof2): New macros.
58016         (DEV_BSIZE): New macro.
58018         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
58019         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
58021         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
58022         definition on [!__NO_LONG_DOUBLE_MATH].
58024         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
58025         PTR_MANGLE and PTR_DEMANGLE.
58027         * socket/accept4.c (accept4): Rename to __libc_accept4.
58028         Define accept4 as a weak alias.
58030         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
58031         on [_DIRENT_HAVE_D_TYPE].
58032         * io/ftw.c (ftw_dir): Likewise.
58034         * io/xmknod.c (__xmknod): Don't check PATH for being null.
58036         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
58038         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
58039         Use the BSD numbers rather than the arbitrary ones we had.
58040         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
58041         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
58042         (SIGXCPU, SIGXFSZ): New macros.
58043         (_NSIG): Now 32.
58045         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
58046         initializer on [_LIBC_REENTRANT].
58048         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
58049         definitions inside [_POSIX_MAPPED_FILES].
58051         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
58053         * dirent/opendir.c: Include <fcntl.h>.
58055         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
58056         (__libc_getspecific): Likewise.
58057         (__libc_key_create): Likewise.
58059         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
58060         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
58061         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
58062         (tmpfile64): Define as alias.
58063         * sysdeps/wordsize-64/tmpfile.c: File removed.
58064         * sysdeps/wordsize-64/tmpfile64.c: File removed.
58065         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
58066         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
58068         * stdio-common/vfscanf.c: Include <stdbool.h>.
58069         * nss/makedb.c: Likewise.
58070         * stdio-common/_i18n_number.h: Likewise.
58071         * argp/argp-help.c: Likewise.
58072         * posix/wordexp.c: Likewise.
58073         * sysdeps/posix/spawni.c: Likewise.
58074         * nss/nss_files/files-initgroups.c: Likewise.
58075         * stdio-common/reg-modifier.c: Include <stdlib.h>.
58076         * nss/nss_files/files-initgroups.c: Likewise.
58077         * nss/nss_db/db-netgrp.c: Likewise.
58078         * nss/nss_db/db-initgroups.c: Likewise.
58079         * io/fchmodat.c: Include <sys/stat.h>.
58081         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
58082         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
58084         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
58085         [HAVE_MMAP].
58087         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
58088         Add multiple inclusion protection.
58090 2012-07-27  David S. Miller  <davem@davemloft.net>
58092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58094 2012-07-27  Gary Benson  <gbenson@redhat.com>
58096         [BZ #14298]
58097         * elf/rtld.c: Include <stap-probe.h>.
58098         (dl_main): Added static probes "init_start" and "init_complete".
58099         * elf/dl-load.c: Include <stap-probe.h>.
58100         (lose): Take new parameter "nsid".
58101         Added static probe "map_failed".
58102         (_dl_map_object_from_fd): Pass namespace id to lose.
58103         Added static probe "map_start".
58104         (open_verify): Pass namespace id to lose.
58105         * elf/dl-open.c: Include <stap-probe.h>.
58106         (dl_open_worker) Added static probes "map_complete", "reloc_start"
58107         and "reloc_complete".
58108         * elf/dl-close.c: Include <stap-probe.h>.
58109         (_dl_close_worker): Added static probes "unmap_start" and
58110         "unmap_complete".
58111         * elf/rtld-debugger-interface.txt: New file documenting the above.
58113 2012-07-26  Roland McGrath  <roland@hack.frob.com>
58115         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
58116         rather than a string variable.
58117         * sunrpc/rpc_main.c (h_output): Likewise.
58118         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
58120 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
58122         * inet/check_native.c: New file.
58124 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
58126         [BZ #13629]
58127         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
58128         if larger part has absolute value 1.0.
58129         * math/s_clog10.c (__clog10): Likewise.
58130         * math/s_clog10f.c (__clog10f): Likewise.
58131         * math/s_clog10l.c (__clog10l): Likewise.
58132         * math/s_clogf.c (__clogf): Likewise.
58133         * math/s_clogl.c (__clogl): Likewise.
58134         * math/libm-test.inc (clog_test): Add more tests.
58135         (clog10_test): Likewise.
58136         * sysdeps/i386/fpu/libm-test-ulps: Update.
58137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58139         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
58140         (pltexit): Likewise.
58141         (La_regs): Likewise.
58142         (La_retval): Likewise.
58143         (int_retval): Likewise.
58144         Update #error for removed macros to refer only to definitions in
58145         tst-audit.h.
58146         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
58147         macro.
58148         (pltexit): Likewise.
58149         (La_regs): Likewise.
58150         (La_retval): Likewise.
58151         (int_retval): Likewise.
58152         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
58153         macro.
58154         (pltexit): Likewise.
58155         (La_regs): Likewise.
58156         (La_retval): Likewise.
58157         (int_retval): Likewise.
58158         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
58159         macro.
58160         (pltexit): Likewise.
58161         (La_regs): Likewise.
58162         (La_retval): Likewise.
58163         (int_retval): Likewise.
58164         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
58165         macro.
58166         (pltexit): Likewise.
58167         (La_regs): Likewise.
58168         (La_retval): Likewise.
58169         (int_retval): Likewise.
58170         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
58171         macro.
58172         (pltexit): Likewise.
58173         (La_regs): Likewise.
58174         (La_retval): Likewise.
58175         (int_retval): Likewise.
58176         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
58177         macro.
58178         (pltexit): Likewise.
58179         (La_regs): Likewise.
58180         (La_retval): Likewise.
58181         (int_retval): Likewise.
58182         * sysdeps/generic/tst-audit.h: Update comment to refer only to
58183         macro definitions in tst-audit.h.
58184         * sysdeps/i386/tst-audit.h: New file.
58185         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
58186         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
58187         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
58188         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
58189         * sysdeps/sh/tst-audit.h: Likewise.
58190         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
58191         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
58192         * sysdeps/x86_64/tst-audit.h: Likewise.
58194 2012-07-26  Andreas Jaeger  <aj@suse.de>
58196         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
58197         ptrace.
58199         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
58200         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
58201         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
58202         PTRACE_O_MASK.
58203         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
58204         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
58205         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
58207         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
58208         value.
58210         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
58211         _sigsys.
58212         (si_call_addr, si_syscall, si_arch): Define new macro.
58213         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
58214         _sigsys.
58215         (si_call_addr, si_syscall, si_arch): Define new marcro.
58216         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
58217         _sigsys.
58218         (si_call_addr, si_syscall, si_arch): Define new macro.
58219         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
58220         _sigsys.
58221         (si_call_addr, si_syscall, si_arch): Define new macro.
58223 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
58225         [BZ #13717]
58226         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58227         Change to 2.4.21 where previously 2.4.1.
58228         * sysdeps/unix/sysv/linux/configure: Regenerated.
58229         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
58230         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
58231         Linux kernel version.
58232         (__ASSUME_STD_AUXV): Remove.
58233         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
58234         kernel version.
58235         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
58236         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
58237         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
58238         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
58239         (__ASSUME_NETLINK_SUPPORT): Likewise.
58240         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
58241         (__no_netlink_support): Remove conditional definition.
58242         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
58243         Remove.
58244         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58245         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
58246         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
58247         (if_nameindex_ioctl): Remove.
58248         (if_nameindex_netlink): Do not handle __no_netlink_support.
58249         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58250         code.
58251         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
58252         Remove conditional code.
58253         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58254         code.
58255         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
58256         unconditional.
58257         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58258         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
58259         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
58260         Remove.
58261         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
58262         [!__ASSUME_STD_AUXV]: Remove conditional code.
58263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
58264         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
58265         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
58266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
58267         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
58268         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58269         code.
58270         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58272         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
58273         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58274         conditional code.
58275         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
58277         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58278         code.
58279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58280         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58281         conditional code.
58282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
58283         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58284         code unconditional.
58285         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58286         conditional code.
58287         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58288         unconditional.
58289         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58290         conditional code.
58291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58292         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58293         unconditional.
58294         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58295         conditional code.
58296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
58297         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58298         code unconditional.
58299         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58300         conditional code.
58301         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58302         unconditional.
58303         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58304         conditional code.
58305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
58306         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58307         code unconditional.
58308         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58309         conditional code.
58310         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58311         unconditional.
58312         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58313         conditional code.
58315 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
58317         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
58318         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
58319         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
58320         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
58321         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
58322         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
58323         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
58324         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
58325         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
58326         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
58327         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
58328         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
58329         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
58330         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
58331         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
58332         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
58333         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
58334         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
58335         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
58336         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
58337         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
58338         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
58339         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
58341 2012-07-25  Florian Weimer  <fweimer@redhat.com>
58343         * Versions.def: Add GLIBC_2.17.
58344         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
58345         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
58346         Introduce __libc_secure_getenv.
58347         * stdlib/Versions (2.17): Add secure_getenv
58348         (GLIBC_PRIVATE): Add __libc_secure_getenv.
58349         * stdlib/secure-getenv.c: Rename __secure_getenv to
58350         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
58351         symbol __secure_getenv for GLIBC_2.0.
58352         * stdlib/tst-secure-getenv.c: New.
58353         * stdlib/Makefile (tests): Add testcase.
58354         * manual/startup.texi (Environment Access): Document
58355         secure_getenv.
58356         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
58357         __libc_secure_getenv.
58358         * inet/ruserpass.c (ruserpass): Likewise.
58359         * malloc/mtrace.c (mtrace): Likewise.
58360         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
58361         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
58362         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
58363         * sysdeps/posix/tempname.c: Likewise.  Evaluate
58364         HAVE_SECURE_GETENV.
58365         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
58366         __secure_getenv to __libc_secure_getenv.
58367         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
58368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58369         Likewise.
58370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58371         Likewise.
58372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
58373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
58374         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
58376         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
58377         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58378         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
58380 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
58382         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
58383         (struct La_i86_retval): Likewise.
58384         (struct La_x86_64_regs): Likewise.
58385         (struct La_x86_64_retval): Likewise.
58386         (struct La_x32_regs): Likewise.
58387         (struct La_x32_retval): Likewise.
58388         (struct La_ppc32_regs): Likewise.
58389         (struct La_ppc32_retval): Likewise.
58390         (struct La_ppc64_regs): Likewise.
58391         (struct La_ppc64_retval): Likewise.
58392         (struct La_sh_regs): Likewise.
58393         (struct La_sh_retval): Likewise.
58394         (struct La_s390_32_regs): Likewise.
58395         (struct La_s390_32_retval): Likewise.
58396         (struct La_s390_64_regs): Likewise.
58397         (struct La_s390_64_retval): Likewise.
58398         (struct La_sparc32_regs): Likewise.
58399         (struct La_sparc32_retval): Likewise.
58400         (struct La_sparc64_regs): Likewise.
58401         (struct La_sparc64_retval): Likewise.
58402         (struct audit_ifaces): Remove architecture-specific pltenter and
58403         pltexit members.
58404         * sysdeps/i386/ldsodefs.h: New file.
58405         * sysdeps/powerpc/ldsodefs.h: Likewise.
58406         * sysdeps/s390/ldsodefs.h: Likewise.
58407         * sysdeps/sh/ldsodefs.h: Likewise.
58408         * sysdeps/sparc/ldsodefs.h: Likewise.
58409         * sysdeps/x86_64/ldsodefs.h: Likewise.
58411 2012-07-25  Marek Polacek  <polacek@redhat.com>
58413         [BZ #6808]
58414         * math/libm-test.inc (yn_test): Add another test.
58415         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
58416         to ERANGE when the result is +-Inf.
58417         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
58418         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
58419         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
58420         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
58422 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
58424         * conform/data/time.h-data (NULL): Use macro-constant.  Require
58425         equal to 0.
58426         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
58427         clock_t.
58428         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
58430 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
58432         * configure.in <sysdeps resolving>: Correct printing
58433         Implies_before.
58434         * configure: Regenerate.
58436 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
58438         * math/w_ilogb.c: Include <limits.h>.
58439         * math/w_ilogbl.c: Likewise.
58441 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
58443         * manual/lang.texi (__va_copy): Document primarily as ISO C99
58444         va_copy.  Document allowing for unavailable va_copy only as
58445         pre-C99 compatibility.
58446         * manual/string.texi (Copying and Concatenation): Use va_copy
58447         instead of __va_copy in concat example.
58449 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
58451         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
58452         (__sendto): Use create_address_port.  Initialize APORT and deallocate
58453         it if not null.
58455         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
58456         with O_NOLINK passed to __file_name_lookup.
58458         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
58459         with O_NOLINK passed to __file_name_lookup.
58461         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
58462         negative N or less than NGIDS.
58464         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
58465         type to string_t.  Set ERANGE as errno and return it if NAME is not big
58466         enough.  Use memcpy instead of strncpy.
58468 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
58470         * elf/Makefile (check-data): Remove.
58471         (localplt.data): New vpath directive.
58472         ($(objpfx)check-localplt.out): Use localplt.data from vpath
58473         instead of $(check-data).
58474         * scripts/data/localplt-generic.data: Move to ...
58475         * sysdeps/generic/localplt.data: ... here.
58476         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
58477         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
58478         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
58479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
58480         ... here.
58481         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
58482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
58483         ... here.
58484         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
58485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
58486         ... here.
58487         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
58488         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
58489         ... here.
58490         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
58491         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
58492         ... here.
58493         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
58494         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
58495         ... here.
58497 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58499         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
58500         PPC32 and PPC64 files.
58501         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
58502         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
58504 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58506         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
58507         __makecontext_ret to ...
58508         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
58509         ... here and call exit if uc_link is NULL.  New file.
58510         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
58511         __makecontext_ret.S.
58512         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
58513         __makecontext_ret to ...
58514         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
58515         ... here and call exit if uc_link is NULL.  New file.
58516         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
58517         __makecontext_ret.S.
58519 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58521         * elf/elf.h (R_390_IRELATIVE): New definition.
58522         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
58523         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
58524         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
58525         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
58526         (elf_machine_lazy_rel): Likewise.
58527         * sysdeps/s390/dl-irel.h: New file.
58528         * sysdeps/s390/s390-64/memcpy.S: New asm code.
58529         * sysdeps/s390/s390-64/memset.S: New asm code.
58530         * sysdeps/s390/s390-64/memcmp.S: New asm code.
58531         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
58532         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
58533         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
58534         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
58535         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
58536         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
58537         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
58538         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
58539         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
58540         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
58541         * sysdeps/s390/s390-32/memcpy.S: New asm code.
58542         * sysdeps/s390/s390-32/memset.S: New asm code.
58543         * sysdeps/s390/s390-32/memcmp.S: New asm code.
58545 2012-07-17  Marek Polacek  <polacek@redhat.com>
58547         [BZ #14349]
58548         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
58549         * sysdeps/s390/s390-64/configure.in: Likewise.
58550         * sysdeps/sparc/configure.in: Likewise.
58551         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
58552         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
58553         * sysdeps/i386/configure.in: Likewise.
58554         * sysdeps/x86_64/configure.in: Likewise.
58555         * sysdeps/sh/configure.in: Likewise.
58556         * sysdeps/s390/s390-32/configure: Regenerated.
58557         * sysdeps/s390/s390-64/configure: Likewise.
58558         * sysdeps/x86_64/configure: Likewise.
58559         * sysdeps/sh/configure: Likewise.
58560         * sysdeps/powerpc/powerpc64/configure: Likewise.
58561         * sysdeps/powerpc/powerpc32/configure: Likewise.
58562         * sysdeps/sparc/configure: Likwise.
58563         * sysdeps/i386/configure: Likewise.
58565         * elf/dl-open.c: Comment fixes.
58567 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
58569         * Makefile [CXX] (check-data): Remove.
58570         [CXX] (c++-types.data): New vpath directive.
58571         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
58572         vpath.  Do not allow for C++ type data being missing.
58573         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
58574         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
58575         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
58576         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
58577         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
58578         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
58579         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
58580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
58581         ... here.
58582         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
58583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
58584         ... here.
58585         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
58586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
58587         ... here.
58588         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
58589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
58590         ... here.
58591         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
58592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
58593         ... here.
58594         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
58595         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
58596         ... here.
58597         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
58598         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
58599         ... here.
58600         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
58601         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
58603         * elf/tls-macros.h (TLS_LE): Move architecture-specific
58604         definitions to architecture-specific files.
58605         (TLS_IE): Likewise.
58606         (TLS_LD): Likewise.
58607         (TLS_GD): Likewise.
58608         * sysdeps/i386/tls-macros.h: New file.
58609         * sysdeps/powerpc/tls-macros.h: Likewise.
58610         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
58611         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
58612         * sysdeps/sh/tls-macros.h: Likewise.
58613         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
58614         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
58615         * sysdeps/x86_64/tls-macros.h: Likewise.
58617 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
58619         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
58620         zero value for regular exit case.
58622         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
58623         (__start_context): Preserve zero value for regular exit case.
58625 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
58626             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58628         * manual/setjmp.texi (setcontext): Clarify normal process
58629         termination when uc_link is the null pointer.
58630         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
58631         exit call.
58633 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
58635         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
58636         preprocessor.  Test for each exception mask separately.
58638 2012-07-16  Andreas Jaeger  <aj@suse.de>
58640         * po/ru.po: Update from translation team.
58642 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
58644         * conform/data/string.h-data (NULL): Use macro-constant.  Require
58645         equal to 0.
58646         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
58647         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
58648         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
58649         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
58650         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58652 2012-07-13  Andreas Jaeger  <aj@suse.de>
58654         * po/fr.po: Update from translation team.
58656 2012-07-12  Marek Polacek  <polacek@redhat.com>
58658         [BZ #14173]
58659         * math/libm-test.inc (yn_test): Add test for BZ #14173.
58660         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
58661         loop condition.
58663 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
58665         [BZ #13717]
58666         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58667         Change to 2.4.1 where previously 2.4.0.
58668         * sysdeps/unix/sysv/linux/configure: Regenerated.
58669         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
58670         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
58671         version.
58672         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
58673         (__ASSUME_AT_CLKTCK): Remove.
58674         (__ASSUME_AT_PAGESIZE): Likewise.
58675         (__ASSUME_AT_XID): Likewise.
58676         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
58677         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
58678         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
58679         unconditionally.
58680         (HAVE_AUX_PAGESIZE): Likewise.
58681         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
58682         [__ASSUME_AT_CLKTCK]: Make code unconditional.
58683         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
58685 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
58687         [BZ #14307]
58688         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
58689         the temporary buffer used to invoke __gethostbyname2_r,
58690         __gethostbyaddr_r and gethostbyname4_r to make room for struct
58691         host_data / struct gaih_addrtuple.
58692         * resolv/nss_dns/dns-host.c (global scope): Move definition of
58693         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
58694         header file nss/nsswitch.h.
58695         * nss/nsswitch.h (global scope): Add definition of implementation
58696         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
58697         resolv/nss_dns/dns-host.c).
58699 2012-07-11  Andreas Jaeger  <aj@suse.de>
58701         * po/fr.po: Update from translation team.
58703         * po/sv.po: Update from translation team
58704         * po/fr.po: Another update from translation team.
58706 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58708         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
58709         for subnormals or multiply small sinh result by itself.
58710         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
58711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58713 2012-07-11  David S. Miller  <davem@davemloft.net>
58715         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58717 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
58719         [BZ #14347]
58720         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
58721         (INTERNAL_MARK): Shift it here.
58723 2012-07-10  Marek Polacek  <polacek@redhat.com>
58725         [BZ #14151]
58726         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
58727         libc_cv_asm_global_directive with .globl.
58728         * configure: Regenerated.
58729         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
58730         with .globl.
58731         * sysdeps/i386/configure: Regenerated.
58732         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
58733         with .globl.
58734         * sysdeps/x86_64/configure: Regenerated.
58735         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
58736         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
58737         * elf/tst-unique2mod2.c: Likewise.
58738         * elf/tst-unique2mod1.c: Likewise.
58739         * elf/tst-unique1mod2.c: Likewise.
58740         * elf/tst-unique1mod1.c: Likewise.
58741         * sysdeps/s390/s390-32/sysdep.h: Likewise.
58742         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
58743         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58744         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58745         * sysdeps/mach/sysdep.h: Likewise.
58746         * sysdeps/i386/sysdep.h: Likewise.
58747         * sysdeps/i386/i386-mcount.S: Likewise.
58748         * sysdeps/x86_64/_mcount.S: Likewise.
58749         * sysdeps/x86_64/sysdep.h: Likewise.
58750         * sysdeps/sh/_mcount.S: Likewise.
58751         * sysdeps/sh/sysdep.h: Likewise.
58752         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
58753         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
58754         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
58755         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58756         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
58757         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
58758         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
58759         * locale/localeinfo.h: Likewise.
58760         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
58761         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
58763 2012-07-09  Roland McGrath  <roland@hack.frob.com>
58765         [BZ #14336]
58766         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
58767         system".
58768         * manual/message.texi (The Uniforum approach): Likewise.
58769         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
58770         (glibc iconv Implementation): Likewise.
58772 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
58774         [BZ #14337]
58775         * math/s_clog.c (__clog): Avoid scaling a value down where that
58776         could result in underflow.
58777         * math/s_clog10.c (__clog10): Likewise.
58778         * math/s_clog10f.c (__clog10f): Likewise.
58779         * math/s_clog10l.c (__clog10l): Likewise.
58780         * math/s_clogf.c (__clogf): Likewise.
58781         * math/s_clogl.c (__clogl): Likewise.
58782         * math/libm-test.inc (clog_test): Add more tests.
58783         (clog10_test): Likewise.
58784         * sysdeps/i386/fpu/libm-test-ulps: Update.
58785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58787 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
58789         [BZ #14283]
58790         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
58791         by 7 not 8 to examine high bit of fractional part.
58793         [BZ #14042]
58794         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
58795         for call to __mcount_internal.
58796         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
58797         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
58798         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
58800 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
58802         [BZ #14154]
58803         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
58804         approximation for values within 0x1p-13f of an odd multiple of
58805         pi/4.
58806         * math/libm-test.inc (tan_test): Do not allow spurious underflow
58807         exception.  Add more tests.
58808         * sysdeps/i386/fpu/libm-test-ulps: Update.
58810         [BZ #6778]
58811         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
58812         inputs and return -1 for them.  Do not check for +Inf in case not
58813         reachable for +Inf.
58814         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58815         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
58816         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
58817         and return -1 for them.  Do not check for +Inf in case not
58818         reachable for +Inf.
58819         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
58820         define.
58821         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
58822         and return -1 for them.  Do not check for +Inf in case not
58823         reachable for +Inf.
58824         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
58825         spurious underflow.
58826         * sysdeps/i386/fpu/libm-test-ulps: Update.
58827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58829 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
58831         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
58833 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
58835         [BZ #14157]
58836         [BZ #14331]
58837         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
58838         could result in spurious underflow.  Scale down values above
58839         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
58840         * math/s_csqrtf.c (__csqrtf): Likewise.
58841         * math/s_csqrtl.c (__csqrtl): Likewise.
58842         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
58843         spurious underflow.
58844         * sysdeps/i386/fpu/libm-test-ulps: Update.
58845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58847 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
58849         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
58850         xopen-msg.sed.
58851         * catgets/xopen-msg.awk: New file.
58852         * catgets/xopen-msg.sed: Removed.
58854         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
58855         po2text.sed.
58856         * intl/po2test.awk: New file.
58857         * intl/po2test.sed: Removed.
58859 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
58861         [BZ #14328]
58862         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
58863         or multiply small sinh result by itself.
58864         * math/s_ctanf.c (__ctanf): Likewise.
58865         * math/s_ctanh.c (__ctanh): Likewise.
58866         * math/s_ctanhf.c (__ctanhf): Likewise.
58867         * math/s_ctanhl.c (__ctanhl): Likewise.
58868         * math/s_ctanl.c (__ctanl): Likewise.
58869         * math/libm-test.inc (ctan_test_tonearest): New function.
58870         (ctan_test_towardzero): Likewise.
58871         (ctan_test_downward): Likewise.
58872         (ctan_test_upward): Likewise.
58873         (ctanh_test_tonearest): Likewise.
58874         (ctanh_test_towardzero): Likewise.
58875         (ctanh_test_downward): Likewise.
58876         (ctanh_test_upward): Likewise.
58877         (main): Call these new functions.
58878         * sysdeps/i386/fpu/libm-test-ulps: Update.
58879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58881 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
58883         * .gitignore: Delete /ports entry.
58885 2012-07-03  Andreas Jaeger  <aj@suse.de>
58887         * po/bg.po: Update from translation team.
58888         * po/cs.po: Likewise.
58889         * po/de.po: Likewise.
58890         * po/hr.po: Likewise.
58891         * po/nl.pl: Likewise.
58892         * po/pl.po: Likewise.
58893         * po/vi.po: Likewise.
58895 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
58897         * Makeconfig [!+link] (+link-before-libc): New variable.
58898         [!+link] (+link-after-libc): Likewise.
58899         [!+link] (+link-tests): Likewise.
58900         [!+link] (+link): Define in terms of $(+link-before-libc) and
58901         $(+link-after-libc).
58902         [!+link-static] (+link-static-before-libc): New variable.
58903         [!+link-static] (+link-static-after-libc): Likewise.
58904         [!+link-static] (+link-static-tests): Likewise.
58905         [!+link-static] (+link-static): Define in terms of
58906         $(+link-static-before-libc) and $(+link-static-after-libc).
58907         [build-shared] (link-libc-before-gnulib): New variable.
58908         [build-shared] (link-libc-tests): Likewise.
58909         [build-shared] (link-libc): Define in terms of
58910         $(link-libc-before-gnulib).
58911         [!build-shared] (link-libc-tests): New variable.
58912         (link-libc-static-tests): New variable.
58913         [!gnulib] (gnulib-arch): New variable.
58914         [!gnulib] (gnulib-tests): Likewise.
58915         [!gnulib] (static-gnulib-arch): Likewise.
58916         [!gnulib] (static-gnulib-tests): Likewise.
58917         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
58918         Define with "=" instead of ":=".
58919         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
58920         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
58921         * Rules (binaries-all-notests): New variable.
58922         (binaries-all-tests): Likewise.
58923         (binaries-static-notests): Likewise.
58924         (binaries-static-tests): Likewise.
58925         (binaries-all): Define using $(binaries-all-notests) and
58926         $(binaries-all-tests).
58927         (binaries-static): Define using $(binaries-static-notests) and
58928         $(binaries-static-tests).
58929         (binaries-shared-tests): New variable.
58930         (binaries-shared-notests): Likewise.
58931         (binaries-shared): Remove variable.
58932         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
58933         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
58934         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
58935         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
58936         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
58937         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
58938         * elf/Makefile (sln-modules): New variable.
58939         (extra-objs): Add $(sln-modules:=.o).
58940         (ldconfig-modules): Add static-stubs.
58941         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
58942         * elf/static-stubs.c: New file.
58944         [BZ #14283]
58945         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
58946         by 7 not 8 to examine high bit of fractional part.  Use volatile
58947         variables when splitting into final array of floats if
58948         __FLT_EVAL_METHOD__ != 0.
58949         * math/libm-test.inc (cos_test): Add another test.
58950         (sin_test): Likewise.
58951         * sysdeps/i386/fpu/libm-test-ulps: Update.
58953         [BZ #14273]
58954         * math/libm-test.inc (cosh_test): Add more tests.
58956         * version.h (RELEASE): Set to "development".
58957         (VERSION): Set to "2.16.90".
58959 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
58961         * NEWS: Update copyright. Remove last-updated date.
58962         Mention math library bug fixes and timezone data changes.
58963         * README: Mention GNU/Hurd, x32, and HPPA support status.
58965 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
58967         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
58969 2012-06-27  Andreas Jaeger  <aj@suse.de>
58971         * manual/contrib.texi (Contributors): Add Samuel Thibault.
58973 2012-06-25  Andreas Jaeger  <aj@suse.de>
58975         * sysdeps/s390/fpu/libm-test-ulps: Update.
58977 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
58978             Thomas Schwinge  <thomas@codesourcery.com>
58980         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
58981         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
58982         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
58983         fanotify_mark.
58985 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
58987         * sysdeps/mach/start.c: Remove file.
58988         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
58989         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
58990         * sysdeps/sh/init-first.c: Likewise.
58992         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
58993         registers for frame unwinding purposes, add CFI directives.
58994         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
58995         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
58996         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
58997         Likewise.
58999         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
59000         __fortify_fail returning.
59001         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
59003         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
59004         sysdeps/sh/____longjmp_chk.S.
59005         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
59006         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
59007         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
59008         (gen-as-const-headers): Append sigaltstack-offsets.sym.
59010         * sysdeps/sh/abort-instr.h: New file.
59011         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
59012         process in case exit returns.
59014         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
59015         initialize the GOT register before use.
59017         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
59018         calculation of ARGC > 4.
59020         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
59021         meaningful names to some local labels.
59023 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59024             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59026         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
59027         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
59028         (__arch_compare_and_exchange_val_16_acq): Likewise.
59029         (__arch_compare_and_exchange_val_32_acq): Likewise.
59030         (atomic_exchange_and_add): Fix gUSA sequence.
59031         (atomic_add): Likewise.
59032         (atomic_add_negative): Likewise.
59033         (atomic_add_zero): Likewise.
59034         (atomic_bit_test_set): Likewise.
59036 2012-06-22  Andreas Schwab  <schwab@redhat.com>
59038         [BZ #13579]
59039         * include/link.h (struct link_map): Add l_free_initfini.
59040         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
59041         l_initfini.
59042         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
59043         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
59044         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
59045         set.
59047 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
59049         * configure.in: Use AC_LANG_SOURCE.
59050         * configure: Regenerate.
59052 2012-06-22  Roland McGrath  <roland@hack.frob.com>
59054         * configure.in (libc_cv_localstatedir): New substituted variable.
59055         * configure: Regenerated.
59056         * config.make.in (localstatedir): New variable, substituted from
59057         libc_cv_localstatedir.
59058         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
59059         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
59060         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
59061         * sysdeps/gnu/configure: Regenerated.
59063 2012-06-21  Jeff Law  <law@redhat.com>
59065         [BZ #14277]
59066         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
59067         free.  Simplify list management for _LIBC case.
59069 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
59071         [BZ #14273]
59072         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
59073         Clear sign bit of 64-bit integer value before comparing against
59074         overflow value.
59076         * sysdeps/mach/configure: Regenerated.
59078 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
59080         [BZ #14278]
59081         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
59083 2012-06-21  Jeff Law  <law@redhat.com>
59085         [BZ #13882]
59086         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
59087         uint16_t for elements in the "seen" array to avoid char overflows.
59088         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59089         * elf/dl-open.c (dl_open_worker): Likewise.
59091 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
59093         * scripts/list-sources.sh: Scan PORTS for translations.
59094         * po/libc.pot: Regenerated.
59096 2012-06-21  Andreas Jaeger  <aj@suse.de>
59098         [BZ #12194]
59099         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
59100         warning.
59101         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
59102         * bits/byteswap-16.h (__bswap_16): Likewise.
59103         * bits/byteswap.h (__bswap_constant_16): Likewise.
59105 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
59107         [BZ #14117]
59108         * sysdeps/i386/fpu_control.h: Removed.
59109         * sysdeps/x86_64/fpu_control.h: Moved to ...
59110         * sysdeps/x86/fpu_control.h: Here.
59112         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
59113         (_FPU_SETCW): Likewise.
59115 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
59117         [BZ #14117]
59118         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
59119         * sysdeps/x86/fpu/bits/mathinline.h: This.
59120         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
59122         [BZ #14050]
59123         [BZ #14117]
59124         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
59125         functions if __x86_64__ is defined.
59127 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
59129         * string/endian.h: Add !__ASSEMBLER__ condition for including
59130         conversion interfaces.
59132 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
59134         [BZ #14241]
59135         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
59136         of ABS(x) in calculating zero to negative powers other than odd
59137         integers.
59138         * math/libm-test.inc (pow_test): Add more tests.
59140 2012-06-15  Andreas Jaeger  <aj@suse.de>
59142         * manual/contrib.texi (Contributors): Update entry of Liubov
59143         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
59144         Machado Filho.
59146 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
59148         * string/string.h: Add __wur to GNU version of strerror_r.
59150 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
59152         [BZ #14229]
59153         * string/Makefile (tests): Add tst-strtok_r.
59154         * string/tst-strtok_r.c: New file.
59155         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
59156         RAX_LP/RDX_LP on SAVE_PTR.
59158 2012-06-14  Roland McGrath  <roland@hack.frob.com>
59160         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
59162 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
59164         * libm_test.inc (csqrt_test): Allow more spurious underflow
59165         exceptions.
59166         (j0_test): Likewise.
59167         (j1_test): Likewise.
59168         (y0_test): Likewise.
59169         (y1_test): Likewise.
59171 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
59173         * po/Makefile (libc.pot): Use UTF-8 charset.
59175 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
59177         [BZ #14210]
59178         Suppress sign-conversion warning from FD_SET.
59179         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
59180         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
59181         not unsigned long int.
59182         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
59184 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
59186         [BZ #14050]
59187         [BZ #14117]
59188         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
59189         __extern_always_inline instead of __extern_inline.
59190         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
59191         (__signbit): Likewise.
59192         (__signbitl): Support C++ namespace.
59193         (lrintf): New inline function.
59194         (lrint): Likewise.
59195         (llrintf): Likewise.
59196         (llrint): Likewise.
59197         (fmaxf): Likewise.
59198         (fmax): Likewise.
59199         (fminf): Likewise.
59200         (fmin): Likewise.
59201         (rint): Likewise.
59202         (rintf): Likewise.
59203         (ceil): Likewise.
59204         (ceilf): Likewise.
59205         (floor): Likewise.
59206         (floorf): Likewise.
59207         (nearbyint): Likewise.
59208         (nearbyintf): Likewise.
59210 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
59212         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
59213         non-default versions.
59215 2012-06-11  Roland McGrath  <roland@hack.frob.com>
59217         [BZ #14218]
59218         * manual/argp.texi (Argp): Reword argp_parse description slightly.
59220 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
59222         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
59223         (FE_UPWARD, FE_DOWNWARD): Don't define.
59224         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
59225         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
59227         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
59228         reading it.
59229         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
59230         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59232 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59234         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
59235         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
59236         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
59237         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
59239 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
59241         [BZ #14117]
59242         * sysdeps/i386/fpu/bits/fenv.h: Removed.
59243         * sysdeps/i386/fpu/Implies: New file.
59244         * sysdeps/x86_64/fpu/Implies: Likewise.
59245         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
59246         * sysdeps/x86/fpu/bits/fenv.h: This.
59248         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
59249         __SSE_MATH__.
59251 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
59253         [BZ #14134]
59254         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
59255         character 0xffff that matches the last element of the
59256         conversion table.
59258 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59260         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
59261         fmodl commit.
59263 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59265         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
59266         values higher than 25.6283.
59268 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59270         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
59271         subnormal exponent extraction and add some __builtin_expect.
59272         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
59273         Fix for subnormal mantissa calculation.
59275 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
59277         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
59278         cpu2 is -1 and errno is not ENOSYS.
59280 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
59282         [BZ #14117]
59283         * sysdeps/i386/i486/bits/string.h: Renamed to ...
59284         * sysdeps/x86/bits/string.h: This.
59285         * sysdeps/x86_64/bits/string.h: Removed.
59287         * sysdeps/i386/i486/bits/string.h: Define inline functions only
59288         if not compiling for x86-64, but compiling for >= i486.
59290         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
59291         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
59293         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
59294         New macro from Linux kernel 3.4.0.
59295         (FP_XSTATE_MAGIC2): Likewise.
59296         (FP_XSTATE_MAGIC2_SIZE): Likewise.
59297         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
59298         (struct _fpx_sw_bytes): New struct.
59299         (struct _xsave_hdr): Likewise.
59300         (struct _ymmh_state): Likewise.
59301         (struct _xstate): Likewise.
59303         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
59304         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
59305         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
59306         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
59307         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
59308         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
59310         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
59311         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
59312         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
59313         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
59314         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
59315         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
59317 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59319         [BZ #13743]
59320         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
59321         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
59322         (sysdep_headers): Include sys/platform/ppc.h.
59323         * sysdeps/powerpc/test-gettimebase.c: Test for
59324         __ppc_get_timebase() to catch future ISA opcode/insn changes.
59325         * manual/Makefile (appendices): Include platform.texi.
59326         * manual/contrib.texi (Contributors): Update @node pointers.
59327         * manual/maint.texi (Maintenance): Likewise.
59328         (Platform): New node.
59329         * manual/platform.texi: New file.  Document the new features.
59331 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59332             Jakub Jelinek  <jakub@redhat.com>
59334         [BZ #14188]
59335         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
59336         where __builtin_expect is unavailable.
59338 2012-06-03  David S. Miller  <davem@davemloft.net>
59340         * stdlib/longlong.h: Updated from GCC.
59342 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
59344         [BZ #14042]
59345         * sysdeps/powerpc/powerpc32/mcount.c: New file.
59346         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
59347         __mcount_internal.
59348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59349         (GLIBC_2.16): Likewise.
59351 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59353         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
59355 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
59357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
59358         (default-abi): New variable.
59359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
59360         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
59361         variable.
59362         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
59363         Likewise.
59364         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
59365         Likewise.
59366         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
59367         Likewise.
59369         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
59370         definition.  Document in comment.
59372 2012-06-01  David S. Miller  <davem@davemloft.net>
59374         * stdlib/longlong.h: Updated from GCC.
59376 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59378         [BZ #14117]
59379         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
59380         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
59381         sys/debugreg.h sys/io.h here.
59382         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
59383         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
59384         sys/io.h.
59385         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
59386         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
59387         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
59388         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
59389         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
59390         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
59392         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
59393         Define only if __x86_64__ is defined.
59395 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
59397         [BZ #14048]
59398         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
59399         Use int64_t for variable i.
59400         * math/libm-test.inc (fmod_test): Add more tests.
59402         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
59403         z computation is not scheduled after fetestexcept.
59404         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
59405         Use math_force_eval instead of asm to ensure calculation scheduled
59406         before exception test.
59407         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
59408         Ensure a1 + u.d computation is not scheduled after fetestexcept.
59410 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
59412         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
59413         computation is not scheduled after fetestexcept.
59415 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59417         [BZ #14117]
59418         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
59419         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
59421 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59423         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
59424         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
59426 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
59428         [BZ #14117]
59429         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
59430         <bits/wordsize.h>.
59431         (__WCHAR_MIN): Support __WORDSIZE == 64.
59432         (__WCHAR_MAX): Likewise.
59434         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
59435         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
59437         [BZ #14183]
59438         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
59439         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
59441         [BZ #14117]
59442         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
59443         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
59445         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
59446         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
59448         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
59449         Defined to 1 if __x86_64__ isn't defined.
59450         (_STAT_VER_LINUX_OLD): New.
59451         (st_atime): Remove duplicate.
59452         (st_mtime): Likewise.
59453         (st_ctime): Likewise.
59455 2012-05-31  David S. Miller  <davem@davemloft.net>
59457         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
59458         entries.
59460 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
59462         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
59463         gen-libm-test.pl.
59465         [BZ #14132]
59466         * elf/dl-reloc.c: Include <_itoa.h>.
59467         (_dl_reloc_bad_type): Remove use of INTUSE.
59468         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
59469         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
59470         * stdio-common/psiginfo.c (psiginfo): Likewise.
59471         * stdio-common/psignal.c (psignal): Likewise.
59472         * string/strsignal.c (strsignal): Likewise.
59473         * include/signal.h (_sys_siglist): Declare hidden proto.
59474         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
59475         INTVARDEF with libc_hidden_data_def.
59476         * stdio-common/itoa-udigits.c: Likewise.
59477         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
59478         (_itoa_lower_digits_internal): Remove declaration.
59479         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
59480         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
59481         (_sys_sigabbrev_internal): Remove aliases.
59482         (_sys_siglist): Define hidden alias.
59484 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
59486         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59487         bits/sysctl.h.
59489 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
59491         [BZ #14117]
59492         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
59493         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
59495         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
59496         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
59497         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
59498         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
59499         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
59500         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
59502         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
59503         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
59504         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
59506         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
59507         with __addr.
59508         (insw): Likewise.
59509         (insl): Likewise.
59510         (outsb): Likewise.
59511         (outsw): Likewise.
59512         (outsl): Likewise.
59514         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
59515         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
59516         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
59518         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
59519         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
59520         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
59521         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
59522         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
59523         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
59525         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
59526         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
59528         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
59529         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
59531         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
59532         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
59533         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
59535         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
59536         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
59537         to ...
59538         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
59540         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
59541         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
59542         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
59544         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
59545         for x86-64.
59546         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
59548 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
59550         * math/math.h (M_El): Use two more decimal places.
59551         (M_LOG2El): Likewise.
59552         (M_LOG10El): Likewise.
59553         (M_LN2l): Likewise.
59554         (M_LN10l): Likewise.
59555         (M_PIl): Likewise.
59556         (M_PI_2l): Likewise.
59557         (M_PI_4l): Likewise.
59558         (M_1_PIl): Likewise.
59559         (M_2_PIl): Likewise.
59560         (M_2_SQRTPIl): Likewise.
59561         (M_SQRT2l): Likewise.
59562         (M_SQRT1_2l): Likewise.
59564 2012-05-31  David S. Miller  <davem@davemloft.net>
59566         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
59567         values between float registers.
59568         * sysdeps/sparc/sparc64/memset.S: Likewise.
59569         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
59571 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
59573         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
59574         -D_FORTIFY_SOURCE=1.
59575         (CPPFLAGS-tst-longjmp_chk.c): Define.
59576         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
59577         (CPPFLAGS-tst-longjmp_chk2.c): Define.
59578         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
59579         CFLAGS-tst-wchar-h.c.
59581 2012-05-31  Marek Polacek  <polacek@redhat.com>
59583         [BZ #14132]
59584         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
59585         __endmntent_internal): Remove declaration.
59586         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
59587         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
59588         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
59590 2012-05-30  David S. Miller  <davem@davemloft.net>
59592         * sysdeps/sparc/sparc32/soft-fp/q_util.c
59593         (___Q_simulate_exceptions): Use real FP ops rather than writing
59594         into the %fsr.
59595         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
59596         Likewise.
59598 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59600         [BZ #14117]
59601         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
59602         * sysdeps/x86/bits/xtitypes.h: This.
59604         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
59605         * sysdeps/x86/bits/wordsize.h: This.
59607         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
59608         * sysdeps/x86/bits/huge_vall.h: This.
59610         * sysdeps/i386/bits/select.h: Removed.
59611         * sysdeps/x86_64/bits/select.h: Renamed to ...
59612         * sysdeps/x86/bits/select.h: This.
59614         * sysdeps/i386/bits/setjmp.h: Removed.
59615         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
59616         * sysdeps/x86/bits/setjmp.h: This.
59618         * sysdeps/i386/bits/mathdef.h: Removed.
59619         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
59620         * sysdeps/x86/bits/mathdef.h: This.
59622 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
59624         [BZ #14132]
59625         * include/sys/socket.h (__connect_internal)
59626         (__libc_sa_len_internal): Remove declaration.
59627         (__connect, __libc_sa_len): Declare hidden_proto.
59628         (SA_LEN): Remove use of INTUSE.
59629         * socket/connect.c: Add libc_hidden_def.
59630         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
59631         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
59632         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
59633         alias.
59634         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
59635         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
59636         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
59637         of adding _internal alias.
59639 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59641         [BZ #14117]
59642         * sysdeps/i386/bits/link.h: Removed.
59643         * sysdeps/i386/bits/linkmap.h: Likewise.
59644         * sysdeps/x86_64/bits/link.h: Renamed to ...
59645         * sysdeps/x86/bits/link.h: This.
59646         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
59647         * sysdeps/x86/bits/linkmap.h: This.
59649         * sysdeps/i386/bits/endian.h: Removed.
59650         * sysdeps/x86_64/bits/endian.h: Renamed to ...
59651         * sysdeps/x86/bits/endian.h: This.
59653         * sysdeps/i386/bits/byteswap.h: Removed.
59654         * sysdeps/i386/bits/byteswap-16.h: Likewise.
59655         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
59656         * sysdeps/x86/bits/byteswap.h: This.
59657         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
59658         * sysdeps/x86/bits/byteswap-16.h: This.
59659         * sysdeps/i386/Implies: Add x86.
59660         * sysdeps/x86_64/Implies: Likewise.
59662 2012-05-30  David S. Miller  <davem@davemloft.net>
59664         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
59665         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
59666         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
59667         (FP_TRAPPING_EXCEPTIONS): Define.
59668         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
59669         (FP_TRAPPING_EXCEPTIONS): Define.
59670         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
59671         subnormals only when inexact has been signalled or underflow
59672         exceptions are enabled.
59673         (_FP_PACK_CANONICAL): Likewise.
59675 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59677         [BZ #14183]
59678         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
59679         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
59681 2012-05-30  Richard Henderson  <rth@twiddle.net>
59683         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
59684         with #ifndef NOT_IN_libc.
59686         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
59687         marked to avoid plt entry.
59689 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59691         [BZ #14112]
59692         * Makeconfig (default-abi): New macro.
59693         (abi-includes): Likewise.
59694         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
59695         $(abi-$(default-abi)-lib-soname) for soname if defined.
59696         ($(common-objpfx)gnu/lib-names.stmp): Generate from
59697         abi-variants.
59698         * Makefile (installed-stubs): Likewise.
59699         * include/stubs-biarch.h: Removed.
59700         * scripts/lib-names.awk: Only handle one library at a time.
59701         * scripts/soversions.awk: Remove WORDSIZE support.
59702         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
59703         entries.
59704         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
59705         Removed.
59706         (syscall-list-default-condition): Likewise.
59707         (syscall-list-default-condition): Likewise.
59708         (syscall-list-includes): Likewise.
59709         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
59710         syscall-list-* with abi-*.  Handle undefined abi-variants.
59711         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
59712         * sysdeps/unix/sysv/linux/i386/Implies: New file.
59713         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
59714         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
59715         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
59716         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
59717         Removed.
59718         (syscall-list-32-options): Likewise.
59719         (syscall-list-32-condition): Likewise.
59720         (syscall-list-64-options): Likewise.
59721         (syscall-list-64-condition): Likewise.
59722         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
59723         macro.
59724         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
59725         Renamed to ...
59726         (abi-*): This.
59727         (abi-64-ld-soname): New macro.
59728         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
59729         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
59730         Renamed to ...
59731         (abi-*): This.
59732         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
59733         * sysdeps/x86_64/x32/shlib-versions: Likewise.
59735 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
59737         * sysdeps/unix/sysv/linux/kernel-features.h
59738         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
59739         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
59740         include <kernel-features.h>.
59741         [!__NR_ftruncate64]: Remove conditional code.
59742         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59743         [__NR_ftruncate64]: Make code unconditional.
59744         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59745         * sysdeps/unix/sysv/linux/truncate64.c: Do not
59746         include <kernel-features.h>.
59747         [!__NR_ftruncate64]: Remove conditional code.
59748         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59749         [__NR_ftruncate64]: Make code unconditional.
59750         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
59752         include <kernel-features.h>.
59753         [!__NR_ftruncate64]: Remove conditional code.
59754         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59755         [__NR_ftruncate64]: Make code unconditional.
59756         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
59758         include <kernel-features.h>.
59759         [!__NR_ftruncate64]: Remove conditional code.
59760         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59761         [__NR_ftruncate64]: Make code unconditional.
59762         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59764         * configure.in (libc_cv_fpie): Weaken to a compile test using
59765         LIBC_TRY_CC_OPTION.
59766         * configure: Regenerated.
59768 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59770         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
59771         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
59772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
59773         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59774         Refreshed.
59775         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
59776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
59777         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
59778         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
59779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
59780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59781         Refreshed.
59783 2012-05-27  David S. Miller  <davem@davemloft.net>
59785         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
59786         (___Q_zero): New.
59787         (__Q_simulate_exceptions): Return void.  Change to simulate
59788         exceptions by writing into the %fsr.
59789         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
59790         (__Qp_handle_exceptions): Likewise.
59791         (numbers): Delete.
59792         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
59793         __Qp_handle_exceptions.
59794         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
59795         __Qp_handle_exceptions.
59796         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59797         as unused and give dummy FP_RND_NEAREST initializer.
59798         (FP_INHIBIT_RESULTS): Define.
59799         (___Q_simulate_exceptions): Update declaration.
59800         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
59801         formatting.
59802         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59803         as unused and give dummy FP_RND_NEAREST initializer.
59804         (__Qp_handle_exceptions): Update declaration.
59805         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
59806         formatting.
59808 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
59810         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
59811         the temporary FPU control word.
59812         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
59813         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
59814         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
59815         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
59816         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
59817         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
59818         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
59819         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
59820         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
59821         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
59822         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59824 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59826         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
59827         fields.
59829 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
59831         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
59832         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
59833         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
59834         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
59835         Likewise.
59836         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
59837         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
59838         Likewise.
59840 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
59842         * po/h.po: Update from translation team.
59844 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
59846         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
59848         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
59849         handling of denormals.
59850         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59851         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
59852         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59853         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59854         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59855         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
59856         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
59857         Likewise.
59859 2012-05-26  Marek Polacek  <polacek@redhat.com>
59861         [BZ #14152]
59862         * math/libm-test.inc (fma_test): Don't always expect underflow
59863         exception.
59865 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59867         [BZ #12416]
59868         * elf/tst-execstack.c: Include stackinfo.h.
59869         (do_test): Adjust test case to ensure that pthread_getattr_np
59870         behaviour remains the same after marking stack executable.
59872 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
59874         * sysdeps/unix/sysv/linux/kernel-features.h
59875         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
59876         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
59877         kernel-features.h.
59878         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
59879         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
59880         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
59881         kernel-features.h.
59882         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
59883         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
59885 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
59887         * configure.in: Define the default includes to being none.
59888         * configure: Regenerated.
59890 2012-05-25  Roland McGrath  <roland@hack.frob.com>
59892         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
59893         * sysdeps/x86_64/setjmp.S: Likewise.
59894         * sysdeps/i386/bsd-setjmp.S: Likewise.
59895         * sysdeps/i386/bsd-_setjmp.S: Likewise.
59896         * sysdeps/i386/setjmp.S: Likewise.
59897         * sysdeps/i386/__longjmp.S: Likewise.
59898         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
59899         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
59901         * include/stap-probe.h: New file.
59902         * configure.in: Handle --enable-systemtap.
59903         * configure: Regenerated.
59904         * config.h.in (USE_STAP_PROBE): New #undef.
59905         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
59906         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
59907         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
59909 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
59911         [BZ #13717]
59912         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
59913         to 2.4.0 where earlier.
59914         * sysdeps/unix/sysv/linux/configure: Regenerated.
59915         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
59916         <kernel-features.h>.
59917         [__ASSUME_32BITUIDS]: Make code unconditional.
59918         [!__ASSUME_32BITUIDS]: Remove conditional code.
59919         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
59920         <kernel-features.h>.
59921         [__ASSUME_32BITUIDS]: Make code unconditional.
59922         [!__ASSUME_32BITUIDS]: Remove conditional code.
59923         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
59924         [__ASSUME_32BITUIDS]: Make code unconditional.
59925         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
59926         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
59927         <kernel-features.h>.
59928         [__ASSUME_32BITUIDS]: Make code unconditional.
59929         [!__ASSUME_32BITUIDS]: Remove conditional code.
59930         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
59931         <kernel-features.h>.
59932         [__ASSUME_32BITUIDS]: Make code unconditional.
59933         [!__ASSUME_32BITUIDS]: Remove conditional code.
59934         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
59935         <kernel-features.h>.
59936         [__ASSUME_32BITUIDS]: Make code unconditional.
59937         [!__ASSUME_32BITUIDS]: Remove conditional code.
59938         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
59939         <kernel-features.h>.
59940         [__ASSUME_32BITUIDS]: Make code unconditional.
59941         [!__ASSUME_32BITUIDS]: Remove conditional code.
59942         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
59943         <kernel-features.h>.
59944         [__ASSUME_32BITUIDS]: Make code unconditional.
59945         [!__ASSUME_32BITUIDS]: Remove conditional code.
59946         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
59947         <kernel-features.h>.
59948         [__ASSUME_32BITUIDS]: Make code unconditional.
59949         [!__ASSUME_32BITUIDS]: Remove conditional code.
59950         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
59951         <kernel-features.h>.
59952         [__ASSUME_32BITUIDS]: Make code unconditional.
59953         [!__ASSUME_32BITUIDS]: Remove conditional code.
59954         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
59955         <kernel-features.h>.
59956         [__ASSUME_32BITUIDS]: Make code unconditional.
59957         [!__ASSUME_32BITUIDS]: Remove conditional code.
59958         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
59959         <kernel-features.h>.
59960         [__ASSUME_32BITUIDS]: Make code unconditional.
59961         [!__ASSUME_32BITUIDS]: Remove conditional code.
59962         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
59963         <kernel-features.h>.
59964         [__ASSUME_32BITUIDS]: Make code unconditional.
59965         [!__ASSUME_32BITUIDS]: Remove conditional code.
59966         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
59967         <kernel-features.h>.
59968         [__NR_setresgid] (__setresgid): Do not declare.
59969         [__ASSUME_32BITUIDS]: Make code unconditional.
59970         [!__ASSUME_32BITUIDS]: Remove conditional code.
59971         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
59972         <kernel-features.h>.
59973         [__NR_setresuid] (__setresuid): Do not declare.
59974         [__ASSUME_32BITUIDS]: Make code unconditional.
59975         [!__ASSUME_32BITUIDS]: Remove conditional code.
59976         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
59977         <kernel-features.h>.
59978         [__ASSUME_32BITUIDS]: Make code unconditional.
59979         [!__ASSUME_32BITUIDS]: Remove conditional code.
59980         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
59981         <kernel-features.h>.
59982         [__ASSUME_32BITUIDS]: Make code unconditional.
59983         [!__ASSUME_32BITUIDS]: Remove conditional code.
59984         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
59985         <kernel-features.h>.
59986         [__ASSUME_32BITUIDS]: Make code unconditional.
59987         [!__ASSUME_32BITUIDS]: Remove conditional code.
59988         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
59989         <kernel-features.h>.
59990         [__ASSUME_32BITUIDS]: Make code unconditional.
59991         [!__ASSUME_32BITUIDS]: Remove conditional code.
59992         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
59993         <kernel-features.h>.
59994         [__ASSUME_32BITUIDS]: Make code unconditional.
59995         [!__ASSUME_32BITUIDS]: Remove conditional code.
59996         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
59997         <kernel-features.h>.
59998         [__ASSUME_32BITUIDS]: Make code unconditional.
59999         [!__ASSUME_32BITUIDS]: Remove conditional code.
60000         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
60001         <kernel-features.h>.
60002         [__ASSUME_32BITUIDS]: Make code unconditional.
60003         [!__ASSUME_32BITUIDS]: Remove conditional code.
60004         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
60005         <kernel-features.h>.
60006         [__ASSUME_32BITUIDS]: Make code unconditional.
60007         [!__ASSUME_32BITUIDS]: Remove conditional code.
60008         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
60009         <kernel-features.h>.
60010         [__ASSUME_32BITUIDS]: Make code unconditional.
60011         [!__ASSUME_32BITUIDS]: Remove conditional code.
60012         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60013         <kernel-features.h>.
60014         [__ASSUME_32BITUIDS]: Make code unconditional.
60015         [!__ASSUME_32BITUIDS]: Remove conditional code.
60016         * sysdeps/unix/sysv/linux/kernel-features.h
60017         (__ASSUME_SETRESUID_SYSCALL): Remove.
60018         (__ASSUME_SETRESGID_SYSCALL): Likewise.
60019         (__ASSUME_32BITUIDS): Likewise.
60020         (__ASSUME_LDT_WORKS): Likewise.
60021         (__ASSUME_O_DIRECTORY): Likewise.
60022         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
60023         architecture but not kernel version.
60024         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
60025         (__ASSUME_MMAP2_SYSCALL): Likewise.
60026         (__ASSUME_STAT64_SYSCALL): Likewise.
60027         (__ASSUME_IPC64): Likewise.
60028         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
60029         <kernel-features.h>.
60030         [__ASSUME_32BITUIDS]: Make code unconditional.
60031         [!__ASSUME_32BITUIDS]: Remove conditional code.
60032         * sysdeps/unix/sysv/linux/opendir.c: Do not include
60033         <kernel-features.h>.
60034         [__ASSUME_O_DIRECTORY]: Make code unconditional.
60035         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
60036         132096]: Remove conditional code.
60037         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
60038         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
60039         <kernel-features.h>.
60040         [__ASSUME_32BITUIDS]: Make code unconditional.
60041         [!__ASSUME_32BITUIDS]: Remove conditional code.
60042         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
60043         <kernel-features.h>.
60044         [__ASSUME_32BITUIDS]: Make code unconditional.
60045         [!__ASSUME_32BITUIDS]: Remove conditional code.
60046         * sysdeps/unix/sysv/linux/setegid.c: Do not include
60047         <kernel-features.h>.
60048         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
60049         unconditional.
60050         (__setresgid): Do not declare.
60051         [__ASSUME_32BITUIDS]: Make code unconditional.
60052         [!__ASSUME_32BITUIDS]: Remove conditional code.
60053         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
60054         <kernel-features.h>.
60055         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
60056         unconditional.
60057         (__setresuid): Do not declare.
60058         [__ASSUME_32BITUIDS]: Make code unconditional.
60059         [!__ASSUME_32BITUIDS]: Remove conditional code.
60060         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60061         <kernel-features.h>.
60062         [__ASSUME_32BITUIDS]: Make code unconditional.
60063         [!__ASSUME_32BITUIDS]: Remove conditional code.
60064         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
60065         <kernel-features.h>.
60066         [__ASSUME_32BITUIDS]: Make code unconditional.
60067         [!__ASSUME_32BITUIDS]: Remove conditional code.
60069 2012-05-25  Richard Henderson  <rth@twiddle.net>
60071         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
60072         dl_hwcap to ifunc resolver.
60073         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
60074         elf_ifunc_invoke.
60075         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
60076         dl_hwcap to ifunc resolver.
60077         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
60079 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60081         [BZ #14153]
60082         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
60083         for |x| <= 2**-26, not 2**-57.
60084         * math/libm-test.inc (acos_test): Do not allow spurious underflow
60085         exception.
60087 2012-05-24  Jeff Law  <law@redhat.com>
60089         * stdio-common/Makefile (tests): Add bug25.
60090         * stdio-common/bug25.c: New test.
60092 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60094         [BZ #13576]
60095         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
60096         multiple of MALLOC_ALIGNMENT in size.
60097         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
60099 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60101         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
60102         Require >= 256.
60103         (FILENAME_MAX): Use macro-int-constant.
60104         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
60105         (_IOFBF): Use macro-int-constant.
60106         (_IOLBF): Likewise.
60107         (_IONBF): Likewise.
60108         (SEEK_CUR): Likewise.
60109         (SEEK_END): Likewise.
60110         (SEEK_SET): Likewise.
60111         (TMP_MAX): Likewise.
60112         (EOF): Use macro-int-constant.  Require < 0.
60113         (NULL): Use macro-constant.  Require == 0.
60114         (stdin): Require type to be FILE *.
60115         (stdout): Likewise.
60116         (stderr): Likewise.
60117         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
60118         macro-int-constant.
60119         (EXIT_SUCCESS): Likewise.
60120         (NULL): Use macro-constant.  Require == 0.
60121         (RAND_MAX): Use macro-int-constant.
60122         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
60123         [C99-based standards] (strtof): Require function.
60124         [C99-based standards] (strtold): Likewise.
60125         [C99-based standards] (strtoll): Likewise.
60126         [C99-based standards] (strtoull): Likewise.
60127         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60128         [ISO || ISO99 || ISO11] (limits.h): Likewise.
60129         [ISO || ISO99 || ISO11] (math.h): Likewise.
60130         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
60131         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60132         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60134 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
60136         [BZ #14132]
60137         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
60138         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
60139         * intl/dgettext.c (DCGETTEXT): Likewise.
60140         * intl/gettext.c (DCGETTEXT): Likewise.
60141         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
60142         * posix/regex_internal.h (gettext): Likewise.
60143         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
60144         Remove declaration.
60145         * include/argz.h (__argz_count_internal)
60146         (__argz_stringify_internal): Remove declaration.
60147         (__argz_count, __argz_stringify): Declare hidden proto.
60148         * intl/dcgettext.c: Remove use of INTDEF.
60149         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
60150         * string/argz-stringify.c: Likewise.
60151         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60152         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60153         Declare hidden proto.
60154         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60155         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60156         Declare hidden proto.
60157         * include/stdio.h (__asprintf_internal): Don't declare.
60158         (__asprintf): Don't define as macro.  Declare hidden proto.
60159         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
60160         (__fsetlocking): Declare hidden proto.
60161         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
60162         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
60163         hidden proto.
60164         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
60165         (_IO_setlinebuf): Remove use of INTUSE.
60166         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
60167         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
60168         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
60169         Remove declaration.
60170         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
60171         (_IO_do_flush): Remove use of INTUSE.
60172         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
60173         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
60174         (_IO_adjust_column, _IO_least_wmarker)
60175         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
60176         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
60177         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
60178         (_IO_default_doallocate, _IO_wdefault_doallocate)
60179         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
60180         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
60181         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
60182         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
60183         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
60184         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
60185         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
60186         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
60187         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
60188         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
60189         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
60190         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
60191         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
60192         proto.
60193         (_IO_flush_all_internal, _IO_adjust_column_internal)
60194         (_IO_default_uflow_internal, _IO_default_finish_internal)
60195         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
60196         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
60197         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
60198         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
60199         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
60200         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
60201         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
60202         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
60203         (_IO_file_close_internal, _IO_file_close_it_internal)
60204         (_IO_file_underflow_internal, _IO_file_overflow_internal)
60205         (_IO_file_init_internal, _IO_file_attach_internal)
60206         (_IO_file_fopen_internal, _IO_file_read_internal)
60207         (_IO_file_sync_internal, _IO_file_seek_internal)
60208         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
60209         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
60210         (_IO_str_underflow_internal, _IO_str_overflow_internal)
60211         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
60212         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
60213         (_IO_list_all_internal, _IO_link_in_internal)
60214         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
60215         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
60216         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
60217         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
60218         (_IO_do_write_internal, _IO_padn_internal)
60219         (_IO_getline_info_internal, _IO_getline_internal)
60220         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
60221         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
60222         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
60223         (_IO_vfscanf_internal, _IO_vfprintf_internal)
60224         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
60225         (_IO_init_internal, _IO_un_link_internal): Don't declare.
60226         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
60227         with libc_hidden_ver, remove use of INTUSE.
60228         * libio/genops.c: Likewise.
60229         * libio/freopen.c: Likewise.
60230         * libio/freopen64.c: Likewise.
60231         * libio/iofclose.c: Likewise.
60232         * libio/iofdopen.c: Likewise.
60233         * libio/iofflush.c: Likewise.
60234         * libio/iofflush_u.c: Likewise.
60235         * libio/iofgets.c: Likewise.
60236         * libio/iofgets_u.c: Likewise.
60237         * libio/iofopen.c: Likewise.
60238         * libio/iofopncook.c: Likewise.
60239         * libio/iofread.c: Likewise.
60240         * libio/iofread_u.c: Likewise.
60241         * libio/ioftell.c: Likewise.
60242         * libio/iofwrite.c: Likewise.
60243         * libio/iogetline.c: Likewise.
60244         * libio/iogets.c: Likewise.
60245         * libio/iogetwline.c: Likewise.
60246         * libio/iopadn.c: Likewise.
60247         * libio/iopopen.c: Likewise.
60248         * libio/ioseekoff.c: Likewise.
60249         * libio/ioseekpos.c: Likewise.
60250         * libio/iosetbuffer.c: Likewise.
60251         * libio/iosetvbuf.c: Likewise.
60252         * libio/ioungetc.c: Likewise.
60253         * libio/ioungetwc.c: Likewise.
60254         * libio/iovdprintf.c: Likewise.
60255         * libio/iovsprintf.c: Likewise.
60256         * libio/iovsscanf.c: Likewise.
60257         * libio/memstream.c: Likewise.
60258         * libio/obprintf.c: Likewise.
60259         * libio/oldfileops.c: Likewise.
60260         * libio/oldiofclose.c: Likewise.
60261         * libio/oldiofdopen.c: Likewise.
60262         * libio/oldiofopen.c: Likewise.
60263         * libio/oldiopopen.c: Likewise.
60264         * libio/oldstdfiles.c: Likewise.
60265         * libio/putc.c: Likewise.
60266         * libio/setbuf.c: Likewise.
60267         * libio/setlinebuf.c: Likewise.
60268         * libio/stdfiles.c: Likewise.
60269         * libio/strops.c: Likewise.
60270         * libio/vasprintf.c: Likewise.
60271         * libio/vscanf.c: Likewise.
60272         * libio/vsnprintf.c: Likewise.
60273         * libio/vswprintf.c: Likewise.
60274         * libio/wfiledoalloc.c: Likewise.
60275         * libio/wfileops.c: Likewise.
60276         * libio/wgenops.c: Likewise.
60277         * libio/wmemstream.c: Likewise.
60278         * libio/wstrops.c: Likewise.
60279         * libio/__fpurge.c: Likewise.
60280         * libio/__fsetlocking.c: Likewise.
60281         * assert/assert.c: Likewise.
60282         * debug/fgets_chk.c: Likewise.
60283         * debug/fgets_u_chk.c: Likewise.
60284         * debug/fread_chk.c: Likewise.
60285         * debug/fread_u_chk.c: Likewise.
60286         * debug/gets_chk.c: Likewise.
60287         * debug/obprintf_chk.c: Likewise.
60288         * debug/vasprintf_chk.c: Likewise.
60289         * debug/vdprintf_chk.c: Likewise.
60290         * debug/vsnprintf_chk.c: Likewise.
60291         * debug/vsprintf_chk.c: Likewise.
60292         * malloc/mtrace.c: Likewise.
60293         * misc/error.c: Likewise.
60294         * misc/syslog.c: Likewise.
60295         * stdio-common/asprintf.c: Likewise.
60296         * stdio-common/fxprintf.c: Likewise.
60297         * stdio-common/getw.c: Likewise.
60298         * stdio-common/isoc99_fscanf.c: Likewise.
60299         * stdio-common/isoc99_scanf.c: Likewise.
60300         * stdio-common/isoc99_vfscanf.c: Likewise.
60301         * stdio-common/isoc99_vscanf.c: Likewise.
60302         * stdio-common/isoc99_vsscanf.c: Likewise.
60303         * stdio-common/printf-prs.c: Likewise.
60304         * stdio-common/printf_fp.c: Likewise.
60305         * stdio-common/printf_fphex.c: Likewise.
60306         * stdio-common/printf_size.c: Likewise.
60307         * stdio-common/putw.c: Likewise.
60308         * stdio-common/scanf.c: Likewise.
60309         * stdio-common/sprintf.c: Likewise.
60310         * stdio-common/tmpfile.c: Likewise.
60311         * stdio-common/vfprintf.c: Likewise.
60312         * stdio-common/vfscanf.c: Likewise.
60313         * stdlib/strfmon_l.c: Likewise.
60314         * sunrpc/openchild.c: Likewise.
60315         * sunrpc/xdr_stdio.c: Likewise.
60316         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
60317         * sysdeps/mach/hurd/tmpfile.c: Likewise.
60319 2012-05-24  Roland McGrath  <roland@hack.frob.com>
60321         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
60323         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
60324         in the third column, to generate for the shared library an IFUNC
60325         that uses _dl_vdso_vsym.
60326         * Makerules (COMPILE.c, compile-stdin.c): New variables.
60327         * Makeconfig (object-suffixes-noshared): New variable.
60329         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
60330         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
60331         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
60332         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
60334         [BZ #14132]
60335         * include/sys/time.h (__gettimeofday): Remove macro.
60336         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
60337         * time/gettimeofday.c (__gettimeofday): Remove #undef.
60338         Remove INTDEF.
60339         (__gettimeofday): Add libc_hidden_def.
60340         (gettimeofday): Add libc_hidden_weak.
60341         * sysdeps/mach/gettimeofday.c: Likewise.
60342         * sysdeps/posix/gettimeofday.c: Likewise.
60343         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
60344         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
60345         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
60346         (__gettimeofday_internal): Remove strong_alias.
60347         (__gettimeofday): Add libc_hidden_def.
60348         (gettimeofday): Add libc_hidden_weak.
60349         * sysdeps/unix/syscalls.list (gettimeofday):
60350         Remove __gettimeofday_internal alias.
60352 2012-05-24  Daniel Jacobowitz  <drow@false.org>
60353             H.J. Lu  <hongjiu.lu@intel.com>
60355         [BZ #12495]
60356         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
60357         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
60358         (largebin_index_32_big): New.
60359         (largebin_index): Use it for 16-byte alignment.
60360         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
60361         correction with front_misalign.
60363 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60365         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
60366         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
60367         Likewise.
60368         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
60369         Likewise.
60370         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60371         Likewise.
60372         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
60373         Likewise.
60374         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
60375         Likewise.
60376         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
60377         Likewise.
60378         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
60379         Likewise.
60380         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
60381         Likewise.
60382         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
60383         Likewise.
60384         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
60385         Likewise.
60386         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
60387         Likewise.
60388         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
60389         Likewise.
60391         * scripts/data/c++-types-x32-linux-gnu.data: New file.
60392         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
60394 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60396         [BZ #10846]
60397         [BZ #14036]
60398         * math/libm-test.inc (exp_test): Add test from bug 14036.
60399         (pow_test): Add test from bug 10846.
60401         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
60402         and other flags.
60403         (special_function): Do not include flags in test name.
60404         (parse_args): Likewise.
60405         * sysdeps/i386/fpu/libm-test-ulps: Update.
60406         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60407         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60408         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60411         * math/gen-libm-test.pl (%beautify): Add entries for underflow
60412         exceptions.
60413         * math/libm-test.inc ("Philosophy"): Update comment about
60414         exception testing.
60415         (UNDERFLOW_EXCEPTION): New macro.
60416         (UNDERFLOW_EXCEPTION_OK): Likewise.
60417         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
60418         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
60419         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
60420         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
60421         (INVALID_EXCEPTION_OK): Update value.
60422         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60423         (OVERFLOW_EXCEPTION_OK): Likewise.
60424         (IGNORE_ZERO_INF_SIGN): Likewise.
60425         (test_exceptions): Handle underflow exceptions.
60426         (acos_test): Update for underflow exception expectations.
60427         (cexp_test): Likewise.
60428         (clog_test): Likewise.
60429         (clog10_test): Likewise.
60430         (csqrt_test): Likewise.
60431         (ctan_test): Likewise.
60432         (ctanh_test): Likewise.
60433         (exp_test): Likewise.
60434         (exp10_test): Likewise.
60435         (exp2_test): Likewise.
60436         (expm1_test): Likewise.
60437         (fma_test): Likewise.
60438         (j0_test): Likewise.
60439         (jn_test): Likewise.
60440         (nexttoward_test): Likewise.
60441         (pow_test): Likewise.
60442         (scalbn_test): Likewise.
60443         (scalbln_test): Likewise.
60444         (tan_test): Likewise.
60445         (y1_test): Likewise.
60446         * sysdeps/i386/fpu/libm-test-ulps: Update.
60447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60449 2012-05-23  David S. Miller  <davem@davemloft.net>
60451         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
60452         (__libc_sigaction): Remove unused local variables.
60454 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
60456         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
60458 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
60460         mktime: avoid signed integer overflow
60461         * time/mktime.c (__mktime_internal): Do not mishandle the case
60462         where diff == INT_MIN.
60464         mktime: simplify computation of average
60465         * time/mktime.c (ranged_convert): Use new time_t_avg function
60466         instead of rolling our own (probably-slower) code.
60468         mktime: do not assume signed right shift propagates sign bit
60469         * time/mktime.c (isdst_differ): New static function.
60470         (__mktime_internal): No need to normalize tm_isdst now.
60471         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
60472         tm_isdst values.
60474         mktime: merge another wrapv change from gnulib
60475         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
60476         from some compilers.
60478         mktime: remove incorrect attempt at unusual arithmetics
60479         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
60480         The code didn't really work on such machines anyway.
60481         (TYPE_MINIMUM): Assume two's complement.
60482         (twos_complement_arithmetic): Verify that long_int and time_t
60483         are two's complement (or unsigned, in the latter case).
60485         mktime: check signed shifts on long_int and time_t, too
60486         * time/mktime.c (SHR): Check that shifts work as desired
60487         on the types long_int and time_t too, as SHR is used on
60488         such types.
60490         mktime: do not assume 'long' is wide enough
60491         * time/mktime.c (verify): Move decl up.
60492         (long_int): New type.
60493         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
60494         to remove assumption in the code that 'long' is wide enough to
60495         store year values.  This assumption is not true on x32 and on
60496         some non-glibc platforms.
60498         mktime: merge wrapv change from gnulib
60499         * time/mktime.c (WRAPV): New macro.
60500         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
60501         (guess_time_tm, __mktime_internal): Do not assume that signed
60502         integer overflow wraps around; modern compilers generate code
60503         where this assumption is no longer valid.
60505 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
60507         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
60508         Replace "jmp L(pseudo_end)" with "ret".
60509         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
60510         Likewise.
60512 2012-05-23  Andreas Jaeger  <aj@suse.de>
60514         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
60515         * sysdeps/unix/sysv/linux/poll.c: Remove file.
60517 2012-05-23  Andreas Jaeger  <aj@suse.de>
60518             Maximilian Attems  <max@stro.at>
60520         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
60521         New macros.
60523 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
60525         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
60526         code so that pseudo_end is just ret and the stack pointer is
60527         correct also for static library in error case.
60529 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
60531         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
60532         move to syscalls.list.
60533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
60534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
60535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
60536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
60538         * manual/install.texi (Running make install): Do not mention Linux
60539         kernel version for which pt_chown is not needed.
60540         (Linux): Do not mention problems with nscd with 2.0 kernels.
60541         * INSTALL: Regenerated.
60543 2012-05-23  Andreas Jaeger  <aj@suse.de>
60545         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
60546         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
60547         macro.
60548         * sysdeps/unix/sysv/linux/s390/bits/mman.h
60549         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60550         * sysdeps/unix/sysv/linux/sh/bits/mman.h
60551         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60552         * sysdeps/unix/sysv/linux/i386/bits/mman.h
60553         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60554         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
60555         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60556         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
60557         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60558         * sysdeps/unix/sysv/linux/bits/in.h
60559         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
60561 2012-05-22  Roland McGrath  <roland@hack.frob.com>
60563         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
60564         (PREPARE_VERSION): Just use assert instead, it will be elided
60565         under [NDEBUG] anyway.
60567 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60569         * sysdeps/unix/sysv/linux/Makefile: Include
60570         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
60571         (sysdep_routines): Remove sysctl.
60572         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
60573         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
60574         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
60575         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
60576         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
60578 2012-05-22  Andreas Jaeger  <aj@suse.de>
60580         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
60581         that pseudo_end is just ret and the stack pointer is correct also
60582         for static library in error case.
60584 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
60586         [BZ #14122]
60587         * nss/nsswitch.c (defconfig_entries): New variable.
60588         (__nss_database_lookup): Don't leak defconfig entries.
60589         (nss_parse_service_list): Don't leak on error paths.
60590         (free_database_entries): New function.
60591         (free_defconfig): New function.
60592         (free_mem): Move common code to free_database_entries.
60594 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60596         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
60597         Add arch_prctl.
60598         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
60600         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
60601         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
60602         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
60603         New macro.
60604         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
60605         (INTERNAL_SYSCALL_TYPES): Likewise.
60606         (LOAD_ARGS_TYPES_[1-6]): Likewise.
60607         (LOAD_REGS_TYPES_[1-6]): Likewise.
60608         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
60609         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
60611 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60613         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
60614         copysignl for GLIBC_2_0.
60615         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
60616         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
60617         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
60618         logbl for GLIBC_2_0.
60619         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
60620         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
60622 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60624         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
60625         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
60627         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
60628         Use "neg %eax".
60630         * time/mktime.c: Update copyright years.
60632 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
60634         mktime: merge comment-quoting-style change from gnulib
60635         * time/mktime.c: Quote 'like this' in comments.
60636         The GNU coding standards suggest that we no longer quote `like this',
60637         as "`" and "'" are typically rendered asymmetrically nowadays.
60638         The typical gnulib style is to quote 'like this' when quoting
60639         code, and "like this" when quoting English.
60641         * time/mktime.c (compile-command): Add "-I.".
60643         mktime: merge mktime-internal.h change from gnulib
60644         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
60646         mktime: merge time_r change from gnulib
60647         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
60649         mktime: merge DEBUG change from gnulib
60650         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
60651         case system <time.h> has a #define.
60653         mktime: merge <sys/types.h> change from gnulib
60654         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
60655         since <time.t> is now guaranteed to define time_t.
60657         mktime: merge HAVE_CONFIG_H change from gnulib
60658         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
60660 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60662         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
60663         Use "neg %eax".
60665         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
60666         __rlim_t cast.
60667         (struct rusage): Use anonymous union to pad each field to
60668         __syscall_slong_t.
60670 2012-05-21  David S. Miller  <davem@davemloft.net>
60672         * Makefules (o-iterator): Remove .s cases.
60673         (compile-command.s): Delete.
60674         (COMPILE.s): Delete.
60675         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
60677 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
60679         * configure.in (libc_cv_predef_stack_protector): Only consider
60680         "foobar" and "__stack_chk_fail" lines in libc_undefs.
60681         * configure: Regenerated.
60683 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60685         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
60686         New macro.  Use R*LP on int and pointer.
60687         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
60688         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
60689         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
60690         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
60692         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
60693         [__WORDSIZE_TIME64_COMPAT32] instead of
60694         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
60695         (struct utmp): Likewise.
60696         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
60697         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
60698         Renamed to ...
60699         (__WORDSIZE_TIME64_COMPAT32): This.
60700         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
60701         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
60702         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
60703         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
60704         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
60705         (__WORDSIZE_TIME64_COMPAT32): New macro.
60707 2012-05-21  Andreas Jaeger  <aj@suse.de>
60709         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
60710         only if [SHARED]. Add prototype for __wcschr_ia32.
60712 2012-05-21  Roland McGrath  <roland@hack.frob.com>
60714         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
60715         of %rbp unmolested in the jmp_buf while mangling the low bits.
60716         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
60717         unmolested high bits of %rbp while demangling the low bits.
60718         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
60720 2012-05-21  Andreas Jaeger  <aj@suse.de>
60722         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
60723         * sunrpc/svc_simple.c: Use it for registerrpc.
60724         * sunrpc/xcrypt.c: Use it for passwd2des.
60726         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
60728 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60730         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
60731         Don't define if [__SYSCALL_WORDSIZE != 32].
60732         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
60733         New macro.
60735 2012-05-21  Bruno Haible  <bruno@clisp.org>
60736             Andreas Jaeger  <aj@suse.de>
60738         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
60739         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
60740         inptr and inend for must_buffer_ch.
60741         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
60742         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
60743         * stdio-common/Makefile (tests): Remove bug15.
60744         (bug15-ENV): Remove macro.
60745         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
60746         anymore.
60748 2012-05-19  Andreas Jaeger  <aj@suse.de>
60749             Roland McGrath  <roland@hack.frob.com>
60751         * manual/contrib.texi: Completely rewritten. It contains now an
60752         alphabetical list of contributors and their contributions.
60754 2012-05-21  Richard Henderson  <rth@twiddle.net>
60756         * misc/getauxval.c (__getauxval): Use unsigned long int.
60757         * misc/sys/auxv.h: Include <sys/cdefs.h>.
60758         (getauxval): Use unsigned long int.
60760 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60762         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
60764 2012-05-21  Roland McGrath  <roland@hack.frob.com>
60766         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
60767         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
60768         __alignof__ (long double).
60770 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60774 2012-05-20  Richard Henderson  <rth@twiddle.net>
60776         * misc/getauxval.c: New file.
60777         * misc/sys/auxv.h: New file.
60778         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
60779         (routines): Add getauxval.
60780         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
60781         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
60782         * elf/dl-sysdep.c (_dl_auxv): Remove.
60783         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
60784         * elf/dl-support.c (_dl_auxv): New variable.
60785         (_dl_aux_init): Initialize it.
60786         * manual/startup.texi (Auxiliary Vector): New node.
60787         * sysdeps/generic/bits/hwcap.h: New file.
60788         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
60789         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
60790         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
60791         * sysdeps/sparc/sysdep.h: ... here.  Include it.
60792         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
60793         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
60794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60795         Update.
60796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
60797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
60798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
60799         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
60800         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60801         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60802         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
60803         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
60805 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60809 2012-05-19  David S. Miller  <davem@davemloft.net>
60811         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60813 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
60815         [BZ #14123]
60816         * math/s_ccosh.c: Include <float.h>
60817         (__ccosh): Avoid internal overflow calculating sinh and cosh
60818         values before multiplying by sin and cos values.
60819         * math/s_ccoshf.c: Likewise.
60820         * math/s_ccoshl.c: Likewise.
60821         * math/s_csin.c: Likewise.
60822         * math/s_csinf.c: Likewise.
60823         * math/s_csinl.c: Likewise.
60824         * math/s_csinh.c: Likewise.
60825         * math/s_csinhf.c: Likewise.
60826         * math/s_csinhl.c: Likewise.
60827         * math/libm-test.inc (ccos_test): Add more tests.
60828         (ccosh_test): Likewise.
60829         (csin_test): Likewise.
60830         (csinh_test): Likewise.
60831         * sysdeps/i386/fpu/libm-test-ulps: Update.
60832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60834 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
60836         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
60837         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
60839         * sysdeps/x86_64/x32/_itoa.h: Add comment.
60841 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
60843         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
60844         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
60845         * sysdeps/powerpc/soft-fp/Versions: Likewise.
60846         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
60847         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
60848         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
60849         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
60850         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
60851         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
60852         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
60853         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
60854         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
60855         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
60856         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
60857         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
60858         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
60859         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
60860         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
60861         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
60862         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
60863         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
60864         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
60865         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
60866         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
60867         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
60868         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
60869         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
60870         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
60871         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
60872         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
60873         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
60875 2012-05-18  Andreas Jaeger  <aj@suse.de>
60877         * csu/.gitignore: Delete.
60879 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60881         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
60882         (timex): Use __syscall_slong_t.
60884 2012-05-18  Andreas Jaeger  <aj@suse.de>
60885             Carlos O'Donell  <carlos_odonell@mentor.com>
60887         * manual/install.texi (Configuring and compiling): Update
60888         description about files modified in the source directory.
60889         * INSTALL: Regenerated.
60891 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60893         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
60894         value.  Use "or" to set return value to -1.
60895         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
60896         negate return value.
60898 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60900         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
60901         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
60902         failure if the compiler has Graphite support disabled.
60903         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
60904         Likewise.
60905         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
60906         (CFLAGS-memmove.c): Likewise.
60907         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
60908         Likewise.
60910 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60912         * sysdeps/x86_64/x32/_itoa.h: New file.
60914         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
60915         getdents system call only if kernel and user dirents have the
60916         same d_ino and d_off.
60918         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
60919         LLONG_MAX != LONG_MAX.
60920         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60921         (_fitoa_word): Likewise.
60923         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
60924         years.
60925         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
60926         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
60927         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
60929         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
60930         include <bits/wordsize.h>.  Check __x86_64__ instead of
60931         __WORDSIZE.
60932         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
60933         if __x86_64__ is defined.  Use anonymous union on fpstate.
60935         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
60936         anonymous union.
60938 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
60940         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
60941         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
60942         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
60943         Refer to _rtld_local_ro instead of _rtld_global_ro.
60944         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
60945         Likewise.
60946         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
60947         Likewise.
60948         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
60949         Likewise.
60950         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
60951         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
60952         of _rtld_global, and rtld_progname instead of _dl_argv[0].
60954         [BZ #10882]
60955         * sysdeps/powerpc/powerpc32/dl-machine.c
60956         (__elf_machine_runtime_setup) [PROF]: Don't reference
60957         _dl_prof_resolve.
60959 2012-05-18  Andreas Jaeger  <aj@suse.de>
60961         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
60962         function only available for GCCs before 3.4 since GCC 3.4
60963         introduced a builtin.
60964         (lrint): Likewise.
60965         (llrintf): Likewise.
60966         (llrint): Likewise.
60967         (fmaxf): Likewise.
60968         (fmax): Likewise.
60969         (fminf): Likewise.
60970         (fmin): Likewise.
60971         (rint): Likewise.
60972         (rintf): Likewise.
60973         (nearbyint): Likewise.
60974         (nearbyintf): Likewise.
60975         (ceil): Likewise.
60976         (ceilf): Likewise.
60977         (floor): Likewise.
60978         (floorf): Likewise.
60980 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60982         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
60983         on both fields and cast pointer to __syscall_ulong_t.
60985         * bits/types.h (__fsword_t): New type.
60986         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
60987         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
60988         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60989         (__FSWORD_T_TYPE): Likewise.
60990         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60991         (__FSWORD_T_TYPE): Likewise.
60992         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60993         (__FSWORD_T_TYPE): Likewise.
60994         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
60995         (__FSWORD_T_TYPE): Likewise.
60996         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
60997         __SWORD_TYPE with __fsword_t.
60998         (statfs64): Likewise.
61000 2012-05-17  David S. Miller  <davem@davemloft.net>
61002         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
61004 2012-05-17  Andreas Jaeger  <aj@suse.de>
61006         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
61007         warning.
61009 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61011         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
61013 2012-05-17  Andreas Jaeger  <aj@suse.de>
61015         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
61016         when it is used.
61018 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61020         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
61022 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61024         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
61025         * sysdeps/x86_64/tst-mallocalign1.c: New file.
61027 2012-05-17  Andreas Jaeger  <aj@suse.de>
61028             Carlos O'Donell  <carlos_odonell@mentor.com>
61030         [BZ #14059]
61031         * sysdeps/x86_64/multiarch/init-arch.h
61032         (bit_YMM_Usable): Rename to...
61033         (bit_AVX_Usable): ... this.
61034         (bit_FMA4_Usable): New macro.
61035         (bit_XMM_state): New macro.
61036         (bit_YMM_state): New macro.
61037         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
61038         [__ASSEMBLER__] (index_AVX_Usable): ... this.
61039         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
61040         (CPUID_OSXSAVE): New macro.
61041         (CPUID_AVX): New macro.
61042         (CPUID_FMA4): New macro.
61043         (index_YMM_Usable): Rename to...
61044         (index_AVX_Usable): ... this.
61045         (HAS_AVX): Use HAS_ARCH_FEATURE.
61046         (HAS_FMA4): Likewise.
61047         (HAS_YMM_USABLE): Remove.
61048         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61049         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
61050         are present.
61051         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
61052         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
61053         * sysdeps/x86_64/multiarch/Makefile: Likewise.
61054         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
61055         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
61057 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61059         * math/libm-test.c: Support platforms without multiple rounding modes.
61060         * math/bug-nextafter.c: Support platforms without FP exceptions.
61061         * math/bug-nexttoward.c: Likewise.
61062         * math/test-fenv.c: Likewise.
61063         * math/test-misc.c: Likewise.
61064         * stdlib/bug-getcontext.c: Likewise.
61066 2012-05-17  Andreas Jaeger  <aj@suse.de>
61068         * manual/examples/search.c (critter_cmp): Change signature to
61069         avoid warnings.
61070         * manual/string.texi (Collation Functions): Likewise.
61072 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61074         * bits/types.h: Fold copyright years.
61075         * bits/typesizes.h: Likewise.
61076         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
61077         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
61078         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
61079         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
61080         * time/time.h: Likewise.
61082 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
61084         [BZ #208]
61085         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
61086         in instead of returning them.  Return void.
61087         (__libc_mallinfo): Accumulate over all arenas.
61088         (__malloc_stats): Adjust for change in int_mallinfo interface.
61090 2012-05-16  Roland McGrath  <roland@hack.frob.com>
61092         [BZ #10375]
61093         * configure.in (NM): Add AC_CHECK_TOOL for it.
61094         (libc_extra_cflags): New substituted variable.
61095         Check for -fstack-protector being used implicitly.
61096         * configure: Regenerated.
61097         * config.make.in (config-extra-cflags): New variable,
61098         gets @libc_extra_cflags@.
61099         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
61101         [BZ #10375]
61102         * configure.in: Check for _FORTIFY_SOURCE being predefined.
61103         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
61104         * configure: Regenerated.
61105         * config.make.in (CPPUNDEFS): New substituted variable.
61106         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
61107         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
61108         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
61110 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61112         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
61113         (mq_attr): Use __syscall_slong_t.
61115 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61117         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
61118         Check __x86_64__ instead of __WORDSIZE.
61119         (_STAT_VER_LINUX): Likewise.
61120         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
61121         __syscall_ulong_t and __syscall_slong_t.
61122         (stat64): Likewise.
61124 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61126         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
61128 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61130         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
61132 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61134         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
61135         __syscall_ulong_t.
61137         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
61138         include <bits/wordsize.h>.  Check __x86_64__ instead of
61139         __WORDSIZE.
61140         (greg_t): Use "__extension__ long long int" if __x86_64__ is
61141         defined.
61142         (mcontext_t): Replace "unsigned long" with "unsigned long long".
61144         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
61145         include <bits/wordsize.h>.  Check __x86_64__ instead of
61146         __WORDSIZE.
61147         (user_regs_struct): Use "__extension__ unsigned long long"
61148         instead of "unsigned long" if __x86_64__ is defined.
61149         (user): Likewise.  Pad after pointer field if __ILP32__ is
61150         defined.
61152 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
61154         * configure.in (makeinfo): Require version 4.5 or later.  Allow
61155         versions 5 to 9.
61156         * configure: Regenerated.
61157         * manual/install.texi (texinfo): Increase version requirement to
61158         4.5 or later.
61159         * INSTALL: Regenerated.
61161         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
61163 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61165         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
61167         * sysdeps/x86_64/x32/ffs.c: New file.
61169         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
61170         __syscall_ulong_t.
61171         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
61172         defined.  Use __syscall_ulong_t.
61173         (shminfo): Use __syscall_ulong_t.
61174         (shm_info): Likewise.
61176         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
61177         __syscall_ulong_t.
61179         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
61180         <bits/wordsize.h>.
61181         (msgqnum_t): Use __syscall_ulong_t.
61182         (msglen_t): Likewise.
61183         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
61184         __syscall_ulong_t.
61186         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
61187         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61189         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
61191         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
61192         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
61194         * sysvipc/sys/msg.h (msgbuf): Replace long int with
61195         __syscall_slong_t.
61197         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
61198         include <bits/wordsize.h>.  Check __x86_64__ instead of
61199         __WORDSIZE.
61201         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
61202         "unsigned long long int" if __x86_64__ is defined.
61203         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
61205         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
61206         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61207         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
61209         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
61210         <stdint.h>.
61211         (GET_PC): Cast to uintptr_t first.
61212         (GET_FRAME): Likewise.
61213         (GET_STACK): Likewise.
61215         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
61216         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
61217         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
61218         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
61219         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
61220         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
61221         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
61222         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
61223         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
61224         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
61225         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
61226         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
61227         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61228         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
61229         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
61230         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
61231         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
61232         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
61233         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
61234         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
61235         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
61236         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
61237         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
61238         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
61239         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
61240         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
61241         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
61242         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
61243         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
61245 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
61247         * Makerules (+depfiles): Also collect depfiles from .oS in
61248         $(extra-objs).
61249         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
61250         .oS, $(libnldbl-routines)).
61252         * Makerules (native-compile-mkdep-flags): Define.
61253         * sunrpc/Makefile (extra-objs): Add $(addprefix
61254         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
61255         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
61256         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
61257         calling $(make-target-directory).
61259 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61261         * bits/types.h (__snseconds_t): Removed.
61262         * time/time.h (struct timespec): Replace __snseconds_t with
61263         __syscall_slong_t.
61264         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
61265         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
61266         Likewise.
61267         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61268         (__SNSECONDS_T_TYPE): Likewise.
61269         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61270         (__SNSECONDS_T_TYPE): Likewise.
61271         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61272         (__SNSECONDS_T_TYPE): Likewise.
61274 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61276         * sysdeps/mach/hurd/bits/typesizes.h
61277         (__SYSCALL_SLONG_TYPE): New macro.
61278         (__SYSCALL_ULONG_TYPE): Likewise.
61280 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61282         * bits/types.h (__syscall_slong_t): New type.
61283         (__syscall_ulong_t): Likewise.
61285         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
61286         (__SYSCALL_ULONG_TYPE): Likewise.
61287         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61288         (__SYSCALL_SLONG_TYPE): Likewise.
61289         (__SYSCALL_ULONG_TYPE): Likewise.
61290         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61291         (__SYSCALL_SLONG_TYPE): Likewise.
61292         (__SYSCALL_ULONG_TYPE): Likewise.
61293         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61294         (__SYSCALL_SLONG_TYPE): Likewise.
61295         (__SYSCALL_ULONG_TYPE): Likewise.
61297 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61299         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
61300         Add sigaltstack-offsets.sym.
61301         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
61302         <sigaltstack-offsets.h>.
61303         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
61304         longjmp_msg pointer.
61305         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
61306         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
61307         signal stack.
61308         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
61310 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
61312         * elf/stackguard-macros.h: Remove file.
61313         * sysdeps/generic/stackguard-macros.h: New file.
61314         * sysdeps/i386/stackguard-macros.h: Likewise.
61315         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
61316         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
61317         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
61318         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
61319         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
61320         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
61321         * sysdeps/x86_64/stackguard-macros.h: Likewise.
61322         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
61323         <elf/stackguard-macros.h>.
61325         [BZ #14109]
61326         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
61327         __aligned__ in attribute.
61328         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
61329         (gregset_t): Likewise.
61331 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61333         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
61334         * sysdeps/x86_64/64/Implies-after: Here.  New file.
61335         * sysdeps/x86_64/x32/Implies-after: New file.
61337 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61339         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
61340         and access return value for _dl_profile_fixup.  Use R10_LP to
61341         load frame size.
61343 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61345         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
61347 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61349         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
61350         * sysdeps/x86_64/x32/sysdep.h: New file.
61352 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61354         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
61355         * sysdeps/x86_64/setjmp.S: Likewise.
61357 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61359         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
61360         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
61361         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
61362         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
61363         remove unused global constant.
61365 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
61367         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
61368         include of <not-cancel.h>.
61370 2012-05-15  Roland McGrath  <roland@hack.frob.com>
61372         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
61374 2012-05-15  Jeff Law  <law@redhat.com>
61375             Andreas Jaeger  <aj@suse.de>
61377         [BZ #13594]
61378         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
61379         out from...
61380         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
61381         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
61382         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
61383         code changing __hst_map_handle.map.
61385 2012-05-15  Roland McGrath  <roland@hack.frob.com>
61387         * configure.in (sysnames): Look for Implies-before and Implies-after
61388         files.
61389         * configure: Regenerated.
61391 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61393         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
61394         8-byte data alignment with LP_SIZE alignment.
61396 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61398         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
61399         into R10_LP.
61401 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61403         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
61405 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61407         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
61408         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
61409         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
61410         Likewise.
61411         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
61413 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61415         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
61416         (stackinfo_sub_sp): Likewise.
61418 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61420         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
61421         RAX_LP.
61423 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61425         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
61426         into R*_LP.
61428 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61430         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
61431         sizes into R*_LP.
61433 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61435         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
61437 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61439         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
61440         into R11_LP and load __x86_64_shared_cache_size_half into
61441         R8_LP.
61443 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61445         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
61446         R8_LP.
61448 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61450         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
61451         logb for POWER7.
61452         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
61453         logbf for POWER7.
61454         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
61455         logbl for POWER7.
61456         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
61457         powerpc32/power7/fpu/s_logb.c via #include.
61458         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
61459         powerpc32/power7/fpu/s_logbf.c via #include.
61460         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
61461         powerpc32/power7/fpu/s_logbl.c via #include.
61463 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
61465         * README.libm: Remove file.
61467 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61469         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
61470         count for x32.  Use R*_LP and omit operand-size suffix.
61472 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61474         * shlib-versions: Move x86_64-.*-linux.* entries to ...
61475         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
61476         * sysdeps/x86_64/x32/shlib-versions: New file.
61478 2012-05-14  Roland McGrath  <roland@hack.frob.com>
61480         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
61481         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
61482         Use _dl_fatal_printf instead.
61484 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
61486         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
61487         set if not set by the user.  Do not allow for being unset.
61488         * sysdeps/unix/sysv/linux/configure: Regenerated.
61490 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61492         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
61493         the `q' suffix from lea and replace .quad with ASM_ADDR.
61495 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61497         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
61498         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
61499         instead of $17.
61500         (PTR_DEMANGLE): Likewise.
61502 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61504         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
61505         (LP_OP): Likewise.
61506         (ASM_ADDR): Likewise.
61507         (RAX_LP): Likewise.
61508         (RBP_LP): Likewise.
61509         (RBX_LP): Likewise.
61510         (RCX_LP): Likewise.
61511         (RDI_LP): Likewise.
61512         (RSI_LP): Likewise.
61513         (RSP_LP): Likewise.
61514         (R8_LP): Likewise.
61515         (R9_LP): Likewise.
61516         (R10_LP): Likewise.
61517         (R10_LP): Likewise.
61518         (R11_LP): Likewise.
61519         (R12_LP): Likewise.
61520         (R13_LP): Likewise.
61521         (R14_LP): Likewise.
61522         (R15_LP): Likewise.
61524 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61526         * sysdeps/x86_64/x32/dl-machine.h: New file.
61528 2012-05-14  Andreas Jaeger  <aj@suse.de>
61530         * manual/Makefile (subdir): Remove export of subdir.
61531         (all): Remove target.
61532         (.PHONY): Remove all from list.
61533         (mkinstalldirs): Remove.
61534         (.PHONY): Remove installdirs from list.
61535         ($(inst_infodir)/libc.info): Use make-target-directory.
61536         (installdirs): Remove.
61537         (subdir_%): Remove.
61538         (glibc-targets): Remove.
61539         (lib): Remove.
61540         (stubs): Remove.
61541         ($(objpfx)stubs ../po/manual.pot): Remove.
61542         ($(objpfx)stamp%): Remove.
61543         (make-target-directory): Remove.
61544         (subdir_install): Remove.
61545         (routines): Remove.
61546         (aux): Remove.
61547         (sources): Remove.
61548         (objects): Remove.
61549         (headers): Remove.
61551         [BZ #13750]
61552         * manual/.gitignore: Remove, it's not needed anymore.
61553         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
61554         all files in it.
61555         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
61556         directory.
61557         (texis): Renamed to $(objpfx)texis.
61558         (texis-path): New, contains path to generated files.
61559         (chapters.%): Use texis-path for complete path, add extra argument
61560         libc-texinfo.sh.
61561         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
61562         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
61563         (summary,texi, stamp-summary): Use complete path of
61564         files. Generate files in build dir.
61565         (dir-add.texi): Build in build dir.
61566         (libm-err.texi,stamp-libm-err): Likewise.
61567         (version.texi, stamp-version): Likewise.
61568         (.%c.texi): Likewise.
61569         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
61570         (mostlyclean): Remove target.
61571         (realclean): Remove target.
61572         (generated): Add new variable with contents from mostlyclean and
61573         realclean, remove entries duplicated in common-mostlyclean, add
61574         stamp-libm-err and stamp-version.
61575         (generated-dirs): Add libc directory.
61576         ($(inst_infodir)/libc.info): Install files from build dir.
61578         * manual/install.texi (Configuring and compiling): Adjust since
61579         the info files are not part of the tar ball anymore.
61581 2012-05-14  Andreas Jaeger  <aj@suse.de>
61583         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
61584         variable.
61586 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
61588         [BZ #13717]
61589         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61590         to 2.2.0 where earlier.
61591         * sysdeps/unix/sysv/linux/configure: Regenerated.
61592         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
61593         Remove conditional code.
61594         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
61595         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
61596         Remove conditional code.
61597         [!__NR_lchown]: Likewise.
61598         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61599         [__NR_lchown]: Likewise.
61600         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
61601         comment referencing __ASSUME_LCHOWN_SYSCALL.
61602         * sysdeps/unix/sysv/linux/i386/sigaction.c
61603         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61604         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61605         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
61606         Remove conditional code.
61607         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
61608         (__protocol_available): Remove #if 0 code.
61609         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
61610         conditional code.
61611         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
61612         * sysdeps/unix/sysv/linux/kernel-features.h
61613         (__ASSUME_GETCWD_SYSCALL): Don't define.
61614         (__ASSUME_REALTIME_SIGNALS): Likewise.
61615         (__ASSUME_PREAD_SYSCALL): Likewise.
61616         (__ASSUME_PWRITE_SYSCALL): Likewise.
61617         (__ASSUME_POLL_SYSCALL): Likewise.
61618         (__ASSUME_LCHOWN_SYSCALL): Likewise.
61619         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
61620         non-SPARC.
61621         (__ASSUME_SIOCGIFNAME): Don't define.
61622         (__ASSUME_MSG_NOSIGNAL): Likewise.
61623         (__ASSUME_SENDFILE): Define unconditionally.
61624         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
61625         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
61626         conditional code.
61627         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
61628         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
61629         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
61630         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61631         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
61632         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
61633         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
61635         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61636         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
61638         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61639         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
61641         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61642         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
61644         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61645         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
61647         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61648         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
61650         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61651         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
61653         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61654         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
61656         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61657         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61658         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
61659         Remove conditional code.
61660         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61661         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
61662         Remove conditional code.
61663         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61664         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
61665         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
61666         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
61667         Remove conditional code.
61668         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61669         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
61670         Remove conditional code.
61671         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61672         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
61673         Remove conditional code.
61674         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61675         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
61676         Remove conditional code.
61677         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61678         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
61679         Remove conditional code.
61680         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61681         * sysdeps/unix/sysv/linux/sh/pwrite64.c
61682         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61683         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61684         * sysdeps/unix/sysv/linux/sigaction.c
61685         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61686         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61687         * sysdeps/unix/sysv/linux/sigpending.c
61688         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61689         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61690         * sysdeps/unix/sysv/linux/sigprocmask.c
61691         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61692         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61693         * sysdeps/unix/sysv/linux/sigsuspend.c
61694         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61695         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61696         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
61697         (__libc_missing_rt_sigs): Remove.
61698         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
61699         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
61700         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
61701         Remove conditional code.
61702         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
61703         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
61704         return 1.
61705         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
61706         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
61707         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
61708         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
61710 2012-05-14  Andreas Jaeger  <aj@suse.de>
61712         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
61713         it's not used in glibc.
61714         (__coshm1): Likewise.
61715         (__acosh1p): Likewise.
61716         (__sgn): Likewise.
61718         * manual/string.texi (Copying and Concatenation): Add missing
61719         variable in concat example.
61720         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
61722 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61724         [BZ #14103]
61725         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
61726         __builtin_clzl with __builtin_clzll.
61728 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61730         [BZ #14104]
61731         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
61732         libc_freeres_ptr.
61734 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61736         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
61737         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
61738         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
61739         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
61741 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
61743         * NEWS: Update ia64 info.
61745 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
61747         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
61748         used as bcopy.
61750 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
61752         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
61753         * sysdeps/unix/syscalls.list (dup3): Likewise.
61754         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
61755         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
61757 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61759         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
61760         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
61762 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61764         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
61765         thread pointer.
61766         (TLS_IE): Use mov/add instead of movq/addq to load thread
61767         pointer.
61768         (TLS_GD_PREFIX): New.
61769         (TLS_GD): Use it.
61771 2012-05-11  David S. Miller  <davem@davemloft.net>
61773         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
61774         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
61775         (_FPU_SETCW): Likewise.
61777 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61779         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
61780         is 32-byte aligned.
61782 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
61784         [BZ #11837]
61785         * iconvdata/gb18030.c: Update tables.
61786         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
61787         characters specially.
61788         (BODY for TO_LOOP): Add encoding of missing ranges.
61790 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
61792         [BZ #13673]
61793         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
61794         * sysdeps/mach/hurd/dup3.c: Likewise.
61795         * sysdeps/mach/hurd/readlinkat.c: Likewise.
61796         * sysdeps/powerpc/memmove.c:: Likewise.
61798 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61800         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
61801         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
61803 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61805         * elf/elf.h (R_X86_64_RELATIVE64): New.
61806         (R_X86_64_NUM): Updated.
61807         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61808         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
61809         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
61810         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
61811         tst-quad1pie tst-quad2pie
61812         (modules-names): Add tst-quadmod1 tst-quadmod2.
61813         ($(objpfx)tst-quad1): New dependency.
61814         ($(objpfx)tst-quad2): Likewise.
61815         ($(objpfx)tst-quad1pie): Likewise.
61816         ($(objpfx)tst-quad2pie): Likewise.
61817         * sysdeps/x86_64/tst-quad1.c: New file.
61818         * sysdeps/x86_64/tst-quad1pie.c: New file.
61819         * sysdeps/x86_64/tst-quad2.c: Likewise.
61820         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
61821         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
61822         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
61823         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
61824         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
61826 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61828         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
61829         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
61830         * streams/stropts.h (t_scalar_t): Define type.
61832         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
61833         (_PATH_PRESERVE): Set to "/var/lib".
61834         (_PATH_RWHODIR): Set to "/var/spool/rwho".
61836         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
61837         instead of int.
61839         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
61840         if __dir_mkfile succeeded.
61842         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
61843         checking for _hurd_dtablesize.  Unlock it right after having
61844         finished _hurd_dtable allocation.
61846 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61848         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
61849         * sysdeps/mach/hurd/configure: Regenerated.
61850         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
61851         special-casing to...
61852         * sysdeps/gnu/configure.in: ... this new file.
61853         * sysdeps/unix/sysv/linux/configure: Regenerated.
61854         * sysdeps/gnu/configure: New generated file.
61856         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
61857         for Linux: use nsec instead of usec, as well as:
61858         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
61859         members of type struct timespec.
61860         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
61861         New macros.
61862         (struct stat64): Likewise.
61863         (_STATBUF_ST_NSEC): New macro.
61864         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
61866         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61867         __strtoul_internal rather than strtoul.
61869 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61871         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
61872         and reject them.
61874 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61876         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
61877         which preserves existing values.
61878         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
61880 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61882         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
61883         TIMEOUT values.  Return EINVAL for NFDS values either negative or
61884         greater than FD_SETSIZE.
61886 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61888         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
61889         allocated, call __vm_protect to finish enabling the existing space, and
61890         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
61891         allocate the remainder.
61893 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61895         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
61896         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
61898 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61900         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
61901         sysdeps/mach/hurd/readlink.c.
61903         * posix/tst-sysconf.c (posix_options): Only use
61904         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
61905         _POSIX_SYNCHRONIZED_IO when they are defined
61906         * sysdeps/mach/hurd/bits/posix_opt.h:
61907         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
61908         (_XOPEN_REALTIME): Undefine macro.
61909         (_XOPEN_REALTIME_THREADS): Undefine macro.
61910         (_XOPEN_SHM): Undefine macro.
61911         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
61912         macro to -1.
61913         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
61914         macro to -1.
61915         (_POSIX_ASYNC_IO): Undefine macro.
61916         (_POSIX_PRIORITIZED_IO): Undefine macro.
61917         (_POSIX_SPIN_LOCKS): Define macro to -1.
61919         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
61920         SA_NODEFER, SA_RESETHAND.
61921         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
61922         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
61923         F_DUPFD_CLOEXEC.
61925 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61927         * elf/Makefile (pldd-modules): Define unconditionally.
61929 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61931         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
61933 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61935         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
61936         Return ENOENT when name is empty.
61937         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
61939 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61941         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
61943         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
61945 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61947         Fix mlock in all cases except non-readable pages.
61948         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
61949         instead of VM_PROT_ALL as parameter to __vm_wire function.
61951         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
61952         (__mkdir): When path is `/', just fail with EEXIST.
61953         * sysdeps/mach/hurd/mkdirat.c: Likewise.
61955 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61957         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
61958         <sys/uio.h> (for writev).
61959         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
61960         and <sys/param.h> (for MIN).
61962 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61964         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
61965         REQUESTED_TIME.  Properly set the remaining time and return EINTR
61966         if interrupted.
61968 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61970         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
61971         Depend on against $(link-rpcuserlibs).
61973 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61975         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
61976         (__libc_stack_end): Do not use attribute_relro.
61977         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
61978         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
61979         to libthread-provided value.
61980         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
61981         attribute_relro.
61983 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61985         [BZ #3748]
61986         * bits/libc-lock.h (__libc_once_get): New macro.
61987         * sysdeps/mach/bits/libc-lock.h: Likewise.
61988         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
61989         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
61990         instead of using implementation details.
61992         * libio/fileops.c: Unconditionally include <kernel-features.h>.
61993         * libio/freopen.c: Likewise.
61994         * libio/freopen64.c: Likewise.
61995         * misc/syslog.c: Likewise.
61996         * nscd/connections.c: Likewise.
61997         * nscd/netgroupcache.c: Likewise.
61998         * sysdeps/posix/getcwd.c: Likewise.
62000 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62002         * math/w_ilogbf.c: Add #include <limits.h>.
62004 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62006         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
62007         path instead of returning without unlocking.
62009         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
62010         immediate-write ioctls.
62011         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
62013 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62015         * sysdeps/mach/hurd/i386/init-first.c (init): Use
62016         __builtin_frame_address instead of making assumptions about the
62017         location of the return address relative to DATA.  Force early load of
62018         the return address.
62019         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
62020         __builtin_frame_address.
62022         dup3 for GNU Hurd.
62023         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
62024         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
62025         implement dup3 and do some further code clean-ups.
62026         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
62027         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
62029 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62031         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
62033         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
62034         HURD_CRITICAL_END around holding _hurd_dtable_lock.
62035         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
62036         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
62037         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
62038         d->port.lock.
62040         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
62041         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
62042         when handler == SIG_ERR, not when handler != SIG_ERR.
62044 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62046         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
62047         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
62048         definitions.
62050         accept4 for GNU Hurd.
62051         * include/sys/socket.h (__libc_accept4): New prototype.
62052         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
62053         to implement __libc_accept4.
62054         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
62055         __libc_accept4.
62056         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
62058         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
62059         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
62060         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
62061         signal-defines.sym.
62063 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62065         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
62067 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62069         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
62070         assertion on O_CLOEXEC flag.
62071         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
62072         * hurd/intern-fd.c: Likewise.
62073         * hurd/port2fd.c: Likewise.
62075 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62077         [BZ #3906]
62078         * bits/in.h (IPV6_PKTINFO): Define new macro.
62079         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
62081 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62083         [BZ #13954]
62084         [BZ #13955]
62085         [BZ #13956]
62086         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
62087         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62088         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
62089         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62090         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62091         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62092         * math/libm-test.inc (logb_test) : Additional logb tests.
62094 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
62095             Andreas Jaeger  <aj@suse.de>
62097         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
62098         * configure: Regenerated.
62099         * config.h.in (LINK_OBSOLETE_RPC): New macro.
62100         * config.make.in (link-obsolete-rpc): New substituted variable.
62101         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
62102         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
62103         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62104         (shared-only-routines): Don't set it under [link-obsolete-rpc],
62105         so that libc.a contains the symbols.
62106         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62107         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
62108         * sunrpc/auth_none.c: Likewise.
62109         * sunrpc/auth_unix.c: Likewise.
62110         * sunrpc/authdes_prot.c: Likewise.
62111         * sunrpc/authuxprot.c: Likewise.
62112         * sunrpc/clnt_gen.c: Likewise.
62113         * sunrpc/clnt_perr.c: Likewise.
62114         * sunrpc/clnt_raw.c: Likewise.
62115         * sunrpc/clnt_simp.c: Likewise.
62116         * sunrpc/clnt_tcp.c: Likewise.
62117         * sunrpc/clnt_udp.c: Likewise.
62118         * sunrpc/clnt_unix.c: Likewise.
62119         * sunrpc/des_crypt.c: Likewise.
62120         * sunrpc/des_soft.c: Likewise.
62121         * sunrpc/get_myaddr.c: Likewise.
62122         * sunrpc/key_call.c: Likewise.
62123         * sunrpc/key_prot.c: Likewise.
62124         * sunrpc/netname.c: Likewise.
62125         * sunrpc/pm_getmaps.c: Likewise.
62126         * sunrpc/pm_getport.c: Likewise.
62127         * sunrpc/pmap_clnt.c: Likewise.
62128         * sunrpc/pmap_prot.c: Likewise.
62129         * sunrpc/pmap_prot2.c: Likewise.
62130         * sunrpc/pmap_rmt.c: Likewise.
62131         * sunrpc/publickey.c: Likewise.
62132         * sunrpc/rpc_cmsg.c: Likewise.
62133         * sunrpc/rpc_common.c: Likewise.
62134         * sunrpc/rpc_dtable.c: Likewise.
62135         * sunrpc/rpc_prot.c: Likewise.
62136         * sunrpc/rpc_thread.c: Likewise.
62137         * sunrpc/rtime.c: Likewise.
62138         * sunrpc/svc.c: Likewise.
62139         * sunrpc/svc_auth.c: Likewise.
62140         * sunrpc/svc_raw.c: Likewise.
62141         * sunrpc/svc_run.c: Likewise.
62142         * sunrpc/svc_tcp.c: Likewise.
62143         * sunrpc/svc_udp.c: Likewise.
62144         * sunrpc/svc_unix.c: Likewise.
62145         * sunrpc/svcauth_des.c: Likewise.
62146         * sunrpc/xcrypt.c: Likewise.
62147         * sunrpc/xdr.c: Likewise.
62148         * sunrpc/xdr_array.c: Likewise.
62149         * sunrpc/xdr_float.c: Likewise.
62150         * sunrpc/xdr_intXX_t.c: Likewise.
62151         * sunrpc/xdr_mem.c: Likewise.
62152         * sunrpc/xdr_rec.c: Likewise.
62153         * sunrpc/xdr_ref.c: Likewise.
62154         * sunrpc/xdr_sizeof.c: Likewise.
62155         * sunrpc/xdr_stdio.c: Likewise.
62157 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62159         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
62160         change.  Update copyright years.
62162 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62164         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
62166 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
62167             Joseph Myers  <joseph@codesourcery.com>
62168             Paul Pluzhnikov  <ppluzhnikov@google.com>
62170         [BZ #14012]
62171         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
62172         requiring rpcgen.
62173         [cross-compiling] (extra-libs): Likewise.
62174         [cross-compiling] (extra-libs-others): Likewise.
62175         [cross-compiling] (librpcsvc-routines): Likewise.
62176         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
62177         [cross-compiling] (omit-deps): Likewise.
62178         (sunrpc-CPPFLAGS): New variable.
62179         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
62180         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
62181         (cross-rpcgen-objs): New variable.
62182         (extra-objs): Append $(cross-rpcgen-objs).
62183         ($(cross-rpcgen-objs)): New rule.
62184         ($(objpfx)cross-rpcgen): Likewise.
62185         (rpcgen-cmd): Define to use $(built-program-file).  Expand
62186         comment.
62187         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
62188         ($(objpfx)x%.stmp): Likewise.
62189         * sunrpc/proto.h [IS_IN_build] (_): Define.
62190         [IS_IN_build] (_libc_intl_domainname): Likewise.
62192 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62194         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
62195         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
62196         and R_X86_64_TPOFF64.
62198 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62200         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
62201         sysdeps/unix/sysv/syscalls.list.
62202         (stime): Likewise.
62203         (utime): Likewise.
62204         * sysdeps/unix/sysv/syscalls.list: Remove file.
62206 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
62208         [BZ #3440]
62209         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
62210         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
62211         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
62212         (__LC_IDENTIFICATION): Make these macros useful in #if
62213         expressions, as required by C99.
62215 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
62217         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
62218         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
62219         after this.
62221 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
62223         * stdlib/longlong.h: Updated from GCC.
62225 2012-05-09  Andreas Jaeger  <aj@suse.de>
62227         * nscd/nscd.c (run_modes): Make named enum, reorder so that
62228         default is first entry.
62229         (run_mode): Set type.
62230         (main): Remove informal message about syslog.
62231         (options): Fix typo.
62233         [BZ #14053]
62234         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
62235         to asm.
62236         (lrint): Likewise.
62237         (llrintf): Likewise.
62238         (llrint): Likewise.
62239         (rint): Likewise.
62240         (rintf): Likewise.
62241         (nearbyint): Likewise.
62242         (nearbyintf): Likewise.
62244 2012-05-09  Andreas Jaeger  <aj@suse.de>
62245             Pedro Alves  <palves@redhat.com>
62247         * nscd/nscd.c (run_mode): Use enum.
62248         (main): Cleanup coding style issue.
62250 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
62251             Andreas Jaeger  <aj@suse.de>
62253         * nscd/nscd.c (go_background): Replaced with...
62254         (run_mode): ... this.
62255         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
62256         (options): Add -F --foreground.
62257         (main): Implement it.
62258         (parse_opt): Parse it.
62260 2012-05-09  Andreas Jaeger  <aj@suse.de>
62262         [BZ #14083]
62263         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
62264         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
62265         -Wconversion warning.
62266         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
62267         Likewise.
62269 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
62271         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
62272         == 0.
62273         (LC_ALL): Use macro-int-constant.
62274         (LC_COLLATE): Likewise.
62275         (LC_CTYPE): Likewise.
62276         (LC_MESSAGES): Likewise.
62277         (LC_MONETARY): Likewise.
62278         (LC_NUMERIC): Likewise.
62279         (LC_TIME): Likewise.
62280         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
62281         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
62282         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62283         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
62284         Specify type.
62285         [C99-based standards] (float_t): Expect type.
62286         [C99-based standards] (double_t): Expect type.
62287         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
62288         type.
62289         [C99-based standards] (HUGE_VALL): Likewise.
62290         [C99-based standards] (INFINITY): Likewise.
62291         [C99-based standards] (NAN): Likewise.
62292         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
62293         [C99-based standards] (FP_NAN): Likewise.
62294         [C99-based standards] (FP_NORMAL): Likewise.
62295         [C99-based standards] (FP_SUBNORMAL): Likewise.
62296         [C99-based standards] (FP_ZERO): Likewise.
62297         [C99-based standards] (FP_FAST_FMA): Use
62298         optional-macro-int-constant.  Specify type.  Require == 1.
62299         [C99-based standards] (FP_FAST_FMAF): Likewise.
62300         [C99-based standards] (FP_FAST_FMAL): Likewise.
62301         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
62302         [C99-based standards] (FP_ILOGBNAN): Likewise.
62303         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
62304         Specify type.
62305         [C99-based standards] (MATH_ERREXCEPT): Likewise.
62306         [C99-based standards] (math_errhandling): Specify type.
62307         [ISO99 || ISO11] (signgam): Do not allow.
62308         [non-C99-based standards] (copysignf): Do not allow.
62309         [non-C99-based standards] (exp2f): Likewise.
62310         [non-C99-based standards] (log2f): Likewise.
62311         [non-C99-based standards] (modff): Allow.
62312         [non-C99-based standards] (erff): Do not allow.
62313         [non-C99-based standards] (erfcf): Likewise.
62314         [non-C99-based standards] (gammaf): Likewise.
62315         [non-C99-based standards] (hypotf): Likewise.
62316         [non-C99-based standards] (j0f): Likewise.
62317         [non-C99-based standards] (j1f): Likewise.
62318         [non-C99-based standards] (jnf): Likewise.
62319         [non-C99-based standards] (lgammaf): Likewise.
62320         [non-C99-based standards] (tgammaf): Likewise.
62321         [non-C99-based standards] (y0f): Likewise.
62322         [non-C99-based standards] (y1f): Likewise.
62323         [non-C99-based standards] (ynf): Likewise.
62324         [non-C99-based standards] (isnanf): Likewise.
62325         [non-C99-based standards] (acoshf): Likewise.
62326         [non-C99-based standards] (asinhf): Likewise.
62327         [non-C99-based standards] (atanhf): Likewise.
62328         [non-C99-based standards] (cbrtf): Likewise.
62329         [non-C99-based standards] (expm1f): Likewise.
62330         [non-C99-based standards] (ilogbf): Likewise.
62331         [non-C99-based standards] (log1pf): Likewise.
62332         [non-C99-based standards] (logbf): Likewise.
62333         [non-C99-based standards] (nextafterf): Likewise.
62334         [non-C99-based standards] (remainderf): Likewise.
62335         [non-C99-based standards] (rintf): Likewise.
62336         [non-C99-based standards] (scalbf): Likewise.
62337         [non-C99-based standards] (copysignl): Likewise.
62338         [non-C99-based standards] (exp2l): Likewise.
62339         [non-C99-based standards] (log2l): Likewise.
62340         [non-C99-based standards] (modfl): Allow.
62341         [non-C99-based standards] (erfl): Do not allow.
62342         [non-C99-based standards] (erfcl): Likewise.
62343         [non-C99-based standards] (gammal): Likewise.
62344         [non-C99-based standards] (hypotl): Likewise.
62345         [non-C99-based standards] (j0l): Likewise.
62346         [non-C99-based standards] (j1l): Likewise.
62347         [non-C99-based standards] (jnl): Likewise.
62348         [non-C99-based standards] (lgammal): Likewise.
62349         [non-C99-based standards] (tgammal): Likewise.
62350         [non-C99-based standards] (y0l): Likewise.
62351         [non-C99-based standards] (y1l): Likewise.
62352         [non-C99-based standards] (ynl): Likewise.
62353         [non-C99-based standards] (isnanl): Likewise.
62354         [non-C99-based standards] (acoshl): Likewise.
62355         [non-C99-based standards] (asinhl): Likewise.
62356         [non-C99-based standards] (atanhl): Likewise.
62357         [non-C99-based standards] (cbrtl): Likewise.
62358         [non-C99-based standards] (expm1l): Likewise.
62359         [non-C99-based standards] (ilogbl): Likewise.
62360         [non-C99-based standards] (log1pl): Likewise.
62361         [non-C99-based standards] (logbl): Likewise.
62362         [non-C99-based standards] (nextafterl): Likewise.
62363         [non-C99-based standards] (remainderl): Likewise.
62364         [non-C99-based standards] (rintl): Likewise.
62365         [non-C99-based standards] (scalbl): Likewise.
62366         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62367         [non-C99-based standards] (FP_*): Do not allow.
62368         [C99-based standards] (FP_*): Change to
62369         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
62370         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62371         allow.
62372         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
62373         (SIG_ERR): Likewise.
62374         [X/Open-based standards] (SIG_HOLD): Likewise.
62375         (SIG_IGN): Likewise.
62376         (SIGABRT): Use macro-int-constant.  Specify type.  Require
62377         positive value.
62378         (SIGFPE): Likewise.
62379         (SIGILL): Likewise.
62380         (SIGINT): Likewise.
62381         (SIGSEGV): Likewise.
62382         (SIGTER): Likewise.
62383         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
62384         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
62385         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
62386         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
62387         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
62388         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
62389         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
62390         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
62391         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
62392         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
62393         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
62394         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
62395         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
62396         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
62397         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
62398         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
62399         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
62400         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
62401         [X/Open-based standards] (SIGTRAP): Likewise.
62402         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
62403         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
62404         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
62405         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
62406         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62407         allow.
62409 2012-05-08  Ian Wienand  <ianw@vmware.com>
62411         [BZ #14080]
62412         * time/tzset.c (__tzset_parse_tz): Update default rules for
62413         daylight time changes in the Energy Policy Act of 2005.
62415 2012-05-09  Andreas Jaeger  <aj@suse.de>
62417         [BZ #13983]
62418         * elf/ldconfig.c (parse_conf): Change string to make clear that
62419         ldconfig only issued a warning if ld.so.conf does not exist.
62421 2012-05-08  David S. Miller  <davem@davemloft.net>
62423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
62424         movxtod instead of popping the value on the stack.
62426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62428 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
62430         * config.h.in: Add HAVE_ARM_PCS_VFP.
62432 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
62434         [BZ #13979]
62435         * include/features.h: Warn if user requests __FORTIFY_SOURCE
62436         checking but the checks are disabled for any reason.
62438 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
62440         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
62441         and ELF64_R_TYPE with ELFW(R_TYPE).
62443 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
62445         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
62446         (ulimit): Likewise.
62448         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
62449         (settimeofday): Likewise.
62451 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
62453         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
62454         a struct th_u2 inside the union, and move tu_block/tu_code into
62455         a new th_u3 union of tu_block/tu_code inside of that.  Move
62456         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
62457         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
62458         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
62459         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
62460         (th_stuff): Change to th_u1.tu_stuff.
62461         (th_data): Define.
62462         (th_msg): Change to th_u1.th_u2.tu_data.
62464 2012-05-07  David S. Miller  <davem@davemloft.net>
62466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62468         [BZ #14074]
62469         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
62470         (SETUP_PIC_REG): Use it.
62471         (SETUP_PIC_REG_LEAF): Use it.
62473 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
62475         [BZ #13885]
62476         [BZ #13923]
62477         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62478         USE_AS_EXPM1L.
62479         (EXPL_FINITE): Likewise.
62480         (FLDLOG): Likewise.
62481         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
62482         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
62483         e_expl.S.
62484         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62485         USE_AS_EXPM1L.
62486         (EXPL_FINITE): Likewise.
62487         (FLDLOG): Likewise.
62488         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
62489         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
62490         e_expl.S.
62491         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
62492         test of -max_value argument for long double.
62493         * sysdeps/i386/fpu/libm-test-ulps: Update.
62494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62496 2012-05-06  David S. Miller  <davem@davemloft.net>
62498         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
62499         quad soft-float symbols whose references which are compiler
62500         generated.
62501         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
62503 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
62505         [BZ #13884]
62506         [BZ #13914]
62507         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62508         USE_AS_EXP10L.
62509         (EXPL_FINITE): Likewise.
62510         (FLDLOG): Likewise.
62511         (c0): Likewise.
62512         (c1): Likewise.
62513         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
62514         Adjust comments for base varying.
62515         (__expl_finite): Change alias to EXPL_FINITE.
62516         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
62517         e_expl.S.
62518         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
62519         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
62520         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
62521         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
62522         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62523         USE_AS_EXP10L.
62524         (EXPL_FINITE): Likewise.
62525         (FLDLOG): Likewise.
62526         (c0): Likewise.
62527         (c1): Likewise.
62528         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
62529         Adjust comments for base varying.
62530         (__expl_finite): Change alias to EXPL_FINITE.
62531         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
62532         tests for bugs.
62533         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62535         [BZ #14064]
62536         * math/libm-test.inc (check_float_internal): Correct ulp
62537         calculation for subnormal expected results.
62539 2012-05-06  Andreas Jaeger  <aj@suse.de>
62541         * Makeconfig (+math-flags): New, set to -frounding-math.
62542         (+cflags): Add +math-flags so that all of glibc gets compiled with
62543         it.
62545         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
62547 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
62549         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
62550         Disable one test.
62552         [BZ #13787]
62553         [BZ #13922]
62554         [BZ #14036]
62555         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
62556         (__ieee754_expl): Allow for and saturate large arguments.
62557         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
62558         (u_threshold): Likewise.
62559         (__exp): Call __ieee754_exp before checking for overflow and
62560         underflow.
62561         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
62562         (u_threshold): Likewise.
62563         (__expf): Call __ieee754_expf before checking for overflow and
62564         underflow.
62565         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
62566         (u_threshold): Likewise.
62567         (__expl): Call __ieee754_expl before checking for overflow and
62568         underflow.
62569         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
62570         (__ieee754_expl): Allow for and saturate large arguments.
62571         * math/libm-test.inc (exp_test): Add another test.  Do not allow
62572         missing overflow exception on overflow.
62573         (expm1_test): Do not allow missing overflow exception on overflow.
62575         * sysdeps/i386/fpu/e_expl.c: Move to ...
62576         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
62577         rather than using inline asm.
62578         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
62579         * sysdeps/x86_64/fpu/e_expl.S: Copy from
62580         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
62582         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
62583         (nice): Likewise.
62584         (poll): Likewise.
62585         (signal): Likewise.
62586         (time): Likewise.
62587         (times): Likewise.
62589 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62591         * sysdeps/unix/syscalls.list (adjtime): Add entry from
62592         sysdeps/unix/common/syscalls.list.
62593         (fchmod): Likewise.
62594         (fchown): Likewise.
62595         (ftruncate): Likewise.
62596         (getrusage): Likewise.
62597         (gettimeofday): Likewise.
62598         (setpgid): Likewise.
62599         (setregid): Likewise.
62600         (setreuid): Likewise.
62601         (sigaction): Likewise.
62602         (truncate): Likewise.
62603         (vhangup): Likewise.
62604         * sysdeps/unix/common/syscalls.list: Remove file.
62605         * sysdeps/unix/bsd/Implies: Don't include unix/common.
62606         * sysdeps/unix/sysv/linux/Implies: Likewise.
62608 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
62610         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
62611         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
62612         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
62613         Moved to ...
62614         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
62615         Here.
62616         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
62617         to ...
62618         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
62619         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
62620         to ...
62621         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
62622         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
62623         to ...
62624         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
62625         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
62626         to ...
62627         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
62628         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
62629         to ...
62630         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
62631         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
62632         to ...
62633         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
62634         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
62635         to ...
62636         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
62637         Here.
62638         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
62639         to ...
62640         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
62641         Here.
62642         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
62643         to ...
62644         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
62645         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
62646         Moved to ...
62647         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
62648         Here.
62649         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
62650         to ...
62651         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
62653 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62655         * sysdeps/unix/common/bits/dirent.h: Remove file.
62656         * sysdeps/unix/common/bits/fcntl.h: Likewise.
62658         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
62659         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
62660         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
62661         * sysdeps/unix/bsd/isatty.c: Likewise.
62662         * sysdeps/unix/bsd/tcdrain.c: Likewise.
62663         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
62664         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
62666 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62668         [BZ #13563]
62669         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
62670         long double comparison inaccuracies.
62671         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
62672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62674 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
62676         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
62677         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
62679 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62681         [BZ #14049]
62682         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
62683         nonzero digits before rounding a hex value.
62684         * stdlib/tst-strtod.c (tests): Add another test.
62686 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62688         * sysdeps/s390/fpu/libm-test-ulps: Update.
62690 2012-05-03  Andreas Jaeger  <aj@suse.de>
62692         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
62693         does not get optimized out.
62694         (malloc_opt_barrier): New.
62696 2012-05-03  Andreas Jaeger  <aj@suse.de>
62697             Roland McGrath  <roland@hack.frob.com>
62699         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
62700         intermediate file deletion.
62701         (generated): Add .symlist files.
62703 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
62705         [BZ #13775]
62706         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
62707         Redirect under this condition.
62708         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
62709         [__USE_GNU] (__dprintf_chk): Not under this condition.
62710         [__USE_GNU] (__vdprintf_chk): Likewise.
62711         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
62712         under this condition.
62713         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
62714         [__USE_XOPEN2K8] (dprintf): Define under this condition.
62715         [__USE_XOPEN2K8] (vdprintf): Likewise.
62716         [__USE_GNU] (__dprintf_chk): Not under this condition.
62717         [__USE_GNU] (__vdprintf_chk): Likewise.
62718         [__USE_GNU] (dprintf): Likewise.
62719         [__USE_GNU] (vdprintf): Likewise.
62721 2012-05-03  Roland McGrath  <roland@hack.frob.com>
62723         * elf/Makefile (common-generated): Set this instead of generated for
62724         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
62725         $(all-built-dso)-derived lists.
62727 2012-05-03  Andreas Jaeger  <aj@suse.de>
62729         * sysdeps/i386/fpu/libm-test-ulps: Update.
62731         * FAQ: Removed.
62732         * FAQ.in: Likewise.
62733         * scripts/gen-FAQ.pl: Likewise.
62734         * manual/install.texi (Installation): Point to online location of
62735         FAQ.
62736         * Makefile (files-for-dist): Remove FAQ.
62737         (FAQ): Remove.
62739 2012-05-02  Allan McRae  <allan@archlinux.org>
62741         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
62742         (LDFLAGS-reldepmod5.so): Likewise.
62743         (LDFLAGS-reldep6mod1.so): Likewise.
62744         (LDFLAGS-reldep6mod4.so): Likewise.
62745         (LDFLAGS-reldep8mod3.so): Likewise.
62746         (LDFLAGS-unload4mod1.so): Likewise.
62747         (LDFLAGS-unload4mod2.so): Likewise.
62748         (LDFLAGS-tst-initorder): Likewise.
62749         (LDFLAGS-tst-initordera2.so): Likewise.
62750         (LDFLAGS-tst-initordera3.so): Likewise.
62751         (LDFLAGS-tst-initordera4.so): Likewise.
62752         (LDFLAGS-tst-initorderb2.so): Likewise.
62753         (LDFLAGS-noload): Likewise.
62754         (LDFLAGS-next): Likewise.
62755         (LDFLAGS-order2mod1.so): Likewise.
62756         (LDFLAGS-order2mod2.so): Likewise.
62757         (LDFLAGS-tst-initorder2): Likewise.
62758         (LDFLAGS-tst-initorder2a.so): Likewise.
62759         (LDFLAGS-tst-initorder2b.so): Likewise.
62760         (LDFLAGS-tst-initorder2c.so): Likewise.
62761         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
62763 2012-05-02  David S. Miller  <davem@davemloft.net>
62765         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62767 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
62769         [BZ #14055]
62770         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
62772 2012-05-02  Andreas Jaeger  <aj@suse.de>
62774         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
62775         since we manipulate rounding mode.
62776         (CPPFLAGS-test-idouble.c): Likewise.
62777         (CPPFLAGS-test-ifloat.c): Likewise.
62778         (CFLAGS-test-ldouble.c): Likewise.
62779         (CFLAGS-test-double.c): Likewise.
62780         (CFLAGS-test-float.c): Likewise.
62781         (CFLAGS-test-misc.c): Likewise.
62782         (CFLAGS-test-test-fenv.c): Likewise.
62784 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62786         [BZ #2550]
62787         [BZ #2570]
62788         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
62789         comparisons to determine direction to adjust input.
62791 2012-05-01  Roland McGrath  <roland@hack.frob.com>
62793         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
62794         output to the target.
62796         * scripts/localplt.awk: New file.
62797         * elf/Makefile ($(objpfx)check-localplt): Target removed.
62798         (check-localplt-CFLAGS): Variable removed.
62799         ($(all-built-dso:=.jmprel)): New static pattern rule.
62800         (generated): Add those targets.
62801         (localplt-built-dso): New variable.
62802         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
62804         * elf/check-localplt.c: File removed.
62806         * scripts/check-execstack.awk: New file.
62807         * elf/Makefile ($(objpfx)check-execstack): Target removed.
62808         (check-execstack-CFLAGS): Variable removed.
62809         ($(objpfx)check-execstack.h): Target removed.
62810         ($(objpfx)execstack-default): New target.
62811         (generated): Add that instead of check-execstack.h.
62812         ($(all-built-dso:=.phdr)): New static pattern rule.
62813         (generated): Add those targets.
62814         * elf/check-execstack.c: File removed.
62816         * scripts/check-textrel.awk: New file.
62817         * elf/Makefile ($(objpfx)check-textrel): Target removed.
62818         (check-textrel-CFLAGS): Variable removed.
62819         (all-built-dso): Use := to define.o
62820         ($(all-built-dso:=.dyn)): New static pattern rule.
62821         (generated): Add those targets.
62822         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
62823         * config.make.in (READELF): New substituted variable.
62824         * elf/check-textrel.c: File removed.
62826 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
62828         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62829         allow.
62830         * conform/data/ctype.h-data [C99-based standards] (isblank):
62831         Expect function.
62832         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
62833         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
62834         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62835         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
62836         Specify type.  Require positive value.
62837         (EILSEQ): Likewise.
62838         (ERANGE): Likewise.
62839         [ISO || POSIX] (EILSEQ): Do not expect.
62840         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
62841         Specify type.  Require positive value.
62842         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
62843         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
62844         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
62845         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
62846         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
62847         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
62848         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
62849         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
62850         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
62851         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
62852         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
62853         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
62854         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
62855         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
62856         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
62857         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
62858         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
62859         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
62860         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
62861         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
62862         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
62863         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
62864         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
62865         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
62866         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
62867         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
62868         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
62869         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
62870         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
62871         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
62872         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
62873         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
62874         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
62875         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
62876         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
62877         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
62878         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
62879         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
62880         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
62881         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
62882         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
62883         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
62884         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
62885         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
62886         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
62887         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
62888         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
62889         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
62890         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
62891         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
62892         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
62893         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
62894         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
62895         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
62896         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
62897         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
62898         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
62899         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
62900         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
62901         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
62902         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
62903         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
62904         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
62905         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
62906         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
62907         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
62908         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
62909         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
62910         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
62911         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
62912         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
62913         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
62914         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
62915         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
62916         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
62917         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
62918         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
62919         Require >= 2.
62920         (FLT_ROUNDS): Expect as macro, not constant.
62921         (FLT_MANT_DIG): Use macro-int-constant.
62922         (DBL_MANT_DIG): Likewise.
62923         (LDBL_MANT_DIG): Likewise.
62924         (FLT_DIG): Likewise.
62925         (DBL_DIG): Likewise.
62926         (LDBL_DIG): Likewise.
62927         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
62928         (DBL_MIN_EXP): Likewise.
62929         (LDBL_MIN_EXP): Likewise.
62930         (FLT_MAX_EXP): Use macro-int-constant.
62931         (DBL_MAX_EXP): Likewise.
62932         (LDBL_MAX_EXP): Likewise.
62933         (FLT_MAX_10_EXP): Likewise.
62934         (DBL_MAX_10_EXP): Likewise.
62935         (LDBL_MAX_10_EXP): Likewise.
62936         (FLT_MAX): Use macro-constant.
62937         (DBL_MAX): Likewise.
62938         (LDBL_MAX): Likewise.
62939         (FLT_EPSILON): Use macro-constant.  Give upper bound.
62940         (DBL_EPSILON): Likewise.
62941         (LDBL_EPSILON): Likewise.
62942         (FLT_MIN): Likewise.
62943         (DBL_MIN): Likewise.
62944         (LDBL_MIN): Likewise.
62945         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
62946         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
62947         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
62948         [ISO11] (FLT_HAS_SUBNORM): Likewise.
62949         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
62950         [ISO11] (DBL_DECIMAL_DIG): Likewise.
62951         [ISO11] (FLT_DECIMAL_DIG): Likewise.
62952         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
62953         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
62954         [ISO11] (FLT_TRUE_MIN): Likewise.
62955         [ISO11] (LDBL_TRUE_MIN): Likewise.
62956         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62957         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
62958         (SCHAR_MIN): Use macro-int-constant.  Specify type.
62959         (SCHAR_MAX): Likewise.
62960         (UCHAR_MAX): Likewise.
62961         (CHAR_MIN): Likewise.
62962         (CHAR_MAX): Likewise.
62963         (MB_LEN_MAX): Use macro-int-constant.
62964         (SHRT_MIN): Use macro-int-constant.  Specify type.
62965         (SHRT_MAX): Likewise.
62966         (USHRT_MAX): Likewise.
62967         (INT_MAX): Likewise.
62968         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
62969         bound negative.
62970         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62971         bound with "U".
62972         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62973         bound with "L".
62974         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
62975         bound negative.  Suffix upper bound with "L".
62976         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62977         bound with "UL".
62978         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
62979         Specify type.
62980         [C99-based standards] (LLONG_MAX): Likewise.
62981         [C99-based standards] (ULLONG_MAX): Likewise.
62982         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
62983         == 0.
62984         [ISO11] (max_align_t): Require type.
62985         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62987         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
62988         from $CFLAGS, without defining away __attribute__ calls.
62989         (checknamespace): Use $CFLAGS_namespace.
62991         * conform/conformtest.pl (@keywords): Only include C99 keywords
62992         for standards based on C99 or C11.
62994         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
62995         Disable tests.
62996         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
62997         UNIX98]: Likewise.
62999         * conform/conformtest.pl: Handle "macro-int-constant" and test for
63000         usability of symbols in #if.
63002         * conform/conformtest.pl: If macro or constant types start
63003         "promoted:", expect the symbol to be of the following type
63004         promoted by the integer promotions.
63006         * conform/conformtest.pl: Parse all "constant" and "macro" lines
63007         in one place.  Also handle "macro-constant".
63009         * conform/conformtest.pl: Only accept expected macro values with
63010         "==".  Parse all "macro" lines in one place.
63011         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
63013         * conform/conformtest.pl: Handle braced types on "constant" lines
63014         instead of handling "typed-constant".
63015         * conform/data/signal.h-data: Use "constant" instead of
63016         "typed-constant".
63018         * conform/conformtest.pl: Handle "optional-" at start of lines in
63019         one place rather than duplicating several cases.  Handle each
63020         format of "macro" line with initial "optional-".
63022         * conform/conformtest.pl: Only accept expected constant or
63023         optional-constant values with "==".  Parse all "constant" lines in
63024         one place.  Parse all "optional-constant" lines in one place.
63025         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
63026         * conform/data/fmtmsg.h-data: Likewise.
63027         * conform/data/netinet/in.h-data: Likewise.
63028         * conform/data/tar.h-data: Likewise.
63029         * conform/data/limits.h-data: Use "==" form on "constant" and
63030         "optional-constant" lines.
63032         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
63033         Use -std=c99 for XOPEN2K.
63034         (@knownproblems): Remove.
63035         (newtoken): Don't check %isknown.
63037         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
63038         Do not expect macro.
63039         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
63040         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
63041         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
63042         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
63043         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
63044         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
63045         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
63046         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
63047         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
63048         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
63049         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
63050         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
63051         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
63052         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
63053         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
63054         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
63055         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
63056         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
63057         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
63058         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
63059         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
63060         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
63061         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
63062         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
63063         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
63064         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
63065         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
63066         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
63067         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
63068         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
63069         [XPG3] (acosh): Likewise.
63070         [XPG3] (asinh): Likewise.
63071         [XPG3] (atanh): Likewise.
63072         [XPG3] (cbrt): Likewise.
63073         [XPG3] (expm1): Likewise.
63074         [XPG3] (ilogb): Likewise.
63075         [XPG3] (log1p): Likewise.
63076         [XPG3] (logb): Likewise.
63077         [XPG3] (nextafter): Likewise.
63078         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
63079         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
63080         [XPG3] (remainder): Likewise.
63081         [XPG3] (rint): Likewise.
63082         [XPG3 || XPG4 || UNIX98] (round): Likewise.
63083         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
63084         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
63085         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
63086         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
63087         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
63088         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
63089         [UNIX98 || XOPEN2K] (scalb): Expect.
63090         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
63091         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
63092         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
63093         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
63094         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
63095         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
63096         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
63097         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
63098         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
63099         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
63100         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
63101         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
63102         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
63103         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
63104         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
63105         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
63106         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
63107         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
63108         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
63109         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
63110         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
63111         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
63112         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
63113         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
63114         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
63115         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
63116         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
63117         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
63118         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
63119         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
63120         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
63121         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
63122         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
63123         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
63124         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
63125         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
63126         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
63127         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
63128         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
63129         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
63130         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
63131         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
63132         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
63133         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
63134         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
63135         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
63136         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
63137         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
63138         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
63139         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
63140         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
63141         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
63142         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
63143         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
63144         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
63145         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
63146         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
63147         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
63148         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
63149         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
63150         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
63151         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
63152         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
63153         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
63154         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
63155         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
63156         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
63157         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
63158         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
63159         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
63160         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
63161         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
63162         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
63163         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
63164         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
63165         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
63166         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
63167         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
63168         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
63169         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
63170         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
63171         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
63172         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
63173         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
63174         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
63175         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
63176         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
63177         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
63178         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
63179         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
63180         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
63181         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
63182         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
63183         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
63184         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
63185         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
63186         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
63187         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
63188         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
63189         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
63190         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
63191         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
63192         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
63193         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
63194         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
63195         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
63196         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
63197         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
63198         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
63199         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
63200         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
63201         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
63202         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
63203         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
63204         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
63205         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
63206         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
63207         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
63208         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
63209         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
63210         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
63211         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
63212         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
63213         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
63214         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
63215         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
63216         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
63217         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
63218         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
63219         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
63220         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
63221         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
63222         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
63223         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
63224         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
63225         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
63226         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
63228         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
63229         _XOPEN_SOURCE_EXTENDED for XPG4.
63231         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
63233         * Makeconfig (localtime): Remove variable.
63234         (inst_localtime-file): Likewise.
63236 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
63239         Update.
63240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63241         Update.
63242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
63243         Update.
63244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
63245         Update.
63246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
63247         Update.
63248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
63249         Update.
63250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63251         Update.
63252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
63253         Update.
63254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63255         Update.
63257 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
63259         [BZ #2550]
63260         [BZ #2570]
63261         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
63262         comparisons to determine direction to adjust input.
63263         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
63264         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
63265         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
63266         Likewise.
63267         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
63268         Likewise.
63269         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
63270         Likewise.
63271         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
63272         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
63273         Likewise.
63274         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
63275         Likewise.
63276         * math/libm-test.inc (nexttoward_test): Add more tests.
63278 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63280         [BZ #14040]
63281         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
63282         in version GLIBC_2.1, not GLIBC_2.0.
63283         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
63284         Likewise.
63286 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
63288         [BZ #13942]
63289         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
63290         (1 - x) * (1 + x).
63291         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
63292         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
63293         * math/libm-test.inc (acos_test): Add more tests.
63294         (asin_test): Likewise.
63295         * sysdeps/i386/fpu/libm-test-ulps: Update.
63296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63298         [BZ #14034]
63299         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
63300         of square root.
63301         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
63302         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
63303         * math/libm-test.inc (acos_test_tonearest): New function.
63304         (acos_test_towardzero): Likewise.
63305         (acos_test_downward): Likewise.
63306         (acos_test_upward): Likewise.
63307         (asin_test_tonearest): Likewise.
63308         (asin_test_towardzero): Likewise.
63309         (asin_test_downward): Likewise.
63310         (asin_test_upward): Likewise.
63311         (main): Call the new functions.
63312         * sysdeps/i386/fpu/libm-test-ulps: Update.
63313         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63315         [BZ #13884]
63316         [BZ #13924]
63317         * math/e_exp10.c: Include <float.h>.
63318         (__ieee754_exp10): Handle underflow here rather than multiplying
63319         large negative argument by M_LN10.
63320         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
63321         of __ieee754_expf.
63322         * math/e_exp10l.c: Include <float.h>.
63323         (__ieee754_exp10l): Handle underflow here rather than multiplying
63324         large negative argument by M_LN10l.
63325         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
63326         spurious overflow exception on underflow.
63328 2012-04-29  Marek Polacek  <polacek@redhat.com>
63330         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
63331         (__fortify_function): New macro.
63332         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
63333         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
63334         __extern_always_inline.
63335         * libio/bits/stdio2.h: Likewise.
63336         * libio/bits/stdio.h: Likewise.
63337         * string/string.h: Likewise.
63338         * string/bits/string3.h: Likewise.
63339         * include/stdio.h: Likewise.
63340         * stdlib/bits/stdlib.h: Likewise.
63341         * stdlib/stdlib.h: Likewise.
63342         * rt/bits/mqueue2.h: Likewise.
63343         * rt/mqueue.h: Likewise.
63344         * posix/bits/unistd.h: Likewise.
63345         * posix/unistd.h: Likewise.
63346         * io/bits/poll2.h: Likewise.
63347         * io/bits/fcntl2.h: Likewise.
63348         * io/fcntl.h: Likewise.
63349         * io/sys/poll.h: Likewise.
63350         * misc/bits/syslog.h: Likewise.
63351         * misc/bits/syslog-ldbl.h: Likewise.
63352         * misc/sys/syslog.h: Likewise.
63353         * socket/bits/socket2.h: Likewise.
63354         * socket/sys/socket.h: Likewise.
63355         * debug/tst-chk1.c: Likewise.
63356         * wcsmbs/bits/wchar2.h: Likewise.
63357         * wcsmbs/bits/wchar-ldbl.h: Likewise.
63358         * wcsmbs/wchar.h: Likewise.
63360 2012-04-29  Andreas Jaeger  <aj@suse.de>
63362         * Makerules (tests): Remove enable-check-abi protection.
63363         (check-abi-warn): Remove.
63364         (check-abi-%): Remove check-abi-warn usage.
63366         * configure.in: Remove check-abi configure option.
63367         * configure: Regenerated.
63368         * config.make.in (enable-check-abi): Remove.
63370 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
63372         [BZ #14033]
63373         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
63374         double functions to double *_finite functions.
63376         [BZ #13941]
63377         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
63378         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
63379         LDBL_MIN_EXP.
63380         * stdio-common/Makefile (tests): Add tst-sprintf3.
63381         * stdio-common/tst-sprintf3.c: New file.
63383         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
63384         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
63386 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
63388         * conform/conformtest.pl: Remove duplicate typed-constant
63389         handling.
63391 2012-04-28  David S. Miller  <davem@davemloft.net>
63393         * Makerules (%.abilist): Add vpath on sysdep_dirs.
63394         (check-abi-%): Remove AWK script prerequisite and explicit
63395         abilist directory.
63396         (check-abi): Rewrite to just diff the symlist with the abilist.
63397         (config-tls, config-abi-config): Delete, no longer used.
63398         (update-abi-%): Remove AWK script and explicit abilist directory.
63399         (update-abi): Rewrite to simply compare and conditionally copy the
63400         symlist and the sysdep abilist file.  Remove update-abi-config
63401         checks.
63402         * abilist/ld.abilist: Remove.
63403         * abilist/libBrokenLocale.abilist: Remove.
63404         * abilist/libanl.abilist: Remove.
63405         * abilist/libcrypt.abilist: Remove.
63406         * abilist/libdl.abilist: Remove.
63407         * abilist/librt.abilist: Remove.
63408         * abilist/libthread_db.abilist: Remove.
63409         * abilist/libutil.abilist: Remove.
63410         * scripts/extract-abilist.awk: Remove.
63411         * scripts/merge-abilist.awk: Remove.
63412         * sysdeps/generic/libcidn.abilist: New file.
63413         * sysdeps/generic/libnss_compat.abilist: New file.
63414         * sysdeps/generic/libnss_db.abilist: New file.
63415         * sysdeps/generic/libnss_dns.abilist: New file.
63416         * sysdeps/generic/libnss_files.abilist: New file.
63417         * sysdeps/generic/libnss_hesiod.abilist: New file.
63418         * sysdeps/generic/libnss_nis.abilist: New file.
63419         * sysdeps/generic/libnss_nisplus.abilist: New file.
63420         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
63421         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
63422         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
63423         file.
63424         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
63425         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
63426         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
63427         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
63428         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
63429         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
63430         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
63431         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
63432         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
63433         file.
63434         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
63435         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
63436         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
63437         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
63438         file.
63439         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
63440         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
63441         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
63442         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
63443         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
63444         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
63445         file.
63446         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
63447         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
63448         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
63449         file.
63450         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
63451         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
63452         New file.
63453         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
63454         New file.
63455         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
63456         New file.
63457         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
63458         New file.
63459         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
63460         New file.
63461         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
63462         New file.
63463         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
63464         New file.
63465         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
63466         New file.
63467         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
63468         New file.
63469         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
63470         New file.
63471         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
63472         New file.
63473         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
63474         New file.
63475         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
63476         New file.
63477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
63478         file.
63479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
63480         New file.
63481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
63482         New file.
63483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
63484         file.
63485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
63486         New file.
63487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
63488         New file.
63489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
63490         file.
63491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
63492         New file.
63493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63494         New file.
63495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
63496         New file.
63497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
63498         New file.
63499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
63500         New file.
63501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
63502         New file.
63503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
63504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
63505         file.
63506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
63507         New file.
63508         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
63509         file.
63510         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
63511         file.
63512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
63513         file.
63514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
63515         file.
63516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
63517         file.
63518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63519         New file.
63520         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
63521         file.
63522         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
63523         file.
63524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
63525         New file.
63526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
63527         file.
63528         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
63529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
63530         file.
63531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
63532         New file.
63533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
63534         file.
63535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
63536         file.
63537         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
63538         file.
63539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
63540         file.
63541         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
63542         file.
63543         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63544         New file.
63545         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
63546         file.
63547         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
63548         file.
63549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
63550         New file.
63551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
63552         file.
63553         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63554         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
63555         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
63556         file.
63557         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
63558         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
63559         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
63560         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
63561         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
63562         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
63563         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
63564         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
63565         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
63566         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
63567         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
63568         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
63569         file.
63570         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
63571         New file.
63572         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
63573         file.
63574         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
63575         file.
63576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
63577         file.
63578         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
63579         file.
63580         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
63581         file.
63582         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
63583         New file.
63584         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
63585         New file.
63586         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
63587         file.
63588         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
63589         New file.
63590         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
63591         file.
63592         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
63593         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
63594         file.
63595         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
63596         New file.
63597         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
63598         file.
63599         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
63600         file.
63601         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
63602         file.
63603         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
63604         file.
63605         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
63606         file.
63607         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
63608         New file.
63609         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
63610         New file.
63611         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
63612         file.
63613         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
63614         New file.
63615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
63616         file.
63618 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
63620         * conform/conformtest.pl: Fix typo in handling typed-constant from
63621         allow-header.
63623 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
63625         * README: Cut down references to pre-2.6 Linux kernels and
63626         Linuxthreads.  Update lists of configurations in libc and ports
63627         and sort alphabetically.  Say "or newer" with Linux kernel version
63628         requirements.
63630         * config.h.in [IS_IN_build]: Allow compiling without optimization.
63632 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63634         [BZ #887]
63635         * math/libm-test.inc (logb_test_downward): New test to expose
63636         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
63637         rounding mode.
63639 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
63641         [BZ #14027]
63642         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
63643         to be done.
63644         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
63645         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
63647 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
63649         * sysdeps/unix/i386/brk.S: Remove file.
63650         * sysdeps/unix/i386/dl-brk.S: Likewise.
63651         * sysdeps/unix/i386/pipe.S: Likewise.
63652         * sysdeps/unix/i386/sigreturn.S: Likewise.
63653         * sysdeps/unix/i386/syscall.S: Likewise.
63654         * sysdeps/unix/i386/vfork.S: Likewise.
63655         * sysdeps/unix/i386/wait.S: Likewise.
63657         * sysdeps/unix/common/tcsendbrk.c: Move to ...
63658         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
63660         * configure.in (arm*-none*): Do not allow without
63661         --enable-hacker-mode.
63662         (netbsd*): Remove case setting base_os.
63663         (386bsd*): Likewise.
63664         (freebsd*): Likewise.
63665         (bsdi*): Likewise.
63666         (osf*): Likewise.
63667         (sunos*): Likewise.
63668         (ultrix*): Likewise.
63669         (newsos*): Likewise.
63670         (dynix*): Likewise.
63671         (*bsd*): Likewise.
63672         (sysv*): Likewise.
63673         (isc*): Likewise.
63674         (esix*): Likewise.
63675         (sco*): Likewise.
63676         (minix*): Likewise.
63677         (irix4*): Likewise.
63678         (irix6*): Likewise.
63679         (solaris[2-9]*): Likewise.
63680         (none): Likewise.
63681         * configure: Regenerated.
63683 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63685         [BZ #11521]
63686         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
63687         overflow or cancellation in calculating denominator.
63688         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
63689         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
63690         down expression to avoid unexpected rounding in newer GCCs.
63691         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
63693 2012-04-26  David S. Miller  <davem@davemloft.net>
63695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
63696         long-double compat symbols.
63697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
63699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
63700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
63701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
63702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
63703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
63704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
63705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
63706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
63707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
63708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
63709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
63711 2012-04-25  David S. Miller  <davem@davemloft.net>
63713         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
63714         HWCAP_* values only after the memory barriers have been defined.
63715         (atomic_full_barrier): Define.
63716         (atomic_read_barrier): Define.
63717         (atomic_write_barrier): Define.
63719 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63721         * shlib-versions: Add libgcc_s version information.
63722         * sysdeps/generic/libgcc_s.h: Remove.
63723         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
63724         libgcc_s.h.
63725         * sysdeps/gnu/unwind-resume.c: Likewise.
63726         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
63728 2012-04-25  David S. Miller  <davem@davemloft.net>
63730         * sysdeps/unix/sparc/brk.S: Delete.
63731         * sysdeps/unix/sparc/dl-brk.S: Delete.
63732         * sysdeps/unix/sparc/pipe.S: Delete.
63733         * sysdeps/unix/sparc/sysdep.S: Delete.
63734         * sysdeps/unix/sparc/sysdep.h: Delete.
63735         * sysdeps/unix/sparc/vfork.S: Delete.
63736         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
63737         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
63738         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
63739         (ret_ERRVAL, r0, r1, MOVE): Define.
63740         (JUMPTARGET): Remove.
63741         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
63742         sysdeps/unix/sparc/sysdep.h
63743         (ENTRY, END): Remove.
63744         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63746 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
63748         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
63749         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
63750         -DIS_IN_build.
63752         * timezone/README: Update upstream location and email address for
63753         tzcode and tzdata.
63754         * timezone/zdump.c: Update from tzcode 2012b.
63755         * timezone/zic.c: Likewise.
63757         * configure.in (libc_cv_as_needed): Remove test.
63758         * configure: Regenerated.
63759         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
63760         conditional definition.
63761         [$(have-as-needed) != yes] (no-as-needed): Likewise.
63762         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
63763         * config.make.in (have-as-needed): Remove variable.
63765 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63766             Paul Pluzhnikov  <ppluzhnikov@google.com>
63768         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
63769         strings correctly.
63771 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
63773         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
63774         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
63775         * sysdeps/sh/strlen.S: Likewise.
63777 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63779         * sysdeps/unix/fork.S: Remove file.
63780         * sysdeps/unix/i386/fork.S: Likewise.
63781         * sysdeps/unix/sparc/fork.S: Likewise.
63783         * sysdeps/unix/system.c: Remove file.
63784         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
63786         * sysdeps/unix/getegid.S: Remove file.
63787         * sysdeps/unix/geteuid.S: Likewise.
63789 2012-04-24  Roland McGrath  <roland@hack.frob.com>
63791         * scripts/check-localplt.awk: New file.
63792         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
63793         of diff.
63794         * scripts/data/localplt-generic.data: Add a comment.
63796         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
63797         NODE when __dir_mkfile failed.
63798         * sysdeps/mach/hurd/symlinkat.c: Likewise.
63799         Reported by Ludovic Courtès <ludo@gnu.org>.
63801 2012-04-24  Andreas Jaeger  <aj@suse.de>
63803         * Makerules (common-clean): Also remove gen-as-const-headers
63804         files.
63806 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63808         * Makerules (native-compile): Do not change working directory for
63809         build.  Use $(OUTPUT_OPTION) in command.
63810         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
63812 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63814         [BZ #13886]
63815         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
63816         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
63817         * math/libm-test.inc (floor_test): Add more tests.
63818         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
63820 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63822         * sysdeps/unix/getdents.c: Remove file.
63823         * sysdeps/unix/sysv/getdents.c: Likewise.
63824         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
63826         * sysdeps/unix/syscalls.list (madvise): Add syscall from
63827         sysdeps/unix/mman/syscalls.list.
63828         (mmap): Likewise.
63829         (mprotect): Likewise.
63830         (msync): Likewise.
63831         (munmap): Likewise.
63832         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
63833         * sysdeps/unix/mman/syscalls.list: Remove.
63834         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
63836         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
63837         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
63838         * configure: Regenerated.
63839         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
63840         $(libgcc_s_suffix).
63841         * config.make.in (libgcc_s_suffix): Remove variable.
63843 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
63845         * sysdeps/unix/sysv/gethostname.c: Move to ...
63846         * sysdeps/posix/gethostname.c: ... here.
63848         * sysdeps/unix/execve.S: Remove file.
63850         * sysdeps/unix/_exit.S: Remove file.
63852 2012-04-23  Andreas Jaeger  <aj@suse.de>
63854         [BZ #13739]
63855         * manual/Makefile: Remove make dist support, there's no
63856         need for a stand-alone documentation tar ball.
63857         (TEXI2DVI): Define always, it's not in Makeconfig.
63858         (dist): Removed.
63859         (tar-it): Removed.
63860         (edition): Removed.
63861         (glibc-doc-$(edition).tar): Removed
63862         (%.Z): Removed.
63863         (%.gz): Removed.
63864         (%.uu): Removed.
63865         (ETAGS): Remove, it's in Makeconfig.
63866         (move-if-change): Remove, it's in Makeconfig.
63868 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
63870         [BZ #13970]
63871         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
63872         (strtod, strtof, strtold, strtol, strtoul, strtoq)
63873         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
63874         (strtod_l, strtof_l, strtold_l): Remove __wur.
63875         It is not necessarily an error to ignore strtol's return value.
63876         One can reliably look at the stored endptr to decide whether
63877         the number had valid syntax.
63879 2012-04-21  Andreas Jaeger  <aj@suse.de>
63881         [BZ #13739]
63882         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
63884 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
63886         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
63887         * sysdeps/unix/sysv/Versions: Remove file.
63889 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
63891         [BZ #13927]
63892         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63894 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
63896         [BZ #7064]
63897         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
63898         version from __vm86.
63900 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
63902         * sysdeps/unix/common/lxstat.c: Remove file.
63903         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
63905         * sysdeps/unix/sysv/Makefile: Remove file.
63907         * sysdeps/unix/sysv/direct.h: Remove file.
63909         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
63910         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
63911         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
63912         * sysdeps/unix/sysv/bits/signum.h: Likewise.
63913         * sysdeps/unix/sysv/bits/stat.h: Likewise.
63914         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
63915         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
63917         * sysdeps/unix/sysv/setrlimit.c: Remove file.
63919         * sysdeps/unix/xmknod.c: Remove file.
63920         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
63922         * sysdeps/unix/sysv/settimeofday.c: Remove file.
63924         * sysdeps/unix/sysv/i386/time.S: Remove file.
63926         * sysdeps/unix/fxstat.c: Remove file.
63927         * sysdeps/unix/xstat.c: Likewise.
63928         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
63930         * sysdeps/unix/sysv/sigaction.c: Remove file.
63932         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
63933         (sysdep_headers): Remove variable.
63934         [termio.h not in sysdep_headers] (generated): Likewise.
63935         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
63936         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
63937         * sysdeps/unix/sysv/tcdrain.c: Likewise.
63938         * sysdeps/unix/sysv/tcflow.c: Likewise.
63939         * sysdeps/unix/sysv/tcflush.c: Likewise.
63940         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
63941         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
63942         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
63943         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
63944         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
63946         * sysdeps/unix/siglist.c: Remove file.
63948         * sysdeps/unix/getppid.S: Remove file.
63950         * sysdeps/unix/mkdir.c: Remove file.
63951         * sysdeps/unix/rmdir.c: Likewise.
63953 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
63955         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
63956         ERR_MAX value.
63957         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
63958         errlist-compat value.
63960 2012-04-18  David S. Miller  <davem@davemloft.net>
63962         * sysdeps/generic/memcopy.h (reg_char): Delete.
63963         * debug/strcat_chk.c: Use char, not reg_char.
63964         * debug/strcpy_chk.c: Likewise.
63965         * debug/strncat_chk.c: Likewise.
63966         * debug/strncpy_chk.c: Likewise.
63967         * string/memchr.c: Likewise.
63968         * string/memrchr.c: Likewise.
63969         * string/rawmemchr.c: Likewise.
63970         * string/strcat.c: Likewise.
63971         * string/strchr.c: Likewise.
63972         * string/strchrnul.c: Likewise.
63973         * string/strcmp.c: Likewise.
63974         * string/strcpy.c: Likewise.
63975         * string/strncat.c: Likewise.
63976         * string/strncmp.c: Likewise.
63977         * string/strncpy.c: Likewise.
63979 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63981         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
63982         __builtin_memcopy is called when src and dest ranges are known to not
63983         overlap.
63985 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63987         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
63988         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
63989         fwd_align_merge macro call.
63990         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
63991         bwd_align_merge macro call.
63992         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63994 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63996         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
63997         bwd_align_merge macros.
63998         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
63999         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
64000         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64002 2012-04-18  David S. Miller  <davem@davemloft.net>
64004         * sysdeps/sparc/sparc64/memcopy.h: Delete.
64006 2012-04-18  Andreas Jaeger  <aj@suse.de>
64008         [BZ# 6794]
64009         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
64010         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
64011         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64013         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
64014         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
64015         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64017         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
64018         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
64019         Adjust for changed ldbl-128 files.
64021         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
64022         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
64023         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64025 2012-04-17  David S. Miller  <davem@davemloft.net>
64027         * sysdeps/sparc/sparc32/memcopy.h: Delete.
64029 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
64031         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
64032         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
64033         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
64034         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
64035         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
64036         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
64038 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64040         [BZ #6794]
64041         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
64042         * math/libm-test.inc: Add ilogb errno and exception tests.
64043         * math/w_ilogb.c: New file: ilogb wrapper.
64044         * math/w_ilogbf.c: New file: ilogbf wrapper.
64045         * math/w_ilogbl.c: New file: ilogbl wrapper.
64046         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
64047         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
64048         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
64049         exception being thrown with 0.0 as argument.
64050         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
64051         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
64052         exception being thrown with 0.0 as argument.
64053         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
64054         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64055         exception being thrown with 0.0 as argument.
64056         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
64057         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64058         exception being thrown with 0.0 as argument.
64059         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
64060         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
64061         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
64062         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
64063         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
64064         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
64065         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
64066         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
64067         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
64069 2012-04-17  Petr Baudis  <pasky@ucw.cz>
64071         * include/sys/uio.h: Change __vector to __iovec to avoid clash
64072         with altivec.
64074 2012-04-16  Marek Polacek  <polacek@redhat.com>
64076         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
64078 2012-04-16  Marek Polacek  <polacek@redhat.com>
64080         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
64081         operands of fdivp instruction.
64083 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64085         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
64086         * elf/tst-auditmod3b.c: Likewise.
64087         * elf/tst-auditmod4b.c: Likewise.
64088         * elf/tst-auditmod5b.c: Likewise.
64089         * elf/tst-auditmod6b.c: Likewise.
64090         * elf/tst-auditmod6c.c: Likewise.
64091         * elf/tst-auditmod7b.c: Likewise.
64092         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
64093         * sysdeps/x86_64/preconfigure.in: Likewise.
64094         * sysdeps/x86_64/preconfigure: Regenerated.
64096 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64098         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
64099         __ILP32__.
64101 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
64103         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64104         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
64106 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
64108         [BZ #13973]
64109         * locale/iso-639.def: Fix gl language name. Spotted by
64110         Yaron Shahrabani.
64112 2012-04-12  Roland McGrath  <roland@hack.frob.com>
64114         [BZ #2074]
64115         * libio/libio.h (__io_write_fn): Update comment.
64117 2012-04-12  Petr Baudis  <pasky@ucw.cz>
64119         [BZ #2074]
64120         * stdio.texi (Hook Functions): The user provided writer function
64121         is not allowed to return -1.
64123 2012-04-11  David S. Miller  <davem@davemloft.net>
64125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64127 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
64129         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
64130         Add a leading slash to rtkaio.
64132 2012-04-11  Jim Meyering  <meyering@redhat.com>
64134         [BZ #11959]
64135         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
64136         It is not necessarily an error to ignore fwrite's return
64137         value.  One can reliably use ferror to test for errors after
64138         the fact.
64140 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64142         * bits/types.h (__snseconds_t): New type.
64143         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
64145         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
64146         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64147         (__SNSECONDS_T_TYPE): Likewise.
64148         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64149         (__SNSECONDS_T_TYPE): Likewise.
64150         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64151         (__SNSECONDS_T_TYPE): Likewise.
64153 2012-04-10  Andreas Jaeger  <aj@suse.de>
64155         [BZ #2636]
64156         * manual/time.texi (Processor Time): Return type of times is
64157         elapsed real time since an arbitrary point in the past.
64158         (CPU Time): Move CLK_TCK from here...
64159         (Processor Time): ...to here.  Correct description.
64160         * manual/conf.texi (Constants for Sysconf): Correct description of
64161         _SC_CLK_TCK.
64163 2012-04-10  David S. Miller  <davem@davemloft.net>
64165         [BZ #13967]
64166         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
64167         where the is a gap between DT_REL(A) and DT_JMPREL.
64169 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64171         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
64172         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64173         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64175 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64177         * elf/dl-support.c (_dl_inhibit_cache): New variable.
64178         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
64179         (dl_main): Handle --inhibit-cache.
64180         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
64181         _dl_inhibit_cache.
64182         * elf/dl-load.c (_dl_map_object): Use it.
64183         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
64185 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64187         [BZ #13872]
64188         * sysdeps/i386/fpu/e_powl.S (p78): New object.
64189         (__ieee754_powl): Saturate large exponents rather than testing for
64190         overflow of y*log2(x).
64191         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64192         * math/libm-test.inc (pow_test): Do not permit spurious overflow
64193         exceptions.
64195         [BZ #11521]
64196         * math/s_ctan.c: Include <float.h>.
64197         (__ctan): Avoid internal overflow or cancellation in calculating
64198         denominator.
64199         * math/s_ctanf.c: Likewise.
64200         * math/s_ctanl.c: Likewise.
64201         * math/s_ctanh.c: Likewise.
64202         * math/s_ctanhf.c: Likewise.
64203         * math/s_ctanhl.c: Likewise.
64204         * math/libm-test.inc (ctan_test): Add more tests.
64205         (ctanh_test): Likewise.
64206         * sysdeps/i386/fpu/libm-test-ulps: Update.
64207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64209 2012-04-09  Andreas Jaeger  <aj@suse.de>
64211         [BZ #6894]
64212         * manual/filesys.texi (Directory Entries): Mention that d_namlen
64213         is an optional BSD extension.
64215         [BZ #10254]
64216         * manual/stdio.texi (Opening Streams): Document additional fopen
64217         parameters.
64219 2012-04-09  Roland McGrath  <roland@hack.frob.com>
64221         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
64222         %eax without telling the compiler.
64224 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
64226         [BZ # 13963]
64227         * manual/install.texi: Use sourceware.org.
64229 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64231         [BZ #13873]
64232         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
64233         (__ieee754_pow): Generate overflow and underflow using huge*huge
64234         and tiny*tiny rather than just returning constant infinity or zero
64235         for large exponents.
64236         * math/libm-test.inc (pow_test): Require overflow exceptions for
64237         applicable cases of large exponents.
64239         [BZ #706]
64240         * sysdeps/i386/fpu/e_pow.S (p10): New object.
64241         (__ieee754_pow): Use iterative multiplication algorithm only for
64242         integer exponents with absolute value below 1024.  Check for odd
64243         integer exponents when using algorithm for real exponents.
64244         * math/libm-test.inc (pow_test): Add more tests.
64245         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64247 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
64249         [BZ #13705]
64250         * math/libm-test.inc (exp_test): Do not allow overflow exception
64251         on underflow test.
64253 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
64255         [BZ #13705]
64256         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
64257         instead of __kernel_standard_f.
64259 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
64261         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
64262         * sysdeps/x86_64/memset_chk.S: Likewise.
64264 2012-04-08  Andreas Jaeger  <aj@suse.de>
64266         [BZ #10153]
64267         * manual/startup.texi (Environment Access): Describe return value
64268         for putenv and setenv.
64270         [BZ #6895]
64271         * manual/filesys.texi (Directory Entries): Add description for
64272         DT_LNK.
64274         [BZ #6890]
64275         * manual/filesys.texi (Directory Entries): Clarify that it's file
64276         system not operating system in the description of DT_UNKNOWN.
64278         [BZ #6578]
64279         * manual/syslog.texi (closelog): Fix reference, it's openlog.
64281 2012-04-08  Stephen Compall  <s11@member.fsf.org>
64283         [BZ #6649]
64284         * manual/llio.texi (Opening and Closing Files): Add cross
64285         reference to explain mode argument.
64287 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
64289         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
64290         * sysdeps/x86_64/memset_chk.S: Likewise.
64292 2012-04-07  David S. Miller  <davem@davemloft.net>
64294         * elf/elf.h (R_SPARC_WDISP10): Define.
64295         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
64296         R_SPARC_SIZE32.
64297         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
64298         R_SPARC_SIZE64 and R_SPARC_H34.
64300 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
64302         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
64303         conditions and remove no longer applicable assertion.
64305 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
64307         * bits/byteswap.h: Include <features.h>.
64308         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64309         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64311 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
64313         * bits/byteswap.h (__bswap_16): Removed.
64314         Include <bits/byteswap-16.h> to get __bswap_16.
64315         * sysdeps/i386/bits/byteswap.h: Likewise.
64316         * sysdeps/s390/bits/byteswap.h: Likewise.
64317         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64318         * bits/byteswap-16.h: New file.
64319         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64320         * sysdeps/s390/bits/byteswap-16.h: Likewise.
64321         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
64322         * string/Makefile (headers): Add bits/byteswap-16.h.
64324 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
64326         [BZ #13895]
64327         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
64328         extra indirection.
64329         * nss/Makefile (tests-static, tests): Add tst-nss-static.
64330         * nss/tst-nss-static.c: New.
64332 2012-04-06  Robert Millan  <rmh@gnu.org>
64334         [BZ #6486]
64335         * manual/llio.texi (File Position Primitive): lseek
64336         refers to WHENCE when it really means OFFSET.
64338 2012-04-06  Andreas Jaeger  <aj@suse.de>
64340         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
64341         strncmp declarations.
64343         * abilist/libc.abilist: Add __poll and __ppoll.
64345 2012-04-05  David S. Miller  <davem@davemloft.net>
64347         * scripts/check-local-headers.sh: Accept a host triplet in the
64348         path matched by the exclude regexp.
64350         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
64351         definition.
64352         * sysdeps/powerpc/powerpc32/dl-machine.h
64353         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
64354         * sysdeps/s390/s390-32/dl-machine.h
64355         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64356         * sysdeps/sparc/sparc32/dl-machine.h
64357         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64358         * sysdeps/sparc/sparc64/dl-machine.h
64359         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64361         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
64362         lazy binding.
64363         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
64364         undefined symbol errors.
64366         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
64367         DT_NEEDED entries.
64369 2012-04-05  Michael Matz  <matz@suse.de>
64371         [BZ #13592]
64372         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
64374 2012-04-05  Andreas Jaeger  <aj@suse.de>
64376         [BZ #13908]
64377         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
64378         comment.
64380 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64382         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
64383         which ROUND is no valid rounding mode.
64385 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64387         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
64388         read again.
64389         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
64391 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64393         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
64394         an exception using FPU order intentionally.
64396 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64398         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
64399         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
64400         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
64401         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
64403 2012-04-05  Simon Josefsson  <simon@josefsson.org>
64405         [BZ #12340]
64406         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
64407         EINVAL when BUFLEN is too smal.
64409 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
64411         [BZ #13553]
64412         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
64413         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
64415 2012-04-03  Andreas Jaeger  <aj@suse.de>
64417         [BZ #13938]
64418         * manual/setjmp.texi (System V contexts): Fix sentence.
64420         [BZ #13926]
64421         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
64422         New macro for this case.
64423         [!__GNUC__] (__bswap_64): New inline function for this case.
64424         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64425         * bits/byteswap.h: Likewise.
64426         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
64427         ull, guard with __GLIBC_HAVE_LONG_LONG.
64429         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
64430         __GLIBC_HAVE_LONG_LONG.
64432         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
64433         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
64435 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64437         [BZ #13691]
64438         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
64439         inptr and inend, rather than using last_ch.
64441 2012-04-02  David S. Miller  <davem@davemloft.net>
64443         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
64444         * stdio-common/printf-parse.h (read_int): Change return type to
64445         'int', return -1 on INT_MAX overflow.
64446         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
64447         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
64448         overflows INT_MAX.  Check for overflow of in-format-string precision
64449         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
64450         SIZE_MAX not INT_MAX for integer overflow test.
64451         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
64452         skip the construct in the format string but do not record anything.
64453         * stdio-common/bug22.c: Adjust to test both width/prevision
64454         INT_MAX overflow as well as total length INT_MAX overflow.  Check
64455         explicitly for proper errno values.
64457 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
64459         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
64460         CHAR_MAX.
64461         * string/test-strcmp.c [! WIDE]: Likewise.
64462         * time/tst-mktime2.c: Likewise for INT_MAX.
64463         * string/test-string.h: #include <sys/param.h> for MIN.
64465         * csu/init-first.c (__libc_init_first): Call __ctype_init.
64466         * sysdeps/i386/init-first.c (init): Likewise.
64467         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
64468         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
64469         * sysdeps/sh/init-first.c (init): Likewise.
64471 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
64473         * po/ru.po: Update from translation team.
64474         * po/vi.po: Likewise.
64476 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
64478         * resolv/nss_dns/dns-host.c: Merge copyright years.
64480 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64482         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
64483         Optimize memcpy with prefetch if
64484         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
64485         src, dst pointers have unequal 16 byte alignments.
64487 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
64489         [BZ #13928]
64490         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
64491         from a CNAME entry and return the minimum ttl for the query.
64492         (gaih_getanswer_slice): Likewise.
64494 2012-03-30  Jeff Law  <law@redhat.com>
64496         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
64497         due to long keys.
64498         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
64499         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
64501         * resolv/nss_dns/dns-host.c: Update copyright year.
64503 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
64505         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
64506         requests to save a system call.  Fix check that all bytes are sent.
64508         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
64509         comments for sendmmsg.
64511 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64513         [BZ #13691]
64514         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
64515         with only 1 character between 0x0041 and 0x01b0.
64516         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
64517         * wcsmbs/tst-mbsnrtowcs.c: New file.
64519 2012-03-29  David S. Miller  <davem@davemloft.net>
64521         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
64522         small copies by hand.
64524 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64526         [BZ #13761]
64527         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
64528         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
64529         group memberships.
64531 2012-03-28  David S. Miller  <davem@davemloft.net>
64533         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
64534         that branches into memcpy.
64535         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
64536         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
64537         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64538         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
64539         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
64540         bits.
64541         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
64542         implementation too.
64543         * sysdeps/sparc/mempcpy.S: New file.
64545         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
64546         the IFUNC routine in the libc case.
64547         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
64549         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
64550         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
64551         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
64552         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
64553         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
64554         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
64555         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
64556         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
64558         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
64559         loop to 256 bytes instead of 64 bytes and fix test signedness.
64561         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
64562         * sysdeps/sparc/sparc32/Makefile: rather than here...
64563         * sysdeps/sparc/sparc64/Makefile: and here.
64565 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
64567         * malloc/mallocbug.c: Avoid warnings about unused variables.
64569 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
64571         [BZ #13760]
64572         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
64573         in the right place. Discard and retry query if response is
64574         larger than input buffer size.
64576 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
64578         [BZ #369]
64579         [BZ #2678]
64580         [BZ #3866]
64581         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
64582         x for large integer exponent.
64583         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
64584         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
64585         sign of result as needed afterwards.
64586         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
64587         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
64588         result for underflowing pow the same as for overflow.
64589         (__kernel_standard_l): Handle powl overflow and underflow here
64590         rather than calling __kernel_standard.
64591         * math/libm-test.inc (pow_test): Add more tests.
64593         [BZ #3868]
64594         [BZ #13879]
64595         [BZ #13910]
64596         [BZ #13911]
64597         [BZ #13912]
64598         [BZ #13913]
64599         [BZ #13915]
64600         [BZ #13916]
64601         [BZ #13917]
64602         [BZ #13918]
64603         [BZ #13919]
64604         [BZ #13920]
64605         [BZ #13921]
64606         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
64607         * sysdeps/ieee754/k_standard.c: Include <float.h>.
64608         (__kernel_standard_l): New function.
64609         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
64610         __kernel_standard.
64611         * math/w_acosl.c (__acosl): Likewise.
64612         * math/w_asinl.c (__asinl): Likewise.
64613         * math/w_atan2l.c (__atan2l): Likewise.
64614         * math/w_atanhl.c (__atanhl): Likewise.
64615         * math/w_coshl.c (__coshl): Likewise.
64616         * math/w_exp10l.c (__exp10l): Likewise.
64617         * math/w_exp2l.c (__exp2l): Likewise.
64618         * math/w_fmodl.c (__fmodl): Likewise.
64619         * math/w_hypotl.c (__hypotl): Likewise.
64620         * math/w_j0l.c (__j0l, __y0l): Likewise.
64621         * math/w_j1l.c (__j1l, __y1l): Likewise.
64622         * math/w_jnl.c (__jnl, __ynl): Likewise.
64623         * math/w_lgammal.c (__lgammal): Likewise.
64624         * math/w_log10l.c (__log10l): Likewise.
64625         * math/w_log2l.c (__log2l): Likewise.
64626         * math/w_logl.c (__logl): Likewise.
64627         * math/w_powl.c (__powl): Likewise.
64628         * math/w_remainderl.c (__remainderl): Likewise.
64629         * math/w_scalbl.c (sysv_scalbl): Likewise.
64630         * math/w_sinhl.c (__sinhl): Likewise.
64631         * math/w_sqrtl.c (__sqrtl): Likewise.
64632         * math/w_tgammal.c (__tgammal): Likewise.
64633         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
64634         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
64635         * math/libm-test.inc (acos_test): Add more tests.
64636         (acosh_test): Likewise.
64637         (asin_test): Likewise.
64638         (atanh_test): Likewise.
64639         (exp_test): Likewise.
64640         (exp10_test): Likewise.
64641         (exp2_test): Likewise.
64642         (expm1_test): Likewise.
64643         (lgamma_test): Likewise.
64644         (log_test): Likewise.
64645         (log10_test): Likewise.
64646         (log1p_test): Likewise.
64647         (log2_test): Likewise.
64648         (pow_test): Do not allow some spurious overflow exceptions.
64649         (sqrt_test): Add more tests.
64650         (tgamma_test): Likewise.
64651         (y0_test): Likewise.
64652         (y1_test): Likewise.
64653         (yn_test): Likewise.
64655 2012-03-27  Anton Blanchard  <anton@samba.org>
64657         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
64658         MAP_HUGETLB.
64659         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64660         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
64661         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64663 2012-03-27  David S. Miller  <davem@davemloft.net>
64665         * conform/Makefile: Run run-conformtest.sh using $(BASH).
64667         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
64668         have-as-vis3 check.
64670 2012-03-27  Andreas Jaeger  <aj@suse.de>
64672         * sysdeps/x86_64/elf/configure.in: Moved to ...
64673         * sysdeps/x86_64/configure.in: ... here.
64674         * sysdeps/x86_64/elf/start.S: Moved to ...
64675         * sysdeps/x86_64/start.S: ... here.
64676         * sysdeps/x86_64/elf/configure: Delete.
64678         * sysdeps/x86_64/configure.in: Merge contents from
64679         sysdeps/i386/configure.in (without i686 check).
64681         * sysdeps/i386/elf/Versions: Merge into ...
64682         * sysdeps/i386/Versions: ... this.
64683         * sysdeps/i386/elf/Versions: Delete file.
64684         * sysdeps/i386/elf/start.S: Moved to ...
64685         * sysdeps/i386/start.S: ...here.
64686         * sysdeps/i386/elf/configure.in: Merge into...
64687         * sysdeps/i386/configure.in: ...here.
64688         * sysdeps/i386/elf/configure.in: Delete file.
64689         * sysdeps/i386/elf/configure: Delete file.
64691         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
64692         * debug/backtracesyms.c: ... here.
64693         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
64694         * debug/backtracesymsfd.c: ... here.
64695         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
64696         * sysdeps/generic/ifunc-sel.h: ... here.
64698         * sysdeps/unix/i386/start.c: Delete file.
64699         * sysdeps/unix/sparc/start.c: Delete file.
64700         * sysdeps/unix/start.c: Delete file.
64702         * sysdeps/sh/elf/configure.in: Moved to ...
64703         * sysdeps/sh/configure.in: ... here.
64704         * sysdeps/sh/elf/start.S: Moved to ...
64705         * sysdeps/sh/start.S: ... here.
64706         * sysdeps/sh/elf/configure: Delete file.
64708         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
64709         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
64710         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
64711         * sysdeps/powerpc/powerpc64/entry.h: ... here.
64712         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
64713         * sysdeps/powerpc/powerpc64/start.S: here.
64714         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
64715         * sysdeps/powerpc/powerpc64/Makefile: ... this.
64716         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
64717         * sysdeps/powerpc/powerpc64/configure.in: ... this.
64718         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
64720         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
64721         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
64722         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
64723         * sysdeps/powerpc/powerpc32/start.S: ... here.
64724         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
64725         * sysdeps/powerpc/powerpc32/configure.in: ... this.
64726         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
64728         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
64729         * sysdeps/powerpc/ifunc-sel.h: ... here.
64730         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
64731         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
64733         * sysdeps/sparc/elf/configure.in: Moved to ...
64734         * sysdeps/sparc/configure.in: ... here.
64735         * sysdeps/sparc/elf/configure: Delete file.
64736         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
64737         * sysdeps/sparc/sparc32/start.S: ... here.
64738         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
64739         * sysdeps/sparc/sparc64/start.S: ... here.
64740         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
64741         * sysdeps/sparc/sparc32/Makefile: ... this.
64742         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
64743         * sysdeps/sparc/sparc64/Makefile: ... this.
64745         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
64746         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
64747         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
64748         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
64749         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
64750         * sysdeps/s390/s390-32/setjmp.S: ... here.
64751         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
64752         * sysdeps/s390/s390-32/configure.in: ... here.
64753         * sysdeps/s390/s390-32/elf/configure: Delete file.
64754         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
64755         * sysdeps/s390/s390-32/start.S: ... here.
64757         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
64758         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
64759         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
64760         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
64761         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
64762         * sysdeps/s390/s390-64/setjmp.S: ... here.
64763         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
64764         * sysdeps/s390/s390-64/configure.in: ... here
64765         * sysdeps/s390/s390-64/elf/configure: Delete file.
64766         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
64767         * sysdeps/s390/s390-64/start.S: ... here.
64768         * sysdeps/s390/s390-64/elf/configure: Delete.
64770         * configure.in: Remove support for elf directories in sysdeps.
64772         * configure: Regenerated.
64773         * sysdeps/i386/configure: Regenerated.
64774         * sysdeps/powerpc/powerpc32/configure: Regenerated.
64775         * sysdeps/powerpc/powerpc64/configure: Regenerated.
64776         * sysdeps/s390/s390-32/configure: Regenerated.
64777         * sysdeps/s390/s390-64/configure: Regenerated.
64778         * sysdeps/sh/configure: Regenerated.
64779         * sysdeps/sparc/configure: Regenerated.
64780         * sysdeps/x86_64/configure: Regenerated.
64782 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
64784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64786         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
64787         denormal result into account.
64789 2012-03-25  Roland McGrath  <roland@hack.frob.com>
64791         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
64792         Reported by Allan McRae <allan@archlinux.org>.
64794 2012-03-23  Jeff Law  <law@redhat.com>
64796         * nss/getnssent.c (__nss_getent): Fix typo.
64798 2012-03-23  David S. Miller  <davem@davemloft.net>
64800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64802 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
64804         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
64805         to pad to uint64_t for each field.
64806         (dl_tls_index): Replace unsigned long with uint64_t.
64808 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
64809         Paul Pluzhnikov  <ppluzhnikov@google.com>
64811         [BZ #6528]
64812         * grp/Makefile (otherlibs): Don't set it.
64813         * inet/Makefile (otherlibs): Likewise.
64814         * login/Makefile (otherlibs): Likewise.
64815         * nscd/Makefile (otherlibs): Likewise.
64816         * posix/Makefile (otherlibs): Likewise.
64817         * pwd/Makefile (otherlibs): Likewise.
64818         * rt/Makefile (otherlibs): Likewise.
64819         * sunrpc/Makefile (otherlibs): Likewise.
64820         * nss/Makefile (otherlibs): Likewise.
64821         Add libnss_files to routines and static-only-routines.
64822         ($(objpfx)getent): Remove rule.
64823         * resolv/Makefile: Add libnss_dns and libresolv to routines and
64824         static-only-routines.
64826 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
64828         [BZ #13892]
64829         * math/s_cexp.c: Include <float.h>.
64830         (__cexp): Handle exp result overflowing not necessarily
64831         overflowing both real and imaginary parts of result.
64832         * math/s_cexpf.c: Likewise.
64833         * math/s_cexpl.c: Likewise.
64834         * math/libm-test.inc (cexp_test): Add more tests.
64835         * sysdeps/i386/fpu/libm-test-ulps: Update.
64836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64838 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64840         * include/link.h (ELFW): New macro.
64841         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
64842         Replace ELF64_R_TYPE with ELFW(R_TYPE).
64844 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64846         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
64847         with uint64_t.
64849 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64851         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
64852         declaration.
64853         (struct La_x32_retval): Likewise.
64855 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64857         * sysdeps/x86_64/preconfigure.in: New file.
64858         * sysdeps/x86_64/preconfigure: New generated file.
64860 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
64862         [BZ #13824]
64863         * math/e_exp2l.c: Include <float.h>.
64864         (__ieee754_exp2l): Handle overflow and underflow cases
64865         separately.  Only pass fractional part of argument to
64866         __ieee754_expl.
64867         * math/libm-test.inc (exp2_test): Add more tests.
64869         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
64870         negating x to take absolute value.
64871         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
64872         Likewise.
64873         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
64874         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
64875         Likewise.
64876         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
64877         computing low part if x was negated.
64878         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
64880 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64882         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
64883         la_x32_gnu_pltexit.
64884         (pltexit): Cast int_retval to ptrdiff_t.
64885         * elf/tst-auditmod3b.c: Likewise.
64886         * elf/tst-auditmod4b.c: Likewise.
64887         * elf/tst-auditmod5b.c: Likewise.
64888         * elf/tst-auditmod6b.c: Likewise.
64889         * elf/tst-auditmod6c.c: Likewise.
64890         * elf/tst-auditmod7b.c: Likewise.
64892         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
64893         and x32_gnu_pltexit.
64895         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
64896         __ELF_NATIVE_CLASS.
64897         (La_x32_regs): New macro.
64898         (La_x32_retval): Likewise.
64899         (la_x32_gnu_pltenter): New function prototype.
64900         (la_x32_gnu_pltexit): Likewise.
64902 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
64904         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
64905         exponent.
64907         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64909         * configure.in (libc_cv_cc_nofma): Check for option to disable
64910         generation of FMA instructions.
64911         * configure: Regenerate.
64912         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
64913         * sysdeps/ieee754/dbl-64/Makefile: New file.
64914         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
64915         Remove brandred-fma4.
64916         (CFLAGS-brandred-fma4.c): Remove.
64917         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
64918         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
64919         define.
64920         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
64921         define.
64923 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64925         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
64926         LLONG_MAX != LONG_MAX.
64927         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64928         (_fitoa_word): Likewise.
64929         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
64930         LLONG_MAX != LONG_MAX.
64931         * stdio-common/_itowa.h: Include <_itoa.h>.
64932         (_itowa_word): Use _ITOA_WORD_TYPE on value.
64933         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
64934         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
64935         only if not defined.
64936         (_ITOA_WORD_TYPE): Likewise.
64937         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64938         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
64940 2012-03-21  David S. Miller  <davem@davemloft.net>
64942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64944 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64946         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
64947         of x86_64 when setting libc_cv_slibdir, libdir and
64948         libc_cv_localedir.
64949         * sysdeps/unix/sysv/linux/configure: Regenerated.
64951 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64953         * manual/lang.texi (Old Varargs): Remove section.
64954         (How Variadic): Update menu.
64955         (va_start): Do not mention varargs.h.
64957 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64958             Joseph Myers  <joseph@codesourcery.com>
64960         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
64961         link test.
64962         * configure: Regenerated.
64964 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64966         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
64967         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
64968         conformtest.pl
64970 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64972         * NOTES: Remove.
64973         * Makefile (files-for-dist): Remove NOTES.
64974         (NOTES): Remove rule.
64975         * README: Don't refer to NOTES.
64976         * manual/creature.texi: Don't include macros.texi.
64977         * manual/intro.texi (creature.texi): Remove comment referring to
64978         NOTES.
64980         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
64981         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
64982         * configure: Regenerated.
64983         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
64984         LIBC_TRY_CC_OPTION.
64985         (libc_cv_as_i686): Likewise.
64986         (libc_cv_cc_avx): Likewise.
64987         (libc_cv_cc_sse2avx): Likewise.
64988         (libc_cv_cc_fma4): Likewise.
64989         (libc_cv_cc_novzeroupper): Likewise.
64990         * sysdeps/i386/configure: Regenerated.
64992         [BZ #13883]
64993         * sysdeps/i386/fpu/s_cexp.S: Remove.
64994         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
64995         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
64996         * math/libm-test.inc (cexp_test): Add more tests.
64997         * sysdeps/i386/fpu/libm-test-ulps: Update.
64998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65000 2012-03-21  Allan McRae  <allan@archlinux.org>
65002         * timezone/Makefile: Do not install iso3166.tab and zone.tab
65004 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65006         [BZ #13871]
65007         * math/w_exp2.c: Do not include <float.h>.
65008         (o_threshold, u_threshold): Remove.
65009         (__exp2): Calculate result before checking finiteness and calling
65010         __kernel_standard.
65011         * math/w_exp2f.c: Likewise.
65012         * math/w_exp2l.c: Likewise.
65013         * math/libm-test.inc (exp2_test): Require overflow exception for
65014         1e6 input.
65016         [BZ #3866]
65017         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
65018         range of signed 64-bit integers before using fistpll.  Remove
65019         checks for whether integers fit in mantissa bits.
65020         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
65021         the range of signed 32-bit integers before using fistpl.  Remove
65022         checks for whether integers fit in mantissa bits.
65023         * sysdeps/i386/fpu/e_powl.S (p64): New object.
65024         (__ieee754_powl): Test for y outside the range of signed 64-bit
65025         integers before using fistpll.  Reduce 64-bit values to 63-bit
65026         ones as needed.
65027         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
65028         divide-by-zero is raised for zero to large negative powers.
65029         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
65030         (__ieee754_powl): Test for y outside the range of signed 64-bit
65031         integers before using fistpll.  Reduce 64-bit values to 63-bit
65032         ones as needed.
65033         * math/libm-test.inc (pow_test): Add more tests.
65035 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65037         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
65038         <stdio-common/_itoa.h>.
65039         * debug/segfault.c: Likewise.
65040         * elf/dl-cache.c: Likewise.
65041         * elf/dl-minimal.c: Likewise.
65042         * elf/dl-misc.c: Likewise.
65043         * elf/dl-sysdep.c: Likewise.
65044         * elf/dl-version.c: Likewise.
65045         * elf/rtld.c: Likewise.
65046         * hurd/hurdsock.c: Likewise.
65047         * hurd/lookup-retry.c: Likewise.
65048         * malloc/malloc.c: Likewise.
65049         * malloc/mtrace.c: Likewise.
65050         * nscd/nscd_getgr_r.c: Likewise.
65051         * nscd/nscd_getpw_r.c: Likewise.
65052         * nscd/nscd_getserv_r.c: Likewise.
65053         * posix/getopt_init.c: Likewise.
65054         * posix/wordexp.c: Likewise.
65055         * stdio-common/_itoa.c: Likewise.
65056         * stdio-common/printf_fphex.c: Likewise.
65057         * stdio-common/vfprintf.c: Likewise.
65058         * string/_strerror.c: Likewise.
65059         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
65060         * sysdeps/i386/i686/hp-timing.h: Likewise.
65061         * sysdeps/mach/_strerror.c: Likewise.
65062         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
65063         * sysdeps/mach/hurd/sethostid.c: Likewise.
65064         * sysdeps/mach/hurd/xmknodat.c: Likewise.
65065         * sysdeps/mach/xpg-strerror.c: Likewise.
65066         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65067         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
65068         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
65069         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
65070         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
65071         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
65072         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
65073         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
65074         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
65075         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
65076         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
65077         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
65078         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
65079         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65080         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65081         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
65082         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
65083         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
65084         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
65085         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
65086         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
65088         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
65090         * stdio-common/_itoa.h: Moved to ...
65091         * sysdeps/generic/_itoa.h: Here.
65093         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
65095         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
65096         instead of "_itoa.h" and "_itowa.h".
65097         * stdio-common/vfprintf.: Likewise.
65099 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65101         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
65102         <bits/wordsize.h>.
65103         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
65104         (__signbit): Likwise.
65105         (llrintf): Likwise.
65106         (llrint): Likwise.
65108 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65110         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
65111         __WORDSIZE != 64.
65113 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
65115         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
65116         OVERFLOW_EXCEPTION_OK.
65117         * math/libm-test.inc ("Philosophy"): Update comment about
65118         exception testing.
65119         (OVERFLOW_EXCEPTION): Define.
65120         (OVERFLOW_EXCEPTION_OK): Likewise.
65121         (INVALID_EXCEPTION_OK): Renumber.
65122         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65123         (IGNORE_ZERO_INF_SIGN): Likewise.
65124         (test_exceptions): Handle FE_OVERFLOW.
65125         (exp10_test): Expect overflow exceptions.
65126         (exp2_test): Likewise.
65127         (expm1_test): Likewise.
65128         (nextafter_test): Likewise.
65129         (pow_test): Likewise.
65130         (scalbn_test): Likewise.
65131         (scalbln_test): Likewise.
65133 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65135         * sysdeps/x86_64/bits/atomic.h
65136         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
65137         64bit integer.
65138         (atomic_exchange_acq): Likewise.
65139         (__arch_exchange_and_add_body): Likewise.
65140         (__arch_add_body): Likewise.
65141         (atomic_add_negative): Likewise.
65142         (atomic_add_zero): Likewise.
65144 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65146         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
65147         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
65149 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65151         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
65152         Check __x86_64__ instead of __WORDSIZE.
65154 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65156         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
65158 2012-03-19  David S. Miller  <davem@davemloft.net>
65160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65162         * sysdeps/sparc/fpu/fenv_private.h: New file.
65163         * sysdeps/sparc/fpu/math_private.h: Use it.
65164         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
65165         Remove.
65166         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
65167         (libc_feholdexcept_setroundl): Remove.
65168         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
65169         Remove.
65170         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
65171         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
65173 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65175         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
65176         int64_t instead of long int.
65177         (INSERT_WORDS64): Likwise.
65179 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65181         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
65182         _Unwind_GetCFA return to _Unwind_Ptr first.
65184 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
65186         [BZ #13629]
65187         * math/s_clog.c: Include <float.h>.
65188         (__clog): Scale large or subnormal inputs.
65189         * math/s_clogf.c: Likewise.
65190         * math/s_clogl.c: Likewise.
65191         * math/s_clog10.c: Include <float.h>.
65192         (M_LOG10_2): Define.
65193         (__clog10): Scale large or subnormal inputs.
65194         * math/s_clog10f.c: Likewise.
65195         * math/s_clog10l.c: Likewise.
65196         * math/libm-test.inc (clog_test): Add more tests.
65197         (clog10_test): Likewise.
65198         * sysdeps/i386/fpu/libm-test-ulps: Update.
65199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65201         [BZ #11451]
65202         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
65203         x and y.
65204         * math/libm-test.inc (atan2_test): Add another test.
65206         * Makerules (common-objdir-compile): Remove.
65207         * sysdeps/unix/Makefile (config-generated): Do not add
65208         $(unix-generated) to variable.
65209         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
65210         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
65211         Remove rule.
65212         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
65213         Likewise.
65214         [generic bits/local_lim.h] (before-compile): Do not append to
65215         variable.
65216         [generic bits/local_lim.h] (common-generated): Likewise.
65217         [generic sys/param.h] (before-compile): Do not append to variable.
65218         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
65219         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
65220         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
65221         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
65222         include.
65223         [generic sys/param.h] (sys/param.h-includes): Remove variable.
65224         [generic sys/param.h] (sys/param.h-includes): Remove rule.
65225         [generic sys/param.h] ($(addprefix
65226         $(common-objpfx),$(sys/param.h-includes))): Likewise.
65227         [generic sys/param.h] (common-generated): Do not append to
65228         variable.
65229         [generic sys/param.h] (sysdep_headers): Likewise.
65230         [generic bits/errno.h] (before-compile): Do not append to
65231         variable.
65232         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
65233         rule.
65234         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
65235         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
65236         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
65237         [generic bits/errno.h] (common-generated): Do not append to
65238         variable.
65239         [generic bits/ioctls.h] (before-compile): Do not append to
65240         variable.
65241         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
65242         rule.
65243         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
65244         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
65245         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
65246         rule.
65247         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
65248         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
65249         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
65250         [generic bits/ioctls.h] (common-generated): Do not append to
65251         variable.
65252         [generic sys/syscall.h] (syscall.h): Remove variable.
65253         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
65254         rule.
65255         [generic sys/syscall.h] (before-compile): Do not append to
65256         variable.
65257         [generic sys/syscall.h] (common-generated): Likewise.
65258         * sysdeps/unix/errnos-tmpl.c: Remove file.
65259         * sysdeps/unix/errnos.awk: Likewise.
65260         * sysdeps/unix/ioctls-tmpl.c: Likewise.
65261         * sysdeps/unix/ioctls.awk: Likewise.
65262         * sysdeps/unix/mk-local_lim.c: Likewise.
65263         * sysdeps/unix/snarf-ioctls: Likewise.
65265 2012-03-19  Richard Henderson  <rth@twiddle.net>
65267         * sysdeps/i386/fpu/fenv_private.h: New file.
65268         * sysdeps/i386/fpu/math_private.h: Use it.
65269         (math_opt_barrier, math_force_eval): Remove.
65270         (libc_feholdexcept_setround_53bit): Remove.
65271         (libc_feupdateenv_53bit): Remove.
65272         * sysdeps/x86_64/fpu/math_private.h: Likewise.
65273         (math_opt_barrier, math_force_eval): Remove.
65274         (libc_feholdexcept): Remove.
65275         (libc_feholdexcept_setround): Remove.
65276         (libc_fetestexcept, libc_fesetenv): Remove.
65277         (libc_feupdateenv_test): Remove.
65278         (libc_feupdateenv, libc_feholdsetround): Remove.
65279         (libc_feresetround): Remove.
65281         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
65282         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
65284         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
65285         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
65286         (libc_feupdateenv_testl): New.
65287         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
65288         (libc_feupdateenv_testf): New.
65289         (libc_feupdateenv): Use libc_feupdateenv_test.
65290         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
65291         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
65293         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
65294         (libc_feholdsetroundf, libc_feholdsetroundl): New.
65295         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
65296         (libc_feresetround_noex): New.
65297         (libc_feresetround_noexf): New.
65298         (libc_feresetround_noexl): New.
65299         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
65300         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
65301         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
65302         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
65303         SET_RESTORE_ROUND.
65304         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
65305         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
65306         (__cos): Likewise.
65307         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
65308         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
65309         SET_RESTORE_ROUND_NOEX.
65310         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
65311         SET_RESTORE_ROUND_NOEXF.
65312         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
65313         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
65314         (libc_feholdsetroundf): New.
65315         (libc_feresetround, libc_feresetroundf): New.
65317         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
65318         (libc_feholdexcept_setround_53bit): Convert from macro to function.
65319         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
65321         * sysdeps/generic/math_private.h: Include <fenv.h>.
65322         (default_libc_feholdexcept): New.
65323         (default_libc_feholdexcept_setround): New.
65324         (default_libc_fesetenv, default_libc_feupdateenv): New.
65325         (libc_feholdexcept): Only define if undefined.
65326         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
65327         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
65328         (libc_feholdexcept_setroundl): Likewise.
65329         (libc_feholdexcept_setround_53bit): Likewise.
65330         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
65331         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
65332         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
65333         (libc_feupdateenv_53bit): Likewise.
65334         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
65335         (libc_feholdexcept): Convert from macro to inline function.
65336         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
65337         (libc_fesetenv, libc_feupdateenv): Likewise.
65339         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
65340         not previously defined.
65341         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
65342         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
65343         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
65344         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
65345         * sysdeps/ieee754/flt-32/math_private.h: New file.
65346         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
65347         math_private.h below SET_FLOAT_WORD.
65348         (__isnan, __isinf_ns, __finite): Remove.
65349         (__isnanf, __isinf_nsf, __finitef): Remove.
65351 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
65353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65355 2012-03-17  David S. Miller  <davem@davemloft.net>
65357         [BZ #6471]
65358         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
65359         for 2.16.
65361 2012-03-16  David S. Miller  <davem@davemloft.net>
65363         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
65364         warnings.
65366         [BZ #6471]
65367         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
65368         properly.
65369         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
65370         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
65371         sysdep_routines when subdir is sysvipc.
65372         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
65373         __getshmlba helper.
65375         * sysdeps/sparc/fpu/libm-test/ulps: Update.
65377 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65379         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
65380         [__LP64__].
65382 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65384         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
65385         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
65386         (__lround): Renamed to ...
65387         (__llround): This.  Replace long int with long long int.
65388         Define lround functions as aliases of llround functions.
65389         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
65391 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65393         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
65394         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
65395         adresses to uintptr_t.  Replace "long int" and "unsigned long
65396         int" with "greg_t" on va_arg.
65398 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65400         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
65401         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
65403         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
65404         Move e_machine check before EI_CLASS check.  Handle x32
65405         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
65406         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
65407         SKIP_EM_IA_64 and include
65408         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
65410         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
65411         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
65412         (add_system_dir): New macro.
65414         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
65415         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
65417 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
65419         [BZ #2551]
65420         [BZ #2552]
65421         [BZ #2553]
65422         [BZ #2554]
65423         [BZ #2562]
65424         [BZ #2563]
65425         [BZ #2565]
65426         [BZ #2566]
65427         [BZ #2576]
65428         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
65429         (y0): Likewise.
65430         * math/w_j0f.c (j0f): Likewise.
65431         (y0f): Likewise.
65432         * math/w_j0l.c (__j0l): Likewise.
65433         (__y0l): Likewise.
65434         * math/w_j1.c (j1): Likewise.
65435         (y1): Likewise.
65436         * math/w_j1f.c (j1f): Likewise.
65437         (y1f): Likewise.
65438         * math/w_j1l.c (__j1l): Likewise.
65439         (__y1l): Likewise.
65440         * math/w_jn.c (jn): Likewise.
65441         (yn): Likewise.
65442         * math/w_jnf.c (jnf): Likewise.
65443         (ynf): Likewise.
65444         * math/w_jnl.c (__jnl): Likewise.
65445         (__ynl): Likewise.
65446         * math/libm-test.inc (j0_test): Add more tests.
65447         (j1_test): Likewise.
65448         (jn_test): Likewise.  Add trailing semicolon to existing test.
65449         (y0_test): Likewise.
65450         (y1_test): Likewise.
65451         * sysdeps/i386/fpu/libm-test-ulps: Update.
65452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65454         [BZ #13851]
65455         [BZ #13854]
65456         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
65457         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
65458         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
65459         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
65460         (__tanl): Set errno for infinite argument.
65461         * sysdeps/i386/fpu/mptan.c: Remove.
65462         * sysdeps/i386/fpu/s_tan.S: Likewise.
65463         * sysdeps/i386/fpu/s_tanl.S: Likewise.
65464         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
65465         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
65466         * math/libm-test.inc (tan_test): Add more tests and enable more
65467         tests for double and long double.
65468         * sysdeps/i386/fpu/libm-test-ulps: Update.
65469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65471 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
65473         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
65474         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
65476 2012-03-16  Roland McGrath  <roland@hack.frob.com>
65478         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
65479         * configure.in: Use it for both main tree and add-ons.
65480         * configure: Regenerated.
65482 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65484         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
65486 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
65488         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
65489         in comment.
65491         [BZ #13851]
65492         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
65493         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
65494         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
65495         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
65496         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
65497         infinite argument.
65498         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
65499         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
65500         != 0 for prec == 2.
65501         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
65502         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
65503         * sysdeps/i386/fpu/s_cosl.S: Likewise.
65504         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
65505         * sysdeps/i386/fpu/s_sinl.S: Likewise.
65506         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
65507         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
65508         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
65509         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
65510         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
65511         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
65512         * math/libm-test.inc (cos_test): Add more tests and enable more
65513         tests for long double.
65514         (sin_test): Likewise.
65515         (sincos_test): Likewise.
65516         * sysdeps/i386/fpu/libm-test-ulps: Update.
65517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65519 2012-03-16  David S. Miller  <davem@davemloft.net>
65521         * sysdeps/sparc/fpu/math_private.h: New file.
65523 2012-03-15  David S. Miller  <davem@davemloft.net>
65525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
65526         file.
65527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
65528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
65529         file.
65530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
65531         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
65532         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
65533         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
65534         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
65535         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
65536         sysdep routines.
65537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
65539         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
65540         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
65542         * sysdeps/sparc/sparc-ifunc.h: New file.
65543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
65544         sparc-ifunc.h
65545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
65546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
65547         Likewise.
65548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
65549         Likewise.
65550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
65551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
65552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
65554         Likewise.
65555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
65557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
65559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
65560         Likewise.
65561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
65562         Likewise.
65563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
65565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
65566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
65567         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
65568         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
65569         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
65570         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
65571         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
65572         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
65573         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
65574         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
65575         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
65576         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
65577         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
65578         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
65579         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
65580         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
65581         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
65582         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
65583         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
65584         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
65585         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
65586         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
65588 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
65590         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
65591         scaling.
65592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65594 2012-03-15  Andreas Jaeger  <aj@suse.de>
65596         [BZ #13852]
65597         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
65598         ieee754/flt-32 implementation for sin, cos and sincos.
65599         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
65600         * sysdeps/i386/fpu/s_cosf.S: Likewise.
65601         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
65602         * sysdeps/i386/fpu/s_sinf.S: Likewise.
65603         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
65604         ieee754/flt-32 implementation for tan.
65606         * math/libm-test.inc (cos_test): Enable some large input tests for
65607         float as well
65608         (sin_test): Likewise.
65609         (sincos_test): Likewise.
65610         (tan_test): Add tests for large input.
65612         * sysdeps/i386/fpu/libm-test-ulps: Update.
65614 2012-03-15  Andreas Jaeger  <aj@suse.de>
65616         [BZ #13658]
65617         * math/libm-test.inc (cos_test): Add more test cases.
65618         (sin_test): Likewise.
65619         (sincos_test): Likewise.
65621 2012-03-15  Andreas Jaeger  <aj@suse.de>
65623         [BZ #13837]
65624         * math/libm-test.inc (cos_test): Add a test case for large input
65625         value.
65626         (sin_test): Likewise.
65627         (sincos_test): Likewise.
65629 2012-03-15  Andreas Jaeger  <aj@suse.de>
65630             Joseph Myers  <joseph@codesourcery.com>
65632         [BZ #13658]
65633         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
65634         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
65635         * sysdeps/i386/fpu/branred.c: Likewise.
65636         * sysdeps/i386/fpu/dosincos.c: Likewise.
65637         * sysdeps/i386/fpu/mpa.c: Likewise.
65638         * sysdeps/i386/fpu/s_cos.S: Likewise.
65639         * sysdeps/i386/fpu/s_sin.S: Likewise.
65640         * sysdeps/i386/fpu/s_sincos.S: Likewise.
65641         * sysdeps/i386/fpu/sincos32.c: Likewise.
65643         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
65644         Define.
65645         (libc_feupdateenv_53bit): Define.
65646         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
65647         Define.
65648         (libc_feupdateenv_53bit): Define.
65650         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
65651         53 bit (without extend i386 double precision).
65653         * math/libm-test.inc (sincos_test): Add tests for large input.
65654         (sin): Likewise.
65655         (cos): Likewise.
65657         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
65659 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
65661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65663 2012-03-15  David S. Miller  <davem@davemloft.net>
65665         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
65666         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
65667         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
65668         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
65669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
65670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
65671         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
65672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
65673         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
65674         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
65675         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
65676         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
65677         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
65678         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
65679         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
65680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
65681         file.
65682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
65683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
65684         file.
65685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
65686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
65687         file.
65688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
65689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
65690         file.
65691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
65692         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
65693         fmin/fmax sysdep routines.
65694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
65696 2012-03-14  David S. Miller  <davem@davemloft.net>
65698         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
65699         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
65700         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
65701         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
65702         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
65703         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
65704         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
65705         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
65706         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
65707         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
65708         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
65709         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
65710         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
65711         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
65712         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
65713         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
65714         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
65715         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
65716         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
65717         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
65718         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
65719         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
65720         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
65721         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
65722         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
65723         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
65724         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
65725         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
65726         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
65727         routines.
65728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
65729         file.
65730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
65731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
65732         file.
65733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
65734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
65735         file.
65736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
65737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
65738         file.
65739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
65740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
65741         file.
65742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
65743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
65744         file.
65745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
65746         file.
65747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
65748         file.
65749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
65750         file.
65751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
65752         New file.
65753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
65754         file.
65755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
65756         file.
65757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
65758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
65759         file.
65760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
65761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
65762         file.
65763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
65764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
65765         file.
65766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
65767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
65768         VIS3 routines.
65770         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
65771         New file.
65773         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65775         * sysdeps/sparc/configure.in: New file.
65776         * sysdeps/sparc/configure: Generate.
65777         * configure.in (libc_cv_sparc_as_vis3): Substitute.
65778         * configure: Regenerate.
65779         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
65780         * config.make.in (have-as-vis3): New.
65781         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
65782         available use -Av9d instead of -Av9a.
65783         * sysdeps/sparc/sparc64/Makefile: Likewise.
65784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
65785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
65786         New file.
65787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
65788         file.
65789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
65790         New file.
65791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
65792         file.
65793         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
65794         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
65795         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
65796         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
65797         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
65799         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
65800         fzeros/fnegs to load 0x80000000 into a float register instead of
65801         using the stack.
65802         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
65804 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
65806         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65807         bits/syscall.h.
65808         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
65809         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
65810         ($(inst_includedir)/bits/syscall.h): Remove rule.
65811         ($(objpfx)bits/syscall.d): Include instead of
65812         $(objpfx)syscall-list.d.
65813         (generated): Change syscall-list.h and syscall-list.d to
65814         bits/syscall.h and bits/syscall.d.
65816 2012-03-14  Roland McGrath  <roland@hack.frob.com>
65818         [BZ #13846]
65819         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
65821 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
65823         [BZ #13841]
65824         * math/s_csqrt.c: Include <float.h>.
65825         (__csqrt): Scale large or subnormal inputs.
65826         * math/s_csqrtf.c: Likewise.
65827         * math/s_csqrtl.c: Likewise.
65828         * math/libm-test.inc (csqrt_test): Add more tests.
65829         * sysdeps/i386/fpu/libm-test-ulps: Update.
65830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65832         [BZ #13840]
65833         * math/libm-test.inc (hypot_test): Add more tests.
65835 2012-03-13  David S. Miller  <davem@davemloft.net>
65837         [BZ #13840]
65838         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
65839         double-precision for the calculation instead of scaling.
65841 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
65843         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
65844         manipulate bits before adding and subtracting TWO52[sx].
65845         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
65846         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
65847         Likewise.
65848         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
65850 2012-03-13  David S. Miller  <davem@davemloft.net>
65852         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
65853         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
65854         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
65855         rtld-global-offsets.h
65856         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65858         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
65859         large parameters.
65861         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
65863         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
65864         'err' in the ifdef scope in which it is actually used.
65866         * nss/nss_db/db-init.c: Include string.h
65868 2012-03-12  David S. Miller  <davem@davemloft.net>
65870         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
65871         masking out of the most significant byte of random value used.
65872         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65873         Fix coding style in previous change.
65875         * sysdeps/unix/sysv/linux/kernel-features.h
65876         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
65877         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
65878         expression.
65879         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
65880         later.
65882 2012-03-11  David S. Miller  <davem@davemloft.net>
65884         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
65885         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
65886         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
65887         for 'resultvar' otherwise things get truncated on 64-bit.
65889         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65890         Fix masking out of the most significant byte of random value used.
65892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65894 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
65896         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65898 2012-03-09  David S. Miller  <davem@davemloft.net>
65900         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
65901         variables with appropriate CPP guards.
65902         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
65903         from the frame pointer, not the stack pointer.  Correct layout
65904         comments.  Fix test on resulting framesize and the management of
65905         the outregs buffer for pltexit.  Preserve floating point return
65906         values across _dl_call_pltexit call.
65907         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
65908         framesize and the management of the outregs buffer for pltexit.
65909         Preserve floating point return values across _dl_call_pltexit
65910         call.
65911         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
65912         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
65913         (la_sparc64_gnu_pltexit): New functions.
65914         (print_exit): Fix format string for return register value.
65916 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
65918         * sunrpc/Makefile (others): Add rpcgen.
65919         ($(objpfx)rpcgen): Remove special build rule and dependency on
65920         libc.
65921         * sunrpc/rpcgen.c: New file.
65923 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
65925         [BZ #13673]
65926         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
65927         * stdio-common/bug-vfprintf-nargs.c: Likewise.
65928         * sysdeps/i386/crti.S: Likewise.
65929         * sysdeps/i386/crtn.S: Likewise.
65930         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
65931         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
65932         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
65933         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
65934         * sysdeps/sh/crti.S: Likewise.
65935         * sysdeps/sh/crtn.S: Likewise.
65936         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
65938         [BZ #13673]
65939         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
65940         with URL.
65941         * locale/programs/locfile-kw.gperf: Likewise.
65942         * locale/programs/charmap-kw.h: Regenerated.
65943         * locale/programs/locfile-kw.h: Likewise.
65945         [BZ #13673]
65946         * intl/plural.y: Replace FSF snail mail address with URL.
65947         * intl/plural.c: Regenerated.
65949 2012-03-09  Richard Henderson  <rth@twiddle.net>
65951         * include/math_private.h: Remove file.
65952         * math/math_private.h: Move file ...
65953         * sysdeps/generic/math_private.h: ... here.
65955         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
65956         * sysdeps/powerpc/fpu/math_private.h: Likewise.
65957         * sysdeps/x86_64/fpu/math_private.h: Likewise.
65959         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
65960         and <math_private.h>.
65961         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65962         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65963         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65964         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65965         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65966         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
65967         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65968         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65969         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
65970         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65971         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65972         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65973         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
65974         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65975         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
65976         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
65977         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65978         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
65979         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
65980         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
65981         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65982         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
65983         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
65984         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65985         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
65986         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65987         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
65988         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65989         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65990         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65991         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
65992         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65993         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
65994         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
65995         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
65996         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
65997         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
65998         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
65999         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
66000         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66001         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
66002         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
66003         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
66004         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
66005         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
66006         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
66007         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
66008         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
66009         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66010         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
66011         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
66012         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
66013         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
66014         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
66015         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
66016         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66017         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66018         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
66019         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
66020         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
66021         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66022         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
66023         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66024         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
66025         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
66026         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66027         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66028         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66029         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
66030         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
66031         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
66032         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66033         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
66034         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66035         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
66036         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
66037         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
66038         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66039         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
66040         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
66041         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
66042         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
66043         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
66044         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66045         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66046         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
66047         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
66048         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
66049         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66050         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66051         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66052         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66053         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66054         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66055         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66056         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66057         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66058         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66059         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66060         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66061         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66062         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66063         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66064         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66065         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
66066         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66067         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66068         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66069         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
66070         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
66071         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
66072         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
66073         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66074         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
66075         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
66076         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66077         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
66078         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
66079         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
66080         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66081         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
66082         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
66083         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66084         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
66085         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
66086         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
66087         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66088         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
66089         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
66090         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
66091         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
66092         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66093         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
66094         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
66095         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
66096         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66097         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66098         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
66099         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
66100         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66101         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66102         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66103         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66104         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
66105         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
66106         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
66107         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
66108         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
66109         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
66110         * sysdeps/ieee754/k_standard.c: Likewise.
66111         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66112         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66113         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66114         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66115         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66116         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66117         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66118         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66119         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66120         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66121         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66122         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66123         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66124         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66125         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66126         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66127         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
66128         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66129         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66130         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
66131         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
66132         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
66133         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
66134         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
66135         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
66136         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
66137         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
66138         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
66139         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
66140         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
66141         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
66142         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
66143         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
66144         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
66145         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
66146         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
66147         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
66148         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
66149         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
66150         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
66151         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
66152         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
66153         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
66154         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
66155         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
66156         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
66157         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
66158         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
66159         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
66160         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
66161         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
66162         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
66163         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
66164         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
66165         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
66166         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
66167         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
66168         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
66169         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
66170         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
66171         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
66172         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
66173         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
66174         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66175         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66176         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66177         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66178         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66179         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66180         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66181         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
66182         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66183         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
66184         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
66185         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
66186         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
66187         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
66188         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
66189         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66190         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
66191         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
66192         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
66193         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
66194         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
66195         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
66196         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
66197         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
66198         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
66199         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66200         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
66201         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
66202         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
66203         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
66204         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
66205         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
66206         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
66207         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
66208         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
66209         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
66210         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
66211         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
66212         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
66213         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
66214         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
66215         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
66216         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
66217         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
66218         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
66219         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
66220         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
66221         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
66222         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
66223         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
66224         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66225         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
66226         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66227         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
66228         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66229         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66230         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
66231         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66232         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
66233         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
66234         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
66235         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66236         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
66237         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
66238         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
66239         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
66240         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
66241         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
66242         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
66243         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
66244         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
66245         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
66246         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
66247         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
66248         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
66249         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
66250         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
66251         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
66252         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
66253         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
66254         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
66255         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66256         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
66257         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
66258         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
66259         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
66260         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
66261         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
66262         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66263         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66264         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66265         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
66266         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
66267         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
66268         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
66269         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
66270         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
66271         * sysdeps/ieee754/s_lib_version.c: Likewise.
66272         * sysdeps/ieee754/s_matherr.c: Likewise.
66273         * sysdeps/ieee754/s_signgam.c: Likewise.
66274         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66275         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66276         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
66277         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
66278         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
66279         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
66280         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
66281         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
66282         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
66283         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
66284         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
66285         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
66286         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
66287         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
66288         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
66289         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
66290         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66291         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
66292         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66293         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
66294         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
66296 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
66298         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
66299         * sunrpc/rpc_main.c: Likewise.
66300         * sunrpc/rpc_svcout.c: Likewise.
66302 2012-03-09  David S. Miller  <davem@davemloft.net>
66304         * include/math_private.h: New file.
66306 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
66308         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
66309         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
66310         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
66311         from <bits/socket_type.h>.
66312         (enum __socket_type): Don't define here.
66313         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
66314         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66315         bits/socket_type.h.
66317         [BZ #13566]
66318         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
66319         checking __USE_GNU.
66321         * Makerules ($(inst_includedir)/%.h): New rule.
66322         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
66323         (install-others): Remove variable setting.
66324         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
66326 2012-03-08  Richard Henderson  <rth@twiddle.net>
66328         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
66329         from macro to inline function; merge with the
66330         !__LIBC_INTERNAL_MATH_INLINES version.
66331         (__ieee754_sqrtf): Likewise.
66333         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
66334         to inline function.
66335         (__rintf, __floor, __floorf): Likewise.
66337         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
66338         macro to inline function.
66339         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
66341         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
66342         not <math/math_private.h>.
66344 2012-03-08  David S. Miller  <davem@davemloft.net>
66346         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
66347         copyright year.
66348         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
66350 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
66352         * resolv/gai_misc.c (handle_requests): Fix struct timespec
66353         normalization.
66354         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
66355         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
66357 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
66359         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
66360         be defined individually, they must be defined as a block.  Define
66361         S for printing a string instead of hidint the different by using a
66362         macro for adding the 'l'.
66363         * stdio-common/tst-fphex-wide.c: Adjust.
66365 2012-03-07  Marek Polacek  <polacek@redhat.com>
66367         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
66369 2012-03-08  Marek Polacek  <polacek@redhat.com>
66371         [BZ #13806]
66372         * stdio-common/Makefile (tests): Add tst-fphex-wide.
66373         * stdio-common/tst-fphex.c: Define a few macros to make the
66374         test reusable.  Use them.
66375         * stdio-common/tst-fphex-wide.c: New file.
66377 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
66379         [BZ #6911]
66380         * manual/macros.texi (gnusystems): New macro.
66381         (nongnusystems): Likewise.
66382         (gnulinuxhurdsystems): Likewise.
66383         (gnuhurdsystems): Likewise..
66384         (gnulinuxsystems): Likewise.
66385         * manual/charset.texi: Use new macros or @theglibc{} to refer to
66386         variants of the GNU system, not "GNU system".
66387         * manual/conf.texi: Likewise.
66388         * manual/errno.texi: Likewise.  Update example of errno macro
66389         expansion.
66390         * manual/filesys.texi: Likewise.
66391         (getumask): Document as specific to GNU/Hurd.
66392         * manual/install.texi: Likewise.  Reword some references to
66393         GNU/Linux.
66394         * manual/intro.texi: Likewise.
66395         * manual/io.texi: Likewise.
66396         (File Name Portability): Detail which constraints are inapplicable
66397         to all GNU systems and which are only inapplicable to GNU/Hurd.
66398         * manual/job.texi: Likewise.
66399         * manual/llio.texi: Likewise.
66400         (O_NOCTTY): Document as present on GNU/Linux.
66401         * manual/maint.texi: Likewise.
66402         * manual/memory.texi: Likewise.
66403         * manual/pattern.texi: Likewise.
66404         * manual/pipe.texi: Likewise.
66405         * manual/process.texi: Likewise.
66406         * manual/resource.texi: Likewise.
66407         (RUSAGE_CHILDREN): Remove statement about specifying a particular
66408         child on GNU/Hurd.
66409         * manual/setjmp.texi: Likewise.
66410         * manual/signal.texi: Likewise.
66411         * manual/startup.texi: Likewise.
66412         * manual/stdio.texi: Likewise.
66413         * manual/terminal.texi: Likewise.
66414         (ONLCR): Document as POSIX.
66415         (OXTABS): Document availability on GNU/Linux as XTABS.
66416         (ONOEOT): Document availability separately from other bits.
66417         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
66418         * manual/time.texi: Likewise.
66419         * manual/users.texi: Likewise.
66420         * INSTALL: Regenerated.
66421         * sysdeps/gnu/errlist.c: Regenerated.
66423         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
66424         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
66425         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
66426         puts.
66427         * configure: Regenerated.
66429 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
66431         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
66432         default includes instead of AC_HEADER_CHECK.
66433         * sysdeps/i386/configure: Regenerated.
66435         [BZ #10716]
66436         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
66437         * math/s_cacoshf.c (__cacoshf): Likewise.
66438         * math/s_cacoshl.c (__cacoshl): Likewise.
66439         * math/s_casinh.c (__casinh): Set signs of result from argument.
66440         * math/s_casinhf.c (__casinhf): Likewise.
66441         * math/s_casinhl.c (__casinhl): Likewise.
66442         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
66443         (casinh_test): Add more tests.
66444         * sysdeps/i386/fpu/libm-test-ulps: Update.
66445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66447 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
66449         * po/zh_TW.po: Update from translation team.
66451         * login/Makefile (distribute): Remove variable.
66452         * catgets/Makefile: Likewise.
66453         * mach/Makefile: Likewise.
66454         * malloc/Makefile: Likewise.
66455         * misc/Makefile: Likewise.
66456         * iconv/Makefile: Likewise.
66457         * nscd/Makefile: Likewise.
66458         * hurd/Makefile: Likewise.
66459         * manual/Makefile: Likewise.
66460         * locale/Makefile: Likewise.
66461         * intl/Makefile: Likewise.
66462         * conform/Makefile: Likewise.
66463         * nss/Makefile: Likewise.
66464         * time/Makefile: Likewise.
66465         * soft-fp/Makefile: Likewise.
66466         * dirent/Makefile: Likewise.
66467         * gmon/Makefile: Likewise.
66468         * po/Makefile: Likewise.
66469         * rt/Makefile: Likewise.
66470         * socket/Makefile: Likewise.
66471         * math/Makefile: Likewise.
66472         * signal/Makefile: Likewise.
66473         * debug/Makefile: Likewise.
66474         * elf/Makefile: Likewise.
66475         * timezone/Makefile: Likewise.
66476         * stdlib/Makefile: Likewise.
66477         * iconvdata/Makefile: Likewise.
66478         * sunrpc/Makefile: Likewise.
66479         * io/Makefile: Likewise.
66480         * argp/Makefile: Likewise.
66481         * inet/Makefile: Likewise.
66482         * hesiod/Makefile: Likewise.
66483         * grp/Makefile: Likewise.
66484         * csu/Makefile: Likewise.
66485         * wctype/Makefile: Likewise.
66486         * crypt/Makefile: Likewise.
66487         * libio/Makefile: Likewise.
66488         * string/Makefile: Likewise.
66489         * nis/Makefile: Likewise.
66490         * resolv/Makefile: Likewise.
66491         * stdio-common/Makefile: Likewise.
66492         * wcsmbs/Makefile: Likewise.
66493         * dlfcn/Makefile: Likewise.
66494         * posix/Makefile: Likewise.
66496         [BZ #6959]
66497         * timezone/Makefile: Don't install timezone files, just the programs
66498         and scripts.
66500 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
66502         * nss/databases.def: Add missing gshadow entry.
66504         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
66506 2012-03-06  Marek Polacek  <polacek@redhat.com>
66508         [BZ #13726]
66509         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
66510         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
66511         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
66512         * stdio-common/tst-long-dbl-fphex.c: New file.
66514 2012-03-06  David S. Miller  <davem@davemloft.net>
66516         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66517         (set_obp_int): New function.
66518         (get_obp_int): New function.
66519         (__get_clockfreq_via_dev_openprom): Likewise.
66520         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
66521         Avoid unused variable warnings on 'val' and use builtin_expect.
66522         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
66523         __builtin_expect.
66524         (INLINE_CLONE_SYSCALL): Likewise.
66526 2012-03-05  David S. Miller  <davem@davemloft.net>
66528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66530 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
66532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66534         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
66535         only for |x| >= 40.
66536         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66538 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
66540         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
66541         Replace gettimeofday with __vdso_gettimeofday.
66543         * sysdeps/unix/sysv/linux/x86_64/init-first.c
66544         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
66545         __vdso_clock_gettime and __vdso_getcpu.
66547         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
66548         time with __vdso_time.
66550 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
66552         * manual/lang.texi (size_t): Note types to which size_t may be
66553         equivalent with the GNU C Library, but do not describe when
66554         differences between them are significant.
66556 2012-03-05  Andreas Jaeger  <aj@suse.de>
66558         * sysdeps/i386/fpu/libm-test-ulps: Update.
66560 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
66562         [BZ #3976]
66563         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
66564         (__ieee754_pow): Save and restore rounding mode and use
66565         round-to-nearest for main computations.
66566         * math/libm-test.inc (pow_test_tonearest): New function.
66567         (pow_test_towardzero): Likewise.
66568         (pow_test_downward): Likewise.
66569         (pow_test_upward): Likewise.
66570         (main): Call the new functions.
66571         * sysdeps/i386/fpu/libm-test-ulps: Update.
66572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66574         [BZ #3976]
66575         * math/libm-test.inc (cosh_test_tonearest): New function.
66576         (cosh_test_towardzero): Likewise.
66577         (cosh_test_downward): Likewise.
66578         (cosh_test_upward): Likewise.
66579         (sinh_test_tonearest): Likewise.
66580         (sinh_test_towardzero): Likewise.
66581         (sinh_test_downward): Likewise.
66582         (sinh_test_upward): Likewise.
66583         (main): Call the new functions.
66584         * sysdeps/i386/fpu/libm-test-ulps: Update.
66585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66587 2012-03-05  Tom de Vries  <tom@codesourcery.com>
66589         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
66590         default stack guard is set in last bytes.
66591         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
66593 2012-03-05  Kees Cook  <keescook@chromium.org>
66595         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
66597         [BZ #13656]
66598         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
66599         possibly allocate from heap instead of stack.
66600         * stdio-common/bug-vfprintf-nargs.c: New file.
66601         * stdio-common/Makefile (tests): Add nargs overflow test.
66603 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
66605         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66607 2012-03-03  Marek Polacek  <polacek@redhat.com>
66609         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
66610         * math/math_private.h: Likewise.
66611         * stdlib/tst-strtod.c: Likewise.
66612         * sysdeps/i386/i486/bits/atomic.h: Likewise.
66613         * sysdeps/x86_64/bits/atomic.h: Likewise.
66615 2012-03-02  David S. Miller  <davem@davemloft.net>
66617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
66618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
66619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
66620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
66621         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
66622         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
66623         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
66624         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
66626 2012-03-02  Roland McGrath  <roland@hack.frob.com>
66628         [BZ #13792]
66629         * manual/examples/README: New file, says the example source files
66630         can be used under GPL>=2.
66631         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
66632         line containing just "*/".
66633         * manual/examples/add.c: Add copyright header (GPL>=2).
66634         * manual/examples/argp-ex1.c: Likewise.
66635         * manual/examples/argp-ex2.c: Likewise.
66636         * manual/examples/argp-ex3.c: Likewise.
66637         * manual/examples/argp-ex4.c: Likewise.
66638         * manual/examples/atexit.c: Likewise.
66639         * manual/examples/db.c: Likewise.
66640         * manual/examples/dir.c: Likewise.
66641         * manual/examples/dir2.c: Likewise.
66642         * manual/examples/execinfo.c: Likewise.
66643         * manual/examples/filecli.c: Likewise.
66644         * manual/examples/filesrv.c: Likewise.
66645         * manual/examples/fmtmsgexpl.c: Likewise.
66646         * manual/examples/genpass.c: Likewise.
66647         * manual/examples/inetcli.c: Likewise.
66648         * manual/examples/inetsrv.c: Likewise.
66649         * manual/examples/isockad.c: Likewise.
66650         * manual/examples/longopt.c: Likewise.
66651         * manual/examples/memopen.c: Likewise.
66652         * manual/examples/memstrm.c: Likewise.
66653         * manual/examples/mkfsock.c: Likewise.
66654         * manual/examples/mkisock.c: Likewise.
66655         * manual/examples/mygetpass.c: Likewise.
66656         * manual/examples/pipe.c: Likewise.
66657         * manual/examples/popen.c: Likewise.
66658         * manual/examples/rprintf.c: Likewise.
66659         * manual/examples/search.c: Likewise.
66660         * manual/examples/select.c: Likewise.
66661         * manual/examples/setjmp.c: Likewise.
66662         * manual/examples/sigh1.c: Likewise.
66663         * manual/examples/sigusr.c: Likewise.
66664         * manual/examples/stpcpy.c: Likewise.
66665         * manual/examples/strdupa.c: Likewise.
66666         * manual/examples/strftim.c: Likewise.
66667         * manual/examples/strncat.c: Likewise.
66668         * manual/examples/subopt.c: Likewise.
66669         * manual/examples/swapcontext.c: Likewise.
66670         * manual/examples/termios.c: Likewise.
66671         * manual/examples/testopt.c: Likewise.
66672         * manual/examples/testpass.c: Likewise.
66673         * manual/examples/timeval_subtract.c: Likewise.
66675         [BZ #13792]
66676         * manual/time.texi (Elapsed Time): Move timeval_subtract example
66677         function to ...
66678         * manual/timeval_subtract.c.texi: ... here, new file.
66680 2012-03-02  David S. Miller  <davem@davemloft.net>
66682         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
66684 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
66686         [BZ #3976]
66687         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
66688         (__sin): Save and restore rounding mode and use round-to-nearest
66689         for all computations.
66690         (__cos): Save and restore rounding mode and use round-to-nearest
66691         for all computations.
66692         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
66693         <fenv.h>.
66694         (tan): Save and restore rounding mode and use round-to-nearest for
66695         all computations.
66696         * math/libm-test.inc (cos_test_tonearest): New function.
66697         (cos_test_towardzero): Likewise.
66698         (cos_test_downward): Likewise.
66699         (cos_test_upward): Likewise.
66700         (sin_test_tonearest): Likewise.
66701         (sin_test_towardzero): Likewise.
66702         (sin_test_downward): Likewise.
66703         (sin_test_upward): Likewise.
66704         (tan_test_tonearest): Likewise.
66705         (tan_test_towardzero): Likewise.
66706         (tan_test_downward): Likewise.
66707         (tan_test_upward): Likewise.
66708         (main): Call the new functions.
66709         * sysdeps/i386/fpu/libm-test-ulps: Update.
66710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66712         [BZ #10135]
66713         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
66714         small n, then large n, before computing and testing k+n.
66715         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
66716         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
66717         Likewise.
66718         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
66719         Likewise.
66720         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
66721         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
66722         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
66723         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
66724         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
66725         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
66726         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
66727         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
66728         * math/libm-test.inc (scalbn_test): Add more tests.
66729         (scalbln_test): Likewise.
66731         * manual/filesys.texi (mode_t): Describe constraints on size and
66732         signedness, not exact equivalence to a particular type.
66733         (ino_t): Likewise.
66734         (ino64_t): Likewise.
66735         (dev_t): Likewise.
66736         (nlink_t): Likewise.
66737         (blkcnt_t): Likewise.
66738         (blkcnt64_t): Likewise.
66739         * manual/llio.texi (off_t): Likewise.
66741         [BZ #3976]
66742         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
66743         (__ieee754_exp): Save and restore rounding mode and use
66744         round-to-nearest for all computations.
66745         * math/libm-test.inc (exp_test_tonearest): New function.
66746         (exp_test_towardzero): Likewise.
66747         (exp_test_downward): Likewise.
66748         (exp_test_upward): Likewise.
66749         (main): Call the new functions.
66750         * sysdeps/i386/fpu/libm-test-ulps: Update.
66751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66753 2012-03-01  Chris Demetriou  <cgd@google.com>
66755         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
66756         have predictable order.
66758 2012-03-01  David S. Miller  <davem@davemloft.net>
66760         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
66762         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
66763         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
66764         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
66765         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
66767         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
66768         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
66769         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
66770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
66771         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
66772         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
66773         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
66774         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
66775         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
66777         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66779         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
66780         * sysdeps/sparc/fpu/libm-test-ulps: to here.
66781         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
66783         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
66784         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66785         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
66786         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
66787         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
66788         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
66789         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
66790         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
66791         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
66792         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
66793         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
66794         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66795         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
66796         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
66797         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66798         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66799         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
66800         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
66801         * sysdeps/sparc/elf/configure: Regenerated.
66803 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
66805         * configure.in (AS, LD): Require binutils 2.20 or later.
66806         * configure: Regenerated.
66807         * manual/install.texi (Tools for Compilation): Give binutils 2.20
66808         as required minimum version.
66809         * INSTALL: Regenerated.
66811         [BZ #2541]
66812         [BZ #4108]
66813         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
66814         before squaring exponent.
66815         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
66816         bottom long double and 27 bits of top long double before squaring
66817         exponent.
66818         * math/libm-test.inc (erfc_test): Add more tests.
66819         * sysdeps/i386/fpu/libm-test-ulps: Update.
66820         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66823 2012-03-01  Kai Tietz  <ktietz@redhat.com>
66825         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
66826         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
66827         containing bit-fields.
66828         * soft-fp/extended.h (_FP_UNION_E): Likewise.
66829         * soft-fp/single.h (_FP_UNION_S): Likewise.
66830         * soft-fp/double.h (_FP_UNION_D): Likewise.
66832 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
66834         [BZ #13786]
66835         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
66836         not include ../strcmp.S.
66837         [USE_AS_STRNCASECMP_L]: Likewise.
66838         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
66839         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
66840         * sysdeps/i386/i686/multiarch/strncase_l-c.c
66841         (__strncasecmp_l_ia32): Define as alias to
66842         __strncasecmp_l_nonascii.
66844         [BZ #5794]
66845         * math/libm-test.inc (expm1_test): Add test for bug 5794.
66846         * sysdeps/i386/fpu/libm-test-ulps: Update.
66847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66849         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
66850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66852 2012-02-29  Jeff Law  <law@redhat.com>
66854         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
66855         out of bounds read.
66857 2012-02-29  Marek Polacek  <polacek@redhat.com>
66859         [BZ #13706]
66860         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
66861         * elf/Makefile: Add rules to run tst-unused-dep.out.
66863 2012-02-28  David S. Miller  <davem@davemloft.net>
66865         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
66866         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
66867         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
66868         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
66869         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
66870         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
66872 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
66874         * math/libm-test.inc (llround_test): Move one test from
66875         lround_test.  Use TEST_f_L in moved test.
66876         (lround_test): Move misplaced test to llround_test.  Add testcase
66877         from bug 2561.
66879 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
66881         * sysdeps/x86_64/fpu/e_expf.S: New file.
66882         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
66884 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
66886         [BZ #13637]
66887         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
66888         of remain_len that may cause incomplete multi-byte character and
66889         false match.
66890         * posix/bug-regex33.c: New file.
66891         * posix/Makefile (tests): Add bug-regex33.
66893 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
66895         * manual/macros.texi: New file.
66896         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
66897         * manual/libc.texinfo: Include macros.texi.
66898         * manual/creatute.texi: Likewise.
66899         * manual/install.texi: Likewise.
66900         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
66901         @glibcadj{} in references to the GNU C Library.
66902         * manual/charset.texi: Likewise.
66903         * manual/conf.texi: Likewise.
66904         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
66905         when not using those macros.
66906         * manual/creature.texi: Likewise.
66907         * manual/crypt.texi: Likewise.
66908         * manual/errno.texi: Likewise.
66909         * manual/filesys.texi: Likewise.
66910         * manual/header.texi: Likewise.
66911         * manual/install.texi: Likewise.
66912         * manual/intro.texi: Likewise.
66913         * manual/io.texi: Likewise.
66914         * manual/job.texi: Likewise.
66915         * manual/lang.texi: Likewise.
66916         * manual/libc.texiinfo: Likewise.
66917         * manual/llio.texi: Likewise.
66918         * manual/locale.texi: Likewise.
66919         * manual/maint.texi: Likewise.
66920         * manual/math.texi: Likewise.
66921         * manual/memory.texi: Likewise.
66922         * manual/message.texi: Likewise.
66923         * manual/nss.texi: Likewise.
66924         * manual/pattern.texi: Likewise.
66925         * manual/process.texi: Likewise.
66926         * manual/resource.texi: Likewise.
66927         * manual/search.texi: Likewise.
66928         * manual/setjmp.texi: Likewise.
66929         * manual/signal.texi: Likewise.
66930         * manual/socket.texi: Likewise.
66931         * manual/startup.texi: Likewise.
66932         * manual/stdio.texi: Likewise.
66933         * manual/string.texi: Likewise.
66934         * manual/sysinfo.texi: Likewise.
66935         * manual/syslog.texi: Likewise.
66936         * manual/terminal.texi: Likewise.
66937         * manual/time.texi: Likewise.
66938         * manual/users.texi: Likewise.
66939         * INSTALL: Regenerated.
66940         * NOTES: Regenerated.
66941         * sysdeps/gnu/errlist.c: Regenerated.
66943 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
66945         * include/dirent.h: Include <dirstream.h> before
66946         <dirent/dirent.h>.
66948 2012-02-28  David S. Miller  <davem@davemloft.net>
66950         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
66951         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
66952         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
66953         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
66955 2012-02-27  David S. Miller  <davem@davemloft.net>
66957         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
66958         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
66959         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
66960         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
66962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
66963         frame pointer instead of stack pointer relative arg slot.
66964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
66965         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
66966         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
66968 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
66970         [BZ #3992]
66971         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
66973 2012-02-27  David S. Miller  <davem@davemloft.net>
66975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
66976         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
66977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
66978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
66979         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
66980         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
66981         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
66982         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
66984 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
66986         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
66987         later.  Allow versions 5-9.
66988         * configure: Regenerated.
66989         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
66990         required minimum version and 4.6 as recommended version.  Do not
66991         mention bugs in GCC 2.7 and 2.8.
66992         * INSTALL: Regenerated.
66994 2012-02-27  David S. Miller  <davem@davemloft.net>
66996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
66997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
66998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
66999         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
67000         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
67001         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
67002         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
67003         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
67005         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
67006         manipulate bits before adding and subtracting TWO112[sx].
67007         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
67009 2012-02-27  Roland McGrath  <roland@hack.frob.com>
67011         [BZ #13775]
67012         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
67013         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
67014         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
67015         being in POSIX, because they are in 1003.1-2008.
67017         * rt/tst-aio.c: Include <fcntl.h>.
67018         * rt/tst-aio7.c: Likewise.
67019         * rt/tst-aio64.c: Likewise.
67021         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
67023 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
67025         * manual/install.texi (--with-headers): Describe headers as
67026         interface headers, not private headers.
67027         (Specific advice for GNU/Linux systems): Describe use of headers
67028         from "make headers_install", not private headers from older
67029         kernels.
67030         * INSTALL: Regenerated.
67031         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
67032         Change to 2.6.19.
67033         * sysdeps/unix/sysv/linux/configure: Regenerated.
67035         * manual/llio.texi (fclean): Remove documentation.
67037         * manual/Makefile (libc-texi-generated): New variable.  Include
67038         version.texi.
67039         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
67040         $(libc-texi-generated), not duplicated list of files.
67041         (version.texi, stamp-version): New rules.
67042         (realclean): Remove $(libc-texi-generated), not individual files
67043         from that list.  Do not remove dir-add.texinfo.
67044         * manual/libc.texinfo: Comment out uses of edition numbers and
67045         references to printed manual.  Remove last-updated dates.
67046         (EDITION): Comment out.
67047         (ISBN): Likewise.
67048         (VERSION, UPDATED): Remove.
67049         (version.texi): Include.
67051 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
67053         * sysdeps/posix/spawni.c: Include <signal.h>.
67054         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
67055         * sysdeps/pthread/aio_fsync.c: Likewise.
67057 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
67059         * conform/Makefile (tests): Run only when not cross-compiling and
67060         when fast-check is not defined.
67062         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
67063         * conform/data/limits.h-data: Fixes for POSIX2008.
67064         * conform/run-conformtest.sh: Run all tests.
67065         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
67066         headers.
67067         * include/bits/dlfcn.h: Likewise.
67068         * include/langinfo.h: Likewise.
67069         * include/monetary.h: Likewise.
67070         * include/sys/poll.h: Likewise.
67072         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
67073         for __USE_GNU.
67074         * posix/spawn.h: Define __need_sigset_t.
67075         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
67076         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
67077         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
67078         to get sigevent_t only.
67079         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
67080         only for __USE_GNU.
67081         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67082         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67083         process_vm_writev only for __USE_GNU.
67084         * termios/termios.h: Declare tcgetsid also for POSIX2008.
67086         * conform/Makefile: For now ignore errors from run-conformtest.
67087         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
67088         POSIX to avoid namespace pollution.  Don't prepend headers.
67089         * conform/data/aio.h-data: Fixes for POSIX testing.
67090         * conform/data/fcntl.h-data: Likewise.
67091         * conform/data/glob.h-data: Likewise.
67092         * conform/data/grp.h-data: Likewise.
67093         * conform/data/pthread.h-data: Likewise.
67094         * conform/data/pwd.h-data: Likewise.
67095         * conform/data/signal.h-data: Likewise.
67096         * conform/data/spawn.h-data: Likewise.
67097         * conform/data/stdio.h-data: Likewise.
67098         * conform/data/stdlib.h-data: Likewise.
67099         * conform/data/stropts.h-data: Likewise.
67100         * conform/data/sys/mman.h-data: Likewise.
67101         * conform/data/sys/stat.h-data: Likewise.
67102         * conform/data/sys/types.h-data: Likewise.
67103         * conform/data/sys/wait.h-data: Likewise.
67104         * conform/data/time.h-data: Likewise.
67105         * conform/data/unistd.h-data: Likewise.
67106         * conform/data/utime.h-data: Likewise.
67108         * io/sys/stat.h: fchmod was always in POSIX.
67109         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
67110         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
67111         * rt/aio.h: Define __need_timespec before including <time.h>.
67112         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
67113         struct.  Add forward declaration of pthread_attr_t and use it in
67114         sigevent.
67115         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67116         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67117         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
67118         always remove CLK_TCK definition.
67120 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
67122         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
67124 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
67126         * conform/run-conformtest.sh: New file.
67127         * conform/Makefile: Run run-conformtest for tests.
67128         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
67129         support.
67131         * conform/data/uchar.h-data: New file.
67132         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
67133         * conform/data/arpa/inet.h-data: Likewise.
67134         * conform/data/assert.h-data: Likewise.
67135         * conform/data/complex.h-data: Likewise.
67136         * conform/data/cpio.h-data: Likewise.
67137         * conform/data/ctype.h-data: Likewise.
67138         * conform/data/dirent.h-data: Likewise.
67139         * conform/data/dlfcn.h-data: Likewise.
67140         * conform/data/errno.h-data: Likewise.
67141         * conform/data/fcntl.h-data: Likewise.
67142         * conform/data/float.h-data: Likewise.
67143         * conform/data/fmtmsg.h-data: Likewise.
67144         * conform/data/fnmatch.h-data: Likewise.
67145         * conform/data/ftw.h-data: Likewise.
67146         * conform/data/glob.h-data: Likewise.
67147         * conform/data/grp.h-data: Likewise.
67148         * conform/data/iconv.h-data: Likewise.
67149         * conform/data/inttypes.h-data: Likewise.
67150         * conform/data/langinfo.h-data: Likewise.
67151         * conform/data/libgen.h-data: Likewise.
67152         * conform/data/limits.h-data: Likewise.
67153         * conform/data/locale.h-data: Likewise.
67154         * conform/data/math.h-data: Likewise.
67155         * conform/data/monetary.h-data: Likewise.
67156         * conform/data/mqueue.h-data: Likewise.
67157         * conform/data/ndbm.h-data: Likewise.
67158         * conform/data/net/if.h-data: Likewise.
67159         * conform/data/netdb.h-data: Likewise.
67160         * conform/data/netinet/in.h-data: Likewise.
67161         * conform/data/nl_types.h-data: Likewise.
67162         * conform/data/poll.h-data: Likewise.
67163         * conform/data/pthread.h-data: Likewise.
67164         * conform/data/pwd.h-data: Likewise.
67165         * conform/data/regex.h-data: Likewise.
67166         * conform/data/sched.h-data: Likewise.
67167         * conform/data/search.h-data: Likewise.
67168         * conform/data/semaphore.h-data: Likewise.
67169         * conform/data/setjmp.h-data: Likewise.
67170         * conform/data/signal.h-data: Likewise.
67171         * conform/data/spawn.h-data: Likewise.
67172         * conform/data/stdarg.h-data: Likewise.
67173         * conform/data/stdio.h-data: Likewise.
67174         * conform/data/stdlib.h-data: Likewise.
67175         * conform/data/string.h-data: Likewise.
67176         * conform/data/strings.h-data: Likewise.
67177         * conform/data/stropts.h-data: Likewise.
67178         * conform/data/sys/ipc.h-data: Likewise.
67179         * conform/data/sys/mman.h-data: Likewise.
67180         * conform/data/sys/msg.h-data: Likewise.
67181         * conform/data/sys/resource.h-data: Likewise.
67182         * conform/data/sys/select.h-data: Likewise.
67183         * conform/data/sys/sem.h-data: Likewise.
67184         * conform/data/sys/shm.h-data: Likewise.
67185         * conform/data/sys/socket.h-data: Likewise.
67186         * conform/data/sys/stat.h-data: Likewise.
67187         * conform/data/sys/statvfs.h-data: Likewise.
67188         * conform/data/sys/time.h-data: Likewise.
67189         * conform/data/sys/timeb.h-data: Likewise.
67190         * conform/data/sys/times.h-data: Likewise.
67191         * conform/data/sys/types.h-data: Likewise.
67192         * conform/data/sys/uio.h-data: Likewise.
67193         * conform/data/sys/un.h-data: Likewise.
67194         * conform/data/sys/utsname.h-data: Likewise.
67195         * conform/data/sys/wait.h-data: Likewise.
67196         * conform/data/syslog.h-data: Likewise.
67197         * conform/data/tar.h-data: Likewise.
67198         * conform/data/termios.h-data: Likewise.
67199         * conform/data/utime.h-data: Likewise.
67200         * conform/data/utmpx.h-data: Likewise.
67201         * conform/data/varargs.h-data: Likewise.
67202         * conform/data/wchar.h-data: Likewise.
67203         * conform/data/wctype.h-data: Likewise.
67204         * conform/data/wordexp.h-data: Likewise.
67206         * include/stropts.h: New file.
67207         * include/uchar.h: New file.
67208         * include/aio.h: Changes to allow conformtest.pl to use the headers.
67209         * include/assert.h: Likewise.
67210         * include/ctype.h: Likewise.
67211         * include/dirent.h: Likewise.
67212         * include/dlfcn.h: Likewise.
67213         * include/fcntl.h: Likewise.
67214         * include/fnmatch.h: Likewise.
67215         * include/glob.h: Likewise.
67216         * include/grp.h: Likewise.
67217         * include/libio.h: Likewise.
67218         * include/locale.h: Likewise.
67219         * include/math.h: Likewise.
67220         * include/net/if.h: Likewise.
67221         * include/netdb.h: Likewise.
67222         * include/netinet/in.h: Likewise.
67223         * include/pthread.h: Likewise.
67224         * include/pwd.h: Likewise.
67225         * include/regex.h: Likewise.
67226         * include/sched.h: Likewise.
67227         * include/search.h: Likewise.
67228         * include/setjmp.h: Likewise.
67229         * include/signal.h: Likewise.
67230         * include/stdio.h: Likewise.
67231         * include/stdlib.h: Likewise.
67232         * include/string.h: Likewise.
67233         * include/sys/cdefs.h: Likewise.
67234         * include/sys/mman.h: Likewise.
67235         * include/sys/msg.h: Likewise.
67236         * include/sys/resource.h: Likewise.
67237         * include/sys/select.h: Likewise.
67238         * include/sys/socket.h: Likewise.
67239         * include/sys/stat.h: Likewise.
67240         * include/sys/statvfs.h: Likewise.
67241         * include/sys/time.h: Likewise.
67242         * include/sys/times.h: Likewise.
67243         * include/sys/uio.h: Likewise.
67244         * include/sys/utsname.h: Likewise.
67245         * include/sys/wait.h: Likewise.
67246         * include/termios.h: Likewise.
67247         * include/time.h: Likewise.
67248         * include/ulimit.h: Likewise.
67249         * include/unistd.h: Likewise.
67250         * include/utime.h: Likewise.
67251         * include/wchar.h: Likewise.
67252         * include/wctype.h: Likewise.
67253         * include/wordexp.h: Likewise.
67255         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
67257         * time/time.h: TIME_UTC must be a macro.
67258         Make timespec_get available for ISO C11 only as well.
67260 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
67262         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
67263         Reported by Peng Haitao <penght@cn.fujitsu.com>.
67265 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67267         * configure.in: Use -o not -a in test for unsupported multi-arch.
67269 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67271         * manual/texinfo.tex: Update to version 2012-01-19.16.
67273 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67275         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
67277 2012-02-24  Roland McGrath  <roland@hack.frob.com>
67279         [BZ #13738]
67280         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
67281         * manual/fdl-1.3.texi: New file.
67282         * manual/fdl-1.1.texi: File removed.
67284         [BZ #13738]
67285         * manual/libc.texinfo (FDL_VERSION): New @set.
67286         Use it for mention of FDL in cover text.
67287         (Documentation License): Use it in @include file name.
67289 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67290             Roland McGrath  <roland@hack.frob.com>
67292         [BZ #5461]
67293         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
67294         (not LONG_LONG_MAX and LONG_LONG_MIN.
67295         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
67296         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
67297         name.
67298         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
67300 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67302         [BZ #2547]
67303         [BZ #11365]
67304         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
67305         manipulate bits before adding and subtracting TWO23[sx].
67306         * math/libm-test.inc (nearbyint_test): Add more tests.
67308 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67310         [BZ #2548]
67311         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
67312         bits before adding and subtracting TWO23[sx].
67313         * math/libm-test.inc (rint_test): Add more tests.
67314         (rint_test_tonearest): Likewise.
67315         (rint_test_towardzero): Likewise.
67316         (rint_test_downward): Likewise.
67317         (rint_test_upward: Likewise.
67319 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67321         [BZ #10110]
67322         * include/stdc-predef.h: New file.  Extracted from features.h.
67323         * include/features.h: Include stdc-predef.h.
67324         * Makefile (headers): Add stdc-predef.h.
67325         * CONFORMANCE (Compiler limitations): Update.
67327 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67329         * manual/libc.texinfo (VERSION, UPDATED): Revert.
67331 2012-02-21  David S. Miller  <davem@davemloft.net>
67333         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
67334         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
67336 2012-02-20  David S. Miller  <davem@davemloft.net>
67338         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
67339         using a normal save/restore sequence, rather than allocating a
67340         dummy stack frame just to store a frame pointer and restore.
67341         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67343 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67345         * manual/install.texi: Fix stray word in line-wrapped comment.
67347 2012-02-20  David S. Miller  <davem@davemloft.net>
67349         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
67350         both binutils and gcc support GOTDATA.
67352         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
67353         "rd %pc" in the PIC register setup sequences.
67355         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
67356         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
67357         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
67358         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
67359         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
67360         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
67361         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67362         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67363         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
67364         (SYSCALL_ERROR_HANDLER): Likewise.
67365         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
67366         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
67367         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
67368         (SYSCALL_ERROR_HANDLER): Likewise.
67370         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
67371         (HAVE_GCC_GOTDATA): New.
67372         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
67373         relocation support in both binutils and gcc.
67374         * sysdeps/sparc/elf/configure: Regenerate.
67376         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
67377         * sysdeps/sparc/sparc32/elf/configure: Delete.
67378         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
67379         * sysdeps/sparc/sparc64/elf/configure: Delete.
67380         * sysdeps/sparc/elf/configure.in: New file.
67381         * sysdeps/sparc/elf/configure: Generate.
67383         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
67384         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
67385         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67386         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
67387         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
67389 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67391         * manual/install.texi: Do not mention specific glibc version
67392         numbers.
67393         * manual/libc.texinfo (VERSION, UPDATED): Update.
67394         (@copying): Use @copyright{} and range of years.
67396 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67398         [BZ #13695]
67399         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
67400         [crti.S not in sysdirs] (generated): Do not append.
67401         [crti.S not in sysdirs] (omit-deps): Likewise.
67402         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
67403         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
67404         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
67405         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
67406         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
67407         Likewise.
67408         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
67409         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
67410         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
67411         * csu/defs.awk: Remove file.
67412         * sysdeps/generic/initfini.c: Likewise.
67413         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
67414         variable.
67415         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
67416         Likewise.
67418 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67420         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
67421         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
67422         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
67423         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
67424         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
67425         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
67426         <bits/epoll.h>.
67427         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
67428         (__EPOLL_PACKED): Define to empty if not defined by
67429         <bits/epoll.h>.
67430         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
67431         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67432         bits/epoll.h.
67434 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67436         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
67437         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
67438         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
67439         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
67440         <bits/timerfd.h>.
67441         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
67442         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67443         bits/timerfd.h.
67445 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67447         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
67448         in C locale.
67449         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67450         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
67451         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
67452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67454 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
67456         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67457         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
67459 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
67461         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
67462         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
67463         defined.
67464         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
67465         Likewise.
67466         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
67467         entry for 2.16.
67469 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
67471         * math/w_acos.c: Use non-signaling floating-point comparisons.
67472         * math/w_acosf.c: Likewise.
67473         * math/w_acosh.c: Likewise.
67474         * math/w_acoshf.c: Likewise.
67475         * math/w_acoshl.c: Likewise.
67476         * math/w_acosl.c: Likewise.
67477         * math/w_asin.c: Likewise.
67478         * math/w_asinf.c: Likewise.
67479         * math/w_asinl.c: Likewise.
67480         * math/w_atanh.c: Likewise.
67481         * math/w_atanhf.c: Likewise.
67482         * math/w_atanhl.c: Likewise.
67483         * math/w_exp2.c: Likewise.
67484         * math/w_exp2f.c: Likewise.
67485         * math/w_exp2l.c: Likewise.
67486         * math/w_j0.c: Likewise.
67487         * math/w_j0f.c: Likewise.
67488         * math/w_j0l.c: Likewise.
67489         * math/w_j1.c: Likewise.
67490         * math/w_j1f.c: Likewise.
67491         * math/w_j1l.c: Likewise.
67492         * math/w_jn.c: Likewise.
67493         * math/w_jnf.c: Likewise.
67494         * math/w_log.c: Likewise.
67495         * math/w_log10.c: Likewise.
67496         * math/w_log10f.c: Likewise.
67497         * math/w_log10l.c: Likewise.
67498         * math/w_log2.c: Likewise.
67499         * math/w_log2f.c: Likewise.
67500         * math/w_log2l.c: Likewise.
67501         * math/w_logf.c: Likewise.
67502         * math/w_logl.c: Likewise.
67503         * math/w_sqrt.c: Likewise.
67504         * math/w_sqrtf.c: Likewise.
67505         * math/w_sqrtl.c: Likewise.
67506         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67507         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
67508         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67509         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
67510         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
67512 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67514         [BZ #9739]
67515         * manual/string.texi (strnlen): Use correct parameter name in
67516         equivalent expression.
67518 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67520         [BZ #11174]
67521         * manual/users.texi (seteuid): Consistently use neweuid for
67522         argument name.
67524 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67526         [BZ #13704]
67527         * manual/nss.texi (Services in the NSS configuration): Correct
67528         list of services in example configuration file.
67530 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
67532         [BZ #11322]
67533         * manual/arith.texi: Remove statements about negative zero
67534         behaving identically to zero.
67536 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
67538         [BZ #5993]
67539         * manual/install.texi: Do not document upgrading from libc5.
67541 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
67543         [BZ #4596]
67544         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
67546 2012-02-18  David S. Miller  <davem@davemloft.net>
67548         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
67549         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
67550         %o7 across the call.
67551         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
67552         instead.
67553         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
67554         SETUP_PIC_REG_LEAF.
67555         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67556         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
67557         * sysdeps/sparc/crtn.S: Likewise.
67559 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
67561         * aout/Makefile: Remove.
67563 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
67565         [BZ #13058]
67566         * manual/examples/argp-ex1.c (main): Format definition in GNU
67567         style.
67568         * manual/examples/argp-ex2.c (main): Likewise.
67569         * manual/examples/argp-ex3.c (main): Likewise.
67570         * manual/examples/argp-ex4.c (main): Likewise.
67571         * manual/examples/longopt.c (main): Use new-style prototype
67572         definition.
67573         * manual/examples/strncat.c (main): Specify return type and use
67574         (void) for arguments.
67575         * manual/examples/subopt.c (main): Use char **argv argument.
67577 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67579         [BZ #5077]
67580         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
67581         rounding modes.
67583 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
67585         [BZ #6907]
67586         * manual/string.texi (strchr): Change when strchrnul is
67587         recommended.
67589 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
67591         [BZ #174]
67592         * manual/locale.texi (setlocale): Document LOCPATH.
67594 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67596         [BZ #10210]
67597         * manual/process.texi (execle): Move @dots{} before last argument.
67599 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
67601         [BZ #12047]
67602         * manual/charset.texi (Generic Charset Conversion): Fix typo
67603         (LC_TYPE -> LC_CTYPE).
67605 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
67607         [BZ #5805]
67608         * manual/arith.texi (scalbn): Use @var{} on parameter names.
67609         (scalbnf): Likewise.
67610         (scalbnl): Likewise.
67611         (scalbln): Likewise.
67612         (scalblnf): Likewise.
67613         (scalblnl): Likewise.
67614         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
67615         (vwarnx): Likewise.
67616         (verr): Likewise.
67617         (verrx): Likewise.
67618         * manual/filesys.texi (telldir): Use braces around return type.
67619         * manual/llio.texi (mmap): Add space after comma.
67620         (mmap64): Likewise.
67621         * manual/math.texi (jn): Use @var{} on parameter names.
67622         (jnf): Likewise.
67623         (jnl): Likewise.
67624         (yn): Likewise.
67625         (ynf): Likewise.
67626         (ynl): Likewise.
67627         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
67628         line.
67629         * manual/resource.texi (ulimit): Use @dots{} instead of literal
67630         "...".
67631         (sched_get_priority_min): Remove semicolon on @deftypefun line.
67632         (sched_get_priority_max): Likewise.
67633         * manual/signal.texi (sigvec): Add space after comma.
67634         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
67635         names.
67636         (if_indextoname): Likewise.
67637         (if_freenameindex): Likewise.
67638         (sendto): Use ',' instead of '.' in prototype.
67639         * manual/startup.texi (syscall): Use @dots{} instead of literal
67640         "...".
67641         * manual/stdio.texi (__fpending): Separate initial words of
67642         paragraph from @deftypefun line.
67643         * manual/syslog.texi (syslog): Use @dots{} instead of literal
67644         "...".
67645         (vsyslog): Use @var{} on parameter names.
67646         * manual/terminal.texi (stty): Use @var{} on parameter names.
67647         * manual/users.texi (getutmp): Use @var{} on parameter names.
67648         (getutmpx): Likewise.
67650 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67652         [BZ #6884]
67653         * manual/stdio.texi (fopen): Fix typos in description of
67654         ",ccs=STRING".
67656 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
67658         [BZ #4026]
67659         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
67660         get clock_id definition.
67662 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
67664         [BZ #4822]
67665         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
67666         (madvise): Cast every argument to void on its own.
67668 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67670         [BZ #9902]
67671         * manual/startup.texi (Exit Status): Fix typo.
67673 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67675         [BZ #10140]
67676         * manual/examples/argp-ex1.c: Include <stdlib.h>.
67677         * manual/examples/argp-ex2.c: Likewise.
67678         * manual/examples/argp-ex3.c: Likewise.
67680 2012-02-16  Richard Henderson  <rth@redhat.com>
67682         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
67683         * sysdeps/s390/s390-32/initfini.c: Remove.
67684         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
67685         * sysdeps/s390/s390-64/initfini.c: Remove.
67687 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67689         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
67690         compiler output for sysdeps/generic/initfini.c.
67691         * sysdeps/sh/elf/initfini.c: Remove file.
67693 2012-02-16  David S. Miller  <davem@davemloft.net>
67695         [BZ #11494]
67696         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
67698         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
67699         * sysdeps/sparc/crti.S: New file.
67700         * sysdeps/sparc/crtn.S: New file.
67701         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
67702         * sysdeps/sparc/sparc64/Makefile: Likewise.
67704 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
67706         [BZ #3335]
67707         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
67709 2012-02-15  Roland McGrath  <roland@hack.frob.com>
67711         [BZ #4822]
67712         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
67714         * mach/devstream.c (cookie_io_functions_t): Macro removed.
67715         (write, read, close): Likewise.
67716         Patch by Aurelien Jarno <aurelien@aurel32.net>.
67718 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
67720         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
67721         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
67722         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
67723         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
67724         <bits/signalfd.h>.
67725         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
67726         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67727         bits/signalfd.h.
67729 2012-02-14  Marek Polacek  <polacek@redhat.com>
67731         * sysdeps/x86_64/crti.S: New file.
67732         * sysdeps/x86_64/crtn.S: New file.
67733         * sysdeps/x86_64/elf/initfini.c: Remove file.
67735 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67737         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
67738         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
67739         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
67740         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
67741         <bits/inotify.h>.
67742         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
67743         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67744         bits/inotify.h.
67746 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67748         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
67749         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
67750         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
67751         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
67752         <bits/eventfd.h>.
67753         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
67754         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67755         bits/eventfd.h.
67757 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
67759         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
67760         __feraiseexcept instead of feraiseexcept.
67762         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
67763         nanosleep invocations.
67764         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
67765         strings, and add error checking for a nanosleep invocations.
67767 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
67769         Replace FSF snail mail address with URLs, as per GNU coding standards.
67770         Most of the snail mail addresses were wrong anyway, and omitting
67771         them makes the source code easier to maintain.  Almost all of the
67772         changes are to license notices and to locale LC_IDENTIFICATION
67773         addresses, except for this one:
67774         * manual/libc.texinfo: In "Published by", give the FSF's URL,
67775         not its snail mail address.
67777 2012-02-09  Richard Henderson  <rth@twiddle.net>
67779         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
67780         of kernel-features.h.
67782         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
67784 2012-02-08  Marek Polacek  <polacek@redhat.com>
67786         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
67787         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
67788         * sysdeps/gnu/_G_config.h: Likewise.
67789         * sysdeps/generic/_G_config.h: Likewise.
67791 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
67793         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
67794         tests.
67795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67797         * sysdeps/powerpc/powerpc32/crti.S: New file.
67798         * sysdeps/powerpc/powerpc32/crtn.S: New file.
67799         * sysdeps/powerpc/powerpc64/crti.S: New file.
67800         * sysdeps/powerpc/powerpc64/crtn.S: New file.
67802         * Makeconfig (have-initfini): Don't set.
67803         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
67804         * configure.in (nopic_initfini): Don't substitute.
67805         * config.h.in (HAVE_INITFINI): Don't #undef.
67806         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
67807         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
67809 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
67811         Support crti.S and crtn.S provided directly by architectures.
67812         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
67813         [crti.S in sysdirs] (omit-deps): Likewise.
67814         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
67815         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
67816         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
67817         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
67818         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
67819         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
67820         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
67821         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
67822         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
67823         compiler output for sysdeps/generic/initfini.c.
67824         * sysdeps/i386/elf/Makefile: Remove file.
67825         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
67827 2012-02-07  Marek Polacek  <polacek@redhat.com>
67829         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
67830         * sysdeps/gnu/_G_config.h: Likewise.
67831         * sysdeps/mach/hurd/_G_config.h: Likewise.
67833 2012-02-07  Marek Polacek  <polacek@redhat.com>
67835         * math/Makefile (tests): Add tst-CMPLX2.
67836         * math/tst-CMPLX2.c: New file.
67838 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
67840         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67842         * math/libm-test.inc (jn_test): Add missing L suffix.
67844 2012-02-06  Marek Polacek  <polacek@redhat.com>
67846         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
67847         * sysdeps/i386/fpu/e_powf.S: Likewise.
67848         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67849         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67850         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67851         * sysdeps/i386/fpu/e_pow.S: Likewise.
67852         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67853         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67854         * sysdeps/i386/fpu/s_expm1.S: Likewise.
67855         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67856         * sysdeps/i386/fpu/e_log2.S: Likewise.
67857         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67858         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67859         * sysdeps/i386/fpu/e_powl.S: Likewise.
67860         * sysdeps/i386/fpu/s_log1p.S: Likewise.
67861         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67862         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
67863         * sysdeps/i386/fpu/e_logl.S: Likewise.
67864         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
67865         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
67866         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
67867         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
67868         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67869         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67870         * sysdeps/i386/fpu/e_log.S: Likewise.
67871         * sysdeps/i386/fpu/s_cexp.S: Likewise.
67872         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67873         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
67874         * sysdeps/i386/fpu/e_logf.S: Likewise.
67875         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67876         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67877         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
67878         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
67879         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67880         * sysdeps/i386/fpu/e_log10.S: Likewise.
67881         * sysdeps/i386/fpu/s_frexp.S: Likewise.
67882         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67883         * sysdeps/i386/fpu/s_asinh.S: Likewise.
67884         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
67885         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67886         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
67887         * sysdeps/i386/asm-syntax.h: Likewise.
67888         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67889         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67890         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67891         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
67892         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
67893         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67894         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
67895         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
67896         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67897         * sysdeps/powerpc/sysdep.h: Likewise.
67898         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
67899         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
67901 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
67903         [BZ #411]
67904         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
67906 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
67908         * sysdeps/i386/sysdep.h: Include <features.h>.
67909         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
67910         version.
67912 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
67914         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
67915         Define.
67916         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
67917         LOAD_PIC_REG_STR.
67919 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67921         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
67922         (SETUP_PIC_REG): Use GET_PC_THUNK.
67923         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
67924         macro.
67926 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67928         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
67929         for non-PIC compilation.
67930         (SETUP_PIC_REG): Add .p2align directive.
67931         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
67932         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
67933         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
67934         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
67935         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
67936         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
67937         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
67938         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
67939         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
67940         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
67941         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
67942         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
67943         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
67944         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
67945         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
67946         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
67947         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
67948         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
67949         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
67950         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
67951         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
67952         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
67953         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
67954         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
67955         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
67956         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
67957         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67958         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
67959         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
67960         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
67961         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
67962         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67963         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
67964         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
67965         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
67966         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
67967         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
67968         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
67969         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
67970         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
67971         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
67973 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67975         * math/tst-CMPLX.c: Include <stdio.h>.
67977 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
67979         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
67980         float.
67981         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
67982         * sysdeps/sparc/bits/mathdef.h: Likewise.
67984 2012-01-31  Marek Polacek  <polacek@redhat.com>
67986         * libio/libio.h: Don't define _PARAMS.
67987         * locale/programs/config.h: Don't define PARAMS.
67988         * stdlib/strtol_l.c: Likewise.
67989         (__strtol_l): Remove PARAMS from the prototype.
67991 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
67993         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
67994         names.  Just use the correct names.  Remove unnecessary wrapper
67995         functions.
67996         * malloc/arena.c: Likewise.
67997         * malloc/hooks.c: Likewise.
67999         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
68000         ARENA_TEST says not to.  Simplify test for creation of a new arena.
68001         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
68003 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
68005         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
68006         into tail calls.
68007         (update_get_addr): New function.
68008         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
68009         GET_ADDR_MODULE parameter.
68011 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
68013         * crypt/cert.c: Remove __STDC__ conditionals.
68014         * crypt/crypt-entry.c: Likewise.
68015         * crypt/crypt_util.c: Likewise.
68016         * libio/filedoalloc.c: Likewise.
68017         * libio/fileops.c: Likewise.
68018         * libio/genops.c: Likewise.
68019         * libio/iofclose.c: Likewise.
68020         * libio/iofdopen.c: Likewise.
68021         * libio/iofopen.c: Likewise.
68022         * libio/iofopen64.c: Likewise.
68023         * libio/iogetdelim.c: Likewise.
68024         * libio/iopopen.c: Likewise.
68025         * libio/obprintf.c: Likewise.
68026         * libio/oldfileops.c: Likewise.
68027         * libio/oldiofclose.c: Likewise.
68028         * libio/oldiofdopen.c: Likewise.
68029         * libio/oldiofopen.c: Likewise.
68030         * libio/oldiopopen.c: Likewise.
68031         * libio/wfiledoalloc.c: Likewise.
68032         * libio/wgenops.c: Likewise.
68033         * locale/programs/xmalloc.c: Likewise.
68034         * misc/syslog.c: Likewise.
68035         * stdio-common/xbug.c: Likewise.
68036         * string/memchr.c: Likewise.
68037         * string/memcmp.c: Likewise.
68038         * string/memrchr.c: Likewise.
68039         * string/rawmemchr.c: Likewise.
68040         * sysdeps/posix/getcwd.c: Likewise.
68041         * time/strftime_l.c: Likewise.
68043 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
68045         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
68046         * config.make.in (config-cflags-sse2avx): Define.
68047         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
68048         Fix typo.
68050 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
68052         * scripts/config.guess: Update from upstream config git repository.
68053         * scripts/config.sub: Likewise.
68055 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
68057         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
68058         (EM_NUM): Update.
68059         (R_TILEPRO_*, R_TILEGX_*): New macros.
68061         * scripts/firstversions.awk: Fix bug in version range handling.
68063         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
68065         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
68067         * include/sys/epoll.h: New file.
68068         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
68069         libc_hidden_def.
68071 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
68073         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
68074         Avoid unnecessary __WORDSIZE == 64 test.
68075         (fmaxf): Use VEX format if possible.
68076         (fmax): Likewise.
68077         (fminf): Likewise.
68078         (fmin): Likewise.
68080         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
68081         * math/math_private.h: Remove libc_fegetround* and
68082         libc_fesetround*.
68083         * sysdeps/i386/configure.in: Check for -msse2avx.
68084         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
68085         also if SSE2AVX is defined.
68086         Remove libc_fegetround* and libc_fesetround*.
68087         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
68088         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
68089         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
68090         of HAS_YMM_USABLE.
68091         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68092         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68093         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68094         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68095         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68097         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
68099 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68101         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
68102         size is not set.
68103         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
68105 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
68107         [BZ #13618]
68108         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
68109         relocation.
68110         * Makeconfig (libm): Define.
68111         * elf/Makefile: Add rules to build and run tst-relsort1.
68112         * elf/tst-relsort1.c: New file.
68113         * elf/tst-relsort1mod1.c: New file.
68114         * elf/tst-relsort1mod2.c: New file.
68116 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
68118         * math/s_ldexp.c: Remove __STDC__ conditionals.
68119         * math/s_ldexpf.c: Likewise.
68120         * math/s_ldexpl.c: Likewise.
68121         * math/s_nextafter.c: Likewise.
68122         * math/s_nexttowardf.c: Likewise.
68123         * math/s_significand.c: Likewise.
68124         * math/s_significandf.c: Likewise.
68125         * math/s_significandl.c: Likewise.
68126         * math/w_jnl.c: Likewise.
68127         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68128         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68129         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68130         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68131         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68132         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68133         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
68134         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68135         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68136         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68137         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68138         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68139         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68140         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68141         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68142         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68143         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68144         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68145         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68146         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68147         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68148         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68149         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68150         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68151         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68152         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68153         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68154         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68155         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68156         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68157         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68158         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68159         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68160         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68161         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68162         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68163         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68164         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68165         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68166         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68167         * sysdeps/ieee754/k_standard.c: Likewise.
68168         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68169         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68170         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68171         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68172         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68173         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68174         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68175         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68176         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68177         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68178         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68179         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68180         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68181         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68182         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68183         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68184         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68185         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68186         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68187         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68188         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68189         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68190         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68191         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68192         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68193         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68194         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68195         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68196         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68197         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68198         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68199         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
68200         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68201         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68202         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68203         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68204         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
68205         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68206         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68207         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
68208         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
68209         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68210         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
68211         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
68212         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68213         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
68214         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
68215         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68216         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68217         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
68218         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
68219         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68220         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68221         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68222         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68223         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68224         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
68225         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68226         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68227         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68228         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68229         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68230         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68231         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68232         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68233         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68234         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68235         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68236         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68237         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68238         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68239         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68240         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68241         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68242         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68243         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68244         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68245         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68246         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68247         * sysdeps/ieee754/s_matherr.c: Likewise.
68248         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68249         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68250         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68251         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68253 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68255         * crypt/md5.h: Remove __STDC__ conditionals.
68256         * libio/libioP.h: Likewise.
68257         * locale/programs/config.h: Likewise.
68258         * sysdeps/generic/sysdep.h: Likewise.
68259         * sysdeps/i386/asm-syntax.h: Likewise.
68260         * sysdeps/s390/asm-syntax.h: Likewise.
68261         * sysdeps/unix/sysdep.h: Likewise.
68262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
68263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68265 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68267         * libio/libio.h: Remove __STDC__ conditionals.
68268         * malloc/obstack.h: Likewise.
68269         * math/complex.h: Likewise.
68270         * math/math.h: Likewise.
68271         * sysdeps/generic/_G_config.h: Likewise.
68272         * sysdeps/gnu/_G_config.h: Likewise.
68273         * sysdeps/mach/hurd/_G_config.h: Likewise.
68274         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68275         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
68276         * sysdeps/sparc/bits/mathdef.h: Likewise.
68278 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
68280         [BZ #13583]
68281         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
68282         Clean up HAS_* macros.
68283         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
68284         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
68285         possible.
68286         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
68287         HAS_AVX.
68288         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68289         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68290         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68291         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68292         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68294 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
68296         * elf/tst-unique3.cc (gets): Remove declaration.
68297         * elf/tst-unique3lib.cc (gets): Likewise.
68298         * elf/tst-unique3lib2.cc (gets): Likewise.
68299         * elf/tst-unique4.cc (gets): Likewise.
68301 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
68303         * include/stdio.h: Add C++ protection.  Add gets declarations and
68304         definitions.
68305         * debug/tst-chk1.c: Don't declare gets here.
68306         * stdio-common/tst-gets.c: Likewise.
68308 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
68310         * posix/glob: Remove directory.
68312 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
68314         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
68316 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
68318         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
68319         of the non-standard EPFNOSUPPORT.
68321 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68323         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
68324         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
68325         ANYWHERE set to 1 only on KERN_NO_SPACE error.
68327 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
68329         * wcsmbs/uchar.h: Test __STDC_VERSION__.
68331 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
68333         * nscd/aicache.c (addhstaiX): Do not cache negative results of
68334         transient errors.
68335         * nscd/grpcache.c (cache_addgr): Likewise.
68336         * nscd/hstcache.c (cache_addhst): Likewise.
68337         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68338         * nscd/pwdcache.c (cache_addpw): Likewise.
68339         * nscd/servicescache.c (cache_addserv): Likewise.
68341 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
68343         * malloc/malloc.c: Various cleanups.
68344         * malloc/hooks.c: Likewise.
68346         * stdlib/Makefile (tests): Add bug-fmtmsg1.
68347         * stdlib/bug-fmtmsg1.c: New file.
68349         * stdlib/fmtmsg.c (init): Add missing unlock.
68350         Patch by Peng Haitao <penght@cn.fujitsu.com>.
68352 2012-01-12  Marek Polacek  <polacek@redhat.com>
68354         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
68355         and _GNU_SOURCE.
68357 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
68359         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
68360         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
68361         macro to ensure uniqueness of label name.
68362         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
68363         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
68365 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
68367         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
68369         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
68370         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68371         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68372         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
68374 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
68376         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
68378         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
68379         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68380         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68382         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
68384         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
68385         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68386         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68387         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
68389         * math/bits/math-finite.h: Add ldexp support.
68391 2012-01-10  Marek Polacek  <polacek@redhat.com>
68393         * locale/programs/localedef.h (show_archive_content): Add noreturn
68394         attribute.
68396 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
68398         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
68400 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68402         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
68404         * io/Makefile (headers): Add bits/poll2.h.
68406 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
68408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
68409         typo #include statement.
68411 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68413         * include/sys/cdefs.h: Define __attribute_alloc_size.
68414         * catgets/gencat.c: Add alloc_size attribute and apply consistently
68415         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
68416         * elf/pldd.c: Likewise.
68417         * iconv/iconv_charmap.c: Likewise.
68418         * iconv/iconvconfig.c: Likewise.
68419         * iconv/strtab.c: Likewise.
68420         * locale/programs/locale.c: Likewise.
68421         * locale/programs/localedef.h: Likewise.
68422         * locale/programs/simple-hash.c: Likewise.
68423         * nscd/nscd.h: Likewise.
68424         * nss/makedb.c: Likewise.
68425         * sysdeps/generic/ldconfig.h: Likewise.
68426         * locale/programs/localedef.c: Remove xmalloc prototype.
68427         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
68429 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68431         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
68432         appropriate.
68434 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68436         * math/Makefile (tests): Add tst-CMPLX.
68437         * math/tst-CMPLX.c: New file.
68439         * math/complex.h (CMPLXL): Fix typo.
68441         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
68442         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
68443         GLIBC_2.16.
68444         * debug/tst-chk1.c: Add poll and ppoll tests.
68445         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
68446         * include/sys/poll.h: Add hidden proto for ppoll.
68447         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
68448         * sysdeps/mach/hurd/ppoll.c: Likewise.
68449         * io/ppoll.c: Likewise.
68450         * debug/poll_chk.c: New file.
68451         * debug/ppoll_chk.c: New file.
68452         * include/bits/poll2.h: New file.
68453         * io/bits/poll2.h: New file.
68455         [BZ #1350]
68456         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
68458         * configure.in: static is always set to yes.  Remove.
68459         * config.make.in: Don't set build-static.
68460         * Makeconfig: Remove use of build-static.
68461         * dlfcn/Makefile: Likewise.
68462         * elf/Makefile: Likewise.
68463         * math/Makefile: Likewise.
68464         * misc/Makefile: Likewise.
68465         * nptl/Makefile: Likewise.
68466         * sysdeps/mach/hurd/Makefile: Likewise.
68468         * configure.in: PWD_P is not used anymore.
68469         * config.make.in: Remove PWD_P entry.
68471         * configure.in: Remove last remnants of RANLIB.
68472         No need to check for signed size_t anymore.
68473         Don't set libc_commonpagesize and libc_relro_required here for Alpha
68474         and IA-64.
68475         Remove __builtin_expect test because we require at least gcc 3.4.
68476         * aclocal.m4: Likewise.
68478         * wcsmbs/mbrtoc16.c: Implement using towc function.
68479         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
68480         * wcsmbs/wcsmbsload.c: Likewise.
68481         * iconv/gconv_simple.c: Likewise.
68482         * iconv/gconv_int.h: Likewise.
68483         * iconv/gconv_builtin.h: Likewise.
68484         * iconv/iconv_prog.c: Remove CHAR16 handling.
68486         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
68488         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
68490         * configure.in: Remove --with-elf and --enable-bounded options.
68491         Dont set base_machine for ia64.  More non-ELF conditions removed.
68492         Remove testing and setting of leading underscore information.
68493         * config.make.in (build-bounded): Set to no.
68494         * config.h.in: Remove NO_UNDERSCORES entry.
68495         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
68496         them.
68497         * csu/start.c: Remove !NO_UNDERSCORE code.
68498         * locale/localeinfo.h: Likewise.
68499         * sysdeps/generic/machine-gmon.h: Likewise.
68500         * sysdeps/generic/sysdep.h: Likewise.
68501         * sysdeps/i386/sysdep.h: Likewise.
68502         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
68503         * sysdeps/mach/sysdep.h: Likewise.
68504         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68505         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68506         * sysdeps/sh/sysdep.h: Likewise.
68507         * sysdeps/sparc/sparc32/alloca.S: Likewise.
68508         * sysdeps/unix/i386/sysdep.S: Likewise.
68509         * sysdeps/unix/sparc/start.c: Likewise.
68510         * sysdeps/unix/sparc/sysdep.S: Likewise.
68511         * sysdeps/unix/sparc/sysdep.h: Likewise.
68512         * sysdeps/unix/start.c: Likewise.
68513         * sysdeps/unix/x86_64/sysdep.S: Likewise.
68514         * sysdeps/x86_64/sysdep.h: Likewise.
68516 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
68518         [BZ #13553]
68519         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
68520         for non-gcc.
68521         * argp/argp-fmtstream.h: Use const instead __const.
68522         * argp/argp.h: Likewise.
68523         * assert/assert.h: Likewise.
68524         * bits/fenv.h: Likewise.
68525         * bits/sched.h: Likewise.
68526         * bits/sigset.h: Likewise.
68527         * bits/sigthread.h: Likewise.
68528         * catgets/nl_types.h: Likewise.
68529         * conform/data/pthread.h-data: Likewise.
68530         * crypt/crypt-private.h: Likewise.
68531         * crypt/crypt.h: Likewise.
68532         * crypt/crypt_util.c: Likewise.
68533         * ctype/ctype.h: Likewise.
68534         * debug/execinfo.h: Likewise.
68535         * debug/mbsnrtowcs_chk.c: Likewise.
68536         * debug/mbsrtowcs_chk.c: Likewise.
68537         * debug/wcsnrtombs_chk.c: Likewise.
68538         * debug/wcsrtombs_chk.c: Likewise.
68539         * debug/wcstombs_chk.c: Likewise.
68540         * dirent/dirent.h: Likewise.
68541         * dlfcn/dlfcn.h: Likewise.
68542         * elf/neededtest4.c: Likewise.
68543         * grp/grp.h: Likewise.
68544         * gshadow/gshadow.h: Likewise.
68545         * iconv/gconv.h: Likewise.
68546         * iconv/gconv_int.h: Likewise.
68547         * iconv/gconv_simple.c: Likewise.
68548         * iconv/iconv.h: Likewise.
68549         * iconv/loop.c: Likewise.
68550         * iconv/skeleton.c: Likewise.
68551         * include/aio.h: Likewise.
68552         * include/aliases.h: Likewise.
68553         * include/argz.h: Likewise.
68554         * include/arpa/inet.h: Likewise.
68555         * include/assert.h: Likewise.
68556         * include/dirent.h: Likewise.
68557         * include/dlfcn.h: Likewise.
68558         * include/execinfo.h: Likewise.
68559         * include/fcntl.h: Likewise.
68560         * include/fenv.h: Likewise.
68561         * include/glob.h: Likewise.
68562         * include/grp.h: Likewise.
68563         * include/libintl.h: Likewise.
68564         * include/mntent.h: Likewise.
68565         * include/netdb.h: Likewise.
68566         * include/pwd.h: Likewise.
68567         * include/rpc/netdb.h: Likewise.
68568         * include/sched.h: Likewise.
68569         * include/search.h: Likewise.
68570         * include/shadow.h: Likewise.
68571         * include/signal.h: Likewise.
68572         * include/stdio.h: Likewise.
68573         * include/stdlib.h: Likewise.
68574         * include/string.h: Likewise.
68575         * include/sys/socket.h: Likewise.
68576         * include/sys/stat.h: Likewise.
68577         * include/sys/statfs.h: Likewise.
68578         * include/sys/statvfs.h: Likewise.
68579         * include/sys/syslog.h: Likewise.
68580         * include/sys/time.h: Likewise.
68581         * include/sys/uio.h: Likewise.
68582         * include/time.h: Likewise.
68583         * include/unistd.h: Likewise.
68584         * include/utmp.h: Likewise.
68585         * include/wchar.h: Likewise.
68586         * include/wctype.h: Likewise.
68587         * inet/aliases.h: Likewise.
68588         * inet/arpa/inet.h: Likewise.
68589         * inet/netinet/ether.h: Likewise.
68590         * inet/netinet/in.h: Likewise.
68591         * intl/libintl.h: Likewise.
68592         * io/bits/fcntl2.h: Likewise.
68593         * io/fcntl.h: Likewise.
68594         * io/ftw.h: Likewise.
68595         * io/sys/poll.h: Likewise.
68596         * io/sys/stat.h: Likewise.
68597         * io/sys/statfs.h: Likewise.
68598         * io/sys/statvfs.h: Likewise.
68599         * io/utime.h: Likewise.
68600         * libio/bits/stdio.h: Likewise.
68601         * libio/bits/stdio2.h: Likewise.
68602         * libio/libio.h: Likewise.
68603         * libio/libioP.h: Likewise.
68604         * libio/stdio.h: Likewise.
68605         * locale/lc-ctype.c: Likewise.
68606         * locale/locale.h: Likewise.
68607         * login/utmp.h: Likewise.
68608         * malloc/arena.c: Likewise.
68609         * malloc/malloc.c: Likewise.
68610         * malloc/malloc.h: Likewise.
68611         * malloc/mcheck.c: Likewise.
68612         * malloc/mtrace.c: Likewise.
68613         * math/bits/mathcalls.h: Likewise.
68614         * math/fenv.h: Likewise.
68615         * math/math_private.h: Likewise.
68616         * misc/bits/error.h: Likewise.
68617         * misc/bits/syslog.h: Likewise.
68618         * misc/err.h: Likewise.
68619         * misc/error.h: Likewise.
68620         * misc/fstab.h: Likewise.
68621         * misc/mntent.h: Likewise.
68622         * misc/regexp.h: Likewise.
68623         * misc/search.h: Likewise.
68624         * misc/sgtty.h: Likewise.
68625         * misc/sys/mman.h: Likewise.
68626         * misc/sys/syslog.h: Likewise.
68627         * misc/sys/uio.h: Likewise.
68628         * misc/sys/xattr.h: Likewise.
68629         * misc/ttyent.h: Likewise.
68630         * nis/rpcsvc/ypclnt.h: Likewise.
68631         * nss/nss.h: Likewise.
68632         * posix/bits/unistd.h: Likewise.
68633         * posix/fnmatch.h: Likewise.
68634         * posix/glob.h: Likewise.
68635         * posix/sched.h: Likewise.
68636         * posix/spawn.h: Likewise.
68637         * posix/sys/wait.h: Likewise.
68638         * posix/unistd.h: Likewise.
68639         * posix/wordexp.h: Likewise.
68640         * pwd/pwd.h: Likewise.
68641         * resolv/netdb.h: Likewise.
68642         * resource/sys/resource.h: Likewise.
68643         * rt/aio.h: Likewise.
68644         * rt/bits/mqueue2.h: Likewise.
68645         * rt/mqueue.h: Likewise.
68646         * shadow/shadow.h: Likewise.
68647         * signal/signal.h: Likewise.
68648         * socket/send.c: Likewise.
68649         * socket/sendto.c: Likewise.
68650         * socket/sys/socket.h: Likewise.
68651         * stdio-common/printf.h: Likewise.
68652         * stdlib/bits/stdlib.h: Likewise.
68653         * stdlib/fmtmsg.h: Likewise.
68654         * stdlib/monetary.h: Likewise.
68655         * stdlib/stdlib.h: Likewise.
68656         * stdlib/ucontext.h: Likewise.
68657         * streams/stropts.h: Likewise.
68658         * string/argz.h: Likewise.
68659         * string/bits/string2.h: Likewise.
68660         * string/string.h: Likewise.
68661         * string/strings.h: Likewise.
68662         * sunrpc/rpc/auth.h: Likewise.
68663         * sunrpc/rpc/auth_des.h: Likewise.
68664         * sunrpc/rpc/clnt.h: Likewise.
68665         * sunrpc/rpc/netdb.h: Likewise.
68666         * sunrpc/rpc/pmap_clnt.h: Likewise.
68667         * sunrpc/rpc/xdr.h: Likewise.
68668         * sysdeps/generic/inttypes.h: Likewise.
68669         * sysdeps/generic/net/if.h: Likewise.
68670         * sysdeps/generic/sys/swap.h: Likewise.
68671         * sysdeps/gnu/net/if.h: Likewise.
68672         * sysdeps/gnu/utmpx.h: Likewise.
68673         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
68674         * sysdeps/i386/i486/bits/string.h: Likewise.
68675         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
68676         * sysdeps/s390/bits/string.h: Likewise.
68677         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
68678         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
68679         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
68680         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
68681         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
68682         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
68683         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
68684         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
68685         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
68686         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
68687         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
68688         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
68689         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
68690         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
68691         * sysdeps/unix/sysv/linux/readv.c: Likewise.
68692         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
68693         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
68694         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68695         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
68696         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
68697         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
68698         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
68699         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
68700         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
68701         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
68702         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
68703         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
68704         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68705         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
68706         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
68707         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
68708         * sysvipc/sys/ipc.h: Likewise.
68709         * sysvipc/sys/msg.h: Likewise.
68710         * sysvipc/sys/sem.h: Likewise.
68711         * sysvipc/sys/shm.h: Likewise.
68712         * termios/termios.h: Likewise.
68713         * time/sys/time.h: Likewise.
68714         * time/time.h: Likewise.
68715         * wcsmbs/bits/wchar2.h: Likewise.
68716         * wcsmbs/uchar.h: Likewise.
68717         * wcsmbs/wchar.h: Likewise.
68718         * wctype/wctype.h: Likewise.
68720         [BZ #13551]
68721         * Makeconfig: Remove all but ELF support including AIX support.
68722         * Makerules: Likewise.
68723         * config.h.in: Likewise.
68724         * config.make.in: Likewise.
68725         * configure: Likewise.
68726         * configure.in: Likewise.
68727         * csu/Makefile: Likewise.
68728         * csu/version.c: Likewise.
68729         * debug/Makefile: Likewise.
68730         * dlfcn/Makefile: Likewise.
68731         * elf/Makefile: Likewise.
68732         * extra-lib.mk: Likewise.
68733         * iconv/Makefile: Likewise.
68734         * include/libc-symbols.h: Likewise.
68735         * include/shlib-compat.h: Likewise.
68736         * resolv/Makefile: Likewise.
68737         * resolv/res_libc.c: Likewise.
68738         * rt/Makefile: Likewise.
68739         * sysdeps/i386/asm-syntax.h: Likewise.
68740         * sysdeps/i386/sysdep.h: Likewise.
68741         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
68742         * sysdeps/mach/sysdep.h: Likewise.
68743         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
68744         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
68745         * sysdeps/s390/asm-syntax.h: Likewise.
68746         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68747         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68748         * sysdeps/sh/sysdep.h: Likewise.
68749         * sysdeps/unix/sparc/sysdep.h: Likewise.
68750         * sysdeps/wordsize-32/divdi3.c: Likewise.
68751         * sysdeps/x86_64/sysdep.h: Likewise.
68753         * argp/Versions: Remove _argp_unlock_xxx.
68755         [BZ #13559]
68756         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
68757         * abilist/libBrokenLocale.abilist: Likewise.
68758         * abilist/libanl.abilist: Likewise.
68759         * abilist/libc.abilist: Likewise.
68760         * abilist/libcrypt.abilist: Likewise.
68761         * abilist/libdl.abilist: Likewise.
68762         * abilist/libm.abilist: Likewise.
68763         * abilist/libnsl.abilist: Likewise.
68764         * abilist/libpthread.abilist: Likewise.
68765         * abilist/libresolv.abilist: Likewise.
68766         * abilist/librt.abilist: Likewise.
68767         * abilist/libthread_db.abilist: Likewise.
68768         * abilist/libutil.abilist: Likewise.
68769         * abilist/libnss_db.abilist: New file.
68771         * scripts/abilist.awk: Add support for indirect functions.
68773         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
68775         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
68777         * shlib-versions: Remove entries for ports architectures.
68779         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
68780         files in ports.
68781         * elf/stackguard-macros.h: Remove support for IA-64.
68782         * elf/tst-auditmod1.c: Likewise.
68783         * sysdeps/generic/ldsodefs.h: Likewise.
68785         * sysdeps/unix/sysv/linux/configure.in: Ports should define
68786         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
68787         configure files.
68789         [BZ #13552]
68790         * configure.in: Remove --enable-omitfp support.
68791         * FAQ.in: Adjust.
68792         * config.make.in: Likewise.
68793         * Makeconfig: Likewise.
68794         * manual/install.texi: Likewise.
68796         In case anyone cares, the IA-64 architecture could move to ports.
68797         * sysdeps/ia64/*: Removed.
68798         * sysdeps/unix/sysv/linux/ia64/*: Removed.
68799         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
68801         [BZ #13555]
68802         * configure.in: Remove entries for unsupported architectures.
68804         [BZ #13533]
68805         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
68806         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
68807         routines.
68808         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
68809         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
68810         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
68811         fall back to using wcrtomb.
68812         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
68813         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
68814         renaming.
68815         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
68816         * wcsmbs/tst-c16c32-1.c: New file.
68818         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
68819         local variable.
68821         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
68823         * elf/tst-unique3.cc: Add explicit declaration of gets.
68824         * elf/tst-unique3lib.cc: Likewise.
68825         * elf/tst-unique3lib2.cc: Likewise.
68826         * elf/tst-unique4.cc: Likewise.
68828         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
68830 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
68832         [BZ #13566]
68833         * assert/assert.h (static_assert): Don't define for C++.
68834         * libio/stdio.h (gets): Do declare for C++ <= C++11.
68835         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
68837 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
68839         * iconv/loop.c (single loop): Fix assertion in storing of
68840         remaining bytes.
68842         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
68844 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
68846         * posix/getconf.c: Update copyright year.
68847         * nss/getent.c: Likewise.
68848         * nss/makedb.c: Likewise.
68849         * iconv/iconvconfig.c: Likewise.
68850         * iconv/iconv_prog.c: Likewise.
68851         * elf/ldconfig.c: Likewise.
68852         * elf/pldd.c: Likewise.
68853         * elf/sotruss.ksh: Likewise.
68854         * catgets/gencat.c: Likewise.
68855         * csu/version.c: Likewise.
68856         * elf/ldd.bash.in: Likewise.
68857         * elf/sprof.c (print_version): Likewise.
68858         * locale/programs/locale.c: Likewise.
68859         * locale/programs/localedef.c: Likewise.
68860         * login/programs/pt_chown.c: Likewise.
68861         * nscd/nscd.c (print_version): Likewise.
68862         * debug/xtrace.sh: Likewise.
68863         * malloc/memusage.sh: Likewise.
68864         * malloc/mtrace.pl: Likewise.
68865         * debug/catchsegv.sh: Likewise.
68867 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
68869         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
68870         pure attribute.
68872 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
68874         [BZ #13533]
68875         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
68876         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
68877         transformations.
68878         * iconv/gconv_int.h: Likewise.
68879         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
68880         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
68881         from libc for GLIBC_2.16.
68882         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
68883         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
68884         * wcsmbs/uchar.h: Really define mbstate_t.
68885         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
68886         * wcsmbs/c16rtomb.c: New file.
68887         * wcsmbs/mbrtoc16.c: New file.
68888         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
68889         for C/POSIX locale.
68890         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
68891         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
68893         * wcsmbs/wchar.h: Add missing __restrict.
68895 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
68897         [BZ #13532]
68898         * time/Makefile (routines): Add timespec_get.
68899         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
68900         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
68901         timespec for ISO C11.
68902         * time/timespec_get.c: New file.
68903         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
68904         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
68906         [BZ #13531]
68907         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
68908         * stdlib/stdlib.h: Declare aligned_alloc.
68909         * Versions.def: Add GLIBC_2.16 for libc.
68910         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
68912         [BZ 13527]
68913         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
68914         ISO C11.
68916         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
68917         code.
68919         [BZ #13528]
68920         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
68922         [BZ #13529]
68923         * assert/assert.h (static_assert): Define.
68925         * version.h: Update for 2.16 development version.
68927         [BZ #13526]
68928         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
68929         _ISOC11_SOURCE.
68931         * version.h (RELEASE): Bump for 2.15 release.
68932         * include/features.h (__GLIBC_MINOR__): Bump to 15.
68934         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
68935         Patch by Marek Polacek <mpolacek@redhat.com>.
68937         * bits/byteswap.h: Protect long long constants with __extension__.
68938         * sysdeps/i386/bits/byteswap.h: Likewise.
68939         * sysdeps/ia64/bits/byteswap.h: Likewise.
68940         * sysdeps/s390/bits/byteswap.h: Likewise.
68941         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68943 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68945         [BZ #13540]
68946         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
68947         destination buffer.
68948         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
68950 2011-12-23  Marek Polacek  <polacek@redhat.com>
68952         * elf/dl-addr.c (determine_info): Add inline keyword.
68953         * elf/tst-auditmod4b.c (check_avx): Likewise.
68954         * elf/tst-auditmod6b.c (check_avx): Likewise.
68955         * elf/tst-auditmod6c.c (check_avx): Likewise.
68956         * elf/tst-auditmod7b.c (check_avx): Likewise.
68958 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
68960         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
68961         !__SSE_MATH__.
68963 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68965         [BZ #13540]
68966         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
68967         processing for last bytes.
68969 2011-08-06  Bruno Haible  <bruno@clisp.org>
68971         [BZ #13061]
68972         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
68973         U+0385, not to U+1FEE.
68975         [BZ #13062]
68976         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
68977         entry for U+00A5 U+0301.
68979 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
68981         [BZ #13166]
68982         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
68983         buffer for the output is too small.
68985         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
68986         optimization.
68988         [BZ #13185]
68989         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
68990         SSE flags if possible.
68992 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68994         [BZ #13540]
68995         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
68996         processing for last bytes.
68998 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
69000         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
69001         (syscall-list-default-options, syscall-list-default-condition)
69002         (syscall-list-includes): Define.
69003         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
69004         list of ABIs and options and #if conditions for each ABI.  Do not
69005         handle common syscalls between ABIs specially.
69006         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
69007         Remove.
69008         (syscall-list-variants, syscall-list-32bit-options)
69009         (syscall-list-32bit-condition, syscall-list-64bit-options)
69010         (syscall-list-64bit-condition): Define.
69011         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
69012         (syscall-list-variants, syscall-list-32bit-options)
69013         (syscall-list-32bit-condition, syscall-list-64bit-options)
69014         (syscall-list-64bit-condition): Define.
69015         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
69016         Remove.
69017         (syscall-list-variants, syscall-list-32bit-options)
69018         (syscall-list-32bit-condition, syscall-list-64bit-options)
69019         (syscall-list-64bit-condition): Define.
69020         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
69021         Remove.
69022         (syscall-list-variants, syscall-list-32bit-options)
69023         (syscall-list-32bit-condition, syscall-list-64bit-options)
69024         (syscall-list-64bit-condition): Define.
69026 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
69028         * locale/iso-639.def: Add brx entry.
69030         [BZ #13328]
69031         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
69032         Proposed by Mariusz_Cukr <marcukr@op.pl>.
69034         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
69035         __feraiseexcept_renamed.
69037 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69039         [BZ #13538]
69040         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
69041         EPOLLET with unsigned values.
69042         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69043         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
69045         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
69046         to large cancellation.
69047         * math/s_cacoshf.c: Likewise.
69048         * math/s_cacoshl.c: Likewise.
69050 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
69052         [BZ #13305]
69053         [BZ #12786]
69054         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
69055         * math/s_cacoshf.c: Likewise.
69056         * math/s_cacoshl.c: Likewise.
69058 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69060         [BZ #13439]
69061         * iconv/gconv.h: Define __GCONV_SWAP.
69062         * iconvdata/unicode.c: The swap bit must be stored in __flags.
69063         * iconvdata/utf-16.c: Likewise.
69064         * iconvdata/utf-32.c: Likewise.
69066 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
69068         [BZ #13524]
69069         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
69070         numerator after shifting it by one limb.
69072 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
69074         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
69075         under [__USE_EXTERN_INLINES].
69077 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69079         [BZ #13446]
69080         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
69082 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69084         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
69085         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
69086         optimized code.
69087         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
69088         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
69089         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
69090         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
69091         for strncasecmp/strncasecmp_l compilation.
69092         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
69093         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
69095 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
69097         [BZ #13484]
69098         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
69099         of __asm__.
69101 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69103         [BZ #13506]
69104         * time/tzfile.c (__tzfile_read): Check values from file header.
69106 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
69108         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
69109         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
69110         * powerpc/powerpc32/dl-start.S: Likewise.
69111         * powerpc/powerpc32/elf/start.S: Likewise.
69112         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
69113         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
69114         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
69115         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
69116         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
69117         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
69118         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
69119         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
69120         * powerpc/powerpc32/fpu/s_round.S: Likewise.
69121         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
69122         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
69123         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
69124         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
69125         * powerpc/powerpc32/memset.S: Likewise.
69126         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
69127         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
69128         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
69129         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
69130         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
69131         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
69132         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
69133         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
69134         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
69135         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
69136         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
69137         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69138         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69140 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69142         * math/libm-test.inc: Added more nearbyint tests.
69143         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
69144         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
69145         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
69146         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
69148 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
69150         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
69151         FD_CLOEXEC.
69153 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69155         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
69156         Add wcscpy-ssse3 wcscpy-c.
69157         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
69158         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
69159         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
69160         * sysdeps/x86_64/wcschr.S: New file.
69161         * sysdeps/x86_64/wcsrchr.S: New file.
69162         * string/test-strcmp.c: Remove checking of wcscmp function for
69163         wrong alignments.
69164         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
69165         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
69166         wcsrchr-sse2 wcsrchr-c.
69167         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
69168         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
69169         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
69170         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
69171         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
69172         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
69173         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
69174         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
69175         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
69176         * wcsmbc/wcschr.c (WCSCHR): New macro.
69178 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69180         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
69181         * wcsmbs/test-wcsrchr.c: New file.
69182         * string/test-strrchr.c: Add wcsrchr support.
69183         (WIDE): New macro.
69184         * wcsmbs/test-wcscpy.c: New file.
69185         * string/test-strcpy.c: Add wcscpy support.
69186         (WIDE): New macro.
69188 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
69190         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
69191         the inner loop.
69193 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
69195         [BZ #13472]
69196         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
69198 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
69200         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
69201         Minor optimizations.
69203         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
69204         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
69205         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
69207 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
69209         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
69210         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
69211         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
69212         for gcc to avoid warnings.
69213         * inet/Makefile (tests): Add tst-checks.
69214         * inet/tst-checks.c: New file.
69216         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
69217         warning.
69219         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
69220         __wmemcmp_sse2.
69222         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
69223         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
69225         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
69227 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
69229         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
69230         problem.
69232         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
69234 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
69236         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
69237         conditional on GCC version.
69238         (__arch_compare_and_exchange_val_8_acq)
69239         (__arch_compare_and_exchange_val_16_acq)
69240         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
69241         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
69242         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
69244 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
69246         * sysdeps/sh/backtrace.c: New file.
69248 2011-12-02  Andreas Schwab  <schwab@redhat.com>
69250         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
69251         parenthesis.
69253 2011-12-01  Andreas Schwab  <schwab@redhat.com>
69255         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
69256         falling back to utime.
69258 2011-11-30  Andreas Schwab  <schwab@redhat.com>
69260         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
69261         expectations for float.
69263 2011-11-29  Andreas Schwab  <schwab@redhat.com>
69265         * locale/weight.h (findidx): Add parameter len.
69266         * locale/weightwc.h (findidx): Likewise.
69267         * posix/fnmatch_loop.c (FCT): Adjust caller.
69268         * posix/regcomp.c (build_equiv_class): Likewise.
69269         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
69270         * posix/regexec.c (check_node_accept_bytes): Likewise.
69271         * string/strcoll_l.c (STRCOLL): Likewise.
69272         * string/strxfrm_l.c (STRXFRM): Likewise.
69274 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
69276         * Makefile.in: Remove CVSOPT handling.
69277         * configure.in: Remove use of AC_REVISION.
69278         * iconvdata/Makefile (distribute): No need to filter out CVS.
69279         * scripts/list-sources.sh: Remove CVS, subversion and monotone
69280         handling.
69282 2011-11-16  Andreas Schwab  <schwab@redhat.com>
69284         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
69285         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
69286         [USE_AS_STRNCASECMP_L]: Likewise.
69287         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
69288         NO_TLS_DIRECT_SEG_REFS.
69289         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
69290         Fix argument offsets for non-PIC.
69291         [USE_AS_STRNCASECMP_L]: Likewise.
69292         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
69293         NO_TLS_DIRECT_SEG_REFS.
69295 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
69297         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
69298         O_CLOEXEC.
69299         * locale/loadlocale.c (_nl_load_locale): Likewise.
69301 2011-11-15  Andreas Schwab  <schwab@redhat.com>
69303         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
69304         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
69305         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
69306         (SYSCALL_GETTIME): Set errno on error.
69308         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
69309         count references to noai6ai_cached.
69311 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
69313         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
69315         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
69316         FD_CLOEXEC for /proc/self/maps.
69318         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
69319         FD_CLOEXEC for /proc/meminfo.
69321         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
69322         gai.conf.
69324         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
69325         FD_CLOEXEC for given file.
69327         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
69329         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
69330         FD_CLOEXEC for /etc/hosts.
69331         (_gethtent): Likewise.
69333         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
69335         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
69336         cancellation and set FD_CLOEXEC for /etc/netgroup.
69338         * nss/nss_files/files-key.c (search): Don't allow cancellation when
69339         reading /etc/publickey.
69341         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
69342         allow cancellation when reading /etc/group.
69344         * nss/nss_files/files-alias.c (internal_setent): Don't allow
69345         cancellation.
69346         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
69348         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
69349         when using data file.
69351         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
69353         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
69354         (write_nis_obj): Use "c" and "e" in fopen.
69356         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
69358         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
69360         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
69362         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
69364         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
69365         locale.alias.
69367         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
69369         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
69371         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
69373         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
69374         file parsing and set FD_CLOEXEC.
69376 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
69378         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
69380 2011-11-14  Andreas Schwab  <schwab@redhat.com>
69382         * malloc/arena.c (arena_get2): Don't call reused_arena when
69383         _int_new_arena failed.
69385 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
69387         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
69388         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
69389         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
69390         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69391         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69392         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
69393         to compile strcasecmp and strncasecmp.
69394         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
69395         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
69397         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
69399 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
69401         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
69402         locale-defines.sym to gen-as-const-headers.
69403         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
69404         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
69405         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
69406         to compile strcasecmp and strncasecmp.
69407         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
69408         strcasecmp_l and strncasecmp_l.
69409         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
69410         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
69411         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
69412         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
69413         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
69414         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
69415         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
69416         * sysdeps/i386/i686/multiarch/strncase.S: New file.
69417         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
69418         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
69419         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
69421 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
69423         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
69424         result of SYSDEP_GETTIME_CPU to retval.
69425         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
69426         parameter list to macro.  Remove trailing semicolon.  Adjust users.
69428         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
69429         variable.
69431         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
69432         mantissa words.
69433         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
69435         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
69436         from unused variable.
69438         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
69439         DWARF definitions.
69440         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
69441         for assembling.
69443         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
69444         over namespaces.
69446         * sunrpc/rpc_prot.c (rejected): Fix case value.
69448         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
69449         unsigned long long int to avoid warnings in shift.
69451         * posix/regex_internal.c (re_string_reconstruct): Actually use result
69452         of use of trans.
69453         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
69454         variable tmp.
69456         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
69457         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
69458         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
69460         * nis/nis_table.c (nis_list): Use variable of correct type for
69461         result of __follow_path call.
69463 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69465         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
69466         of math functions ceil, trunc, floor, round, and sqrt, when
69467         avaliable on the platform.
69468         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
69469         name clash.
69470         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
69471         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
69472         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
69474 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
69476         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
69477         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
69479 2011-11-11  Roland McGrath  <roland@hack.frob.com>
69481         * include/unistd.h: Fix __readlink return type.
69482         Reported by Chris Metcalf <cmetcalf@tilera.com>.
69484 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
69486         * stdlib/ucontext.h: Undo last change for makecontext.
69488 2011-11-11  Andreas Schwab  <schwab@redhat.com>
69490         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
69492         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
69493         * setjmp/setjmp.h: Mark functions as non-leaf.
69494         * setjmp/bits/setjmp2.h: Likewise.
69495         * stdlib/ucontext.h: Likewise.
69497 2011-11-10  Andreas Schwab  <schwab@redhat.com>
69499         * malloc/arena.c (_int_new_arena): Don't increment narenas.
69500         (reused_arena): Don't check arena limit.
69501         (arena_get2): Atomically check arena limit.
69503 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
69505         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
69506         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
69508         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
69509         instructions.
69511 2011-11-07  Andreas Schwab  <schwab@redhat.com>
69513         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
69514         handler when locking.
69516         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
69517         Fix size of allocated buffer.
69519 2011-11-04  Andreas Schwab  <schwab@redhat.com>
69521         [BZ #10103]
69522         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
69523         declarations for long double functions.
69524         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
69526         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
69528 2011-11-03  Andreas Schwab  <schwab@redhat.com>
69530         * nscd/nscd.c (main): Don't start AVC thread until credentials are
69531         installed.
69533         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
69534         is disabled.
69536 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69538         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
69540 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69542         * include/alloca.h (stackinfo_alloca_round): Define.
69543         (extend_alloca): Use it.
69544         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
69545         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
69546         here.
69548         * scripts/check-local-headers.sh: Ignore libaudit.h.
69550         * nscd/Makefile (extra-objs): Make recursively expanded.
69552 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
69554         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
69555         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
69557         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
69558         * posix/tst-rfc3484-2.c: Likewise.
69559         * posix/tst-rfc3484-3.c: Likewise.
69561         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
69562         process_vm_writev.
69563         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
69564         process_vm_writev.
69565         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
69566         process_vm_writev from libc using GLIBC_2.15 version.
69568         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
69570 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
69572         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
69573         stack usage.
69575 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
69577         [BZ #13367]
69578         * nss/getent.c (initgroups_keys): Show error message in case no group
69579         names are given.
69581         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
69582         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
69583         __bump_nl_timestamp.
69584         * nscd/connections (nscd_init): When host database is served open
69585         netlink socket and request notification about configuration changes.
69586         (main_loop_poll): Track netlink file descriptor and bump timestamp
69587         in case data becomes available.
69588         (main_loop_epoll): Likewise.
69589         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
69590         (database_pers_head): Add extra_data fileds.
69591         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
69592         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
69593         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
69594         Adjust caller.
69595         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
69596         in6ai data, call __free_in6ai.
69597         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
69598         Add -DHAVE_NETLINK.
69599         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
69600         interface information.  Reuse previous data if netlink timestamp
69601         is not changed.
69602         (__bump_nl_timestamp): New function.
69603         (__free_in6ai): New function.
69605 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
69607         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
69608         close_not_cancel_no_status here.
69609         (__check_pf): Reorganize code a bit to not call close twice if OOM.
69611 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
69613         [BZ #13276]
69614         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
69615         return value.
69617         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
69618         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
69619         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
69621 2011-07-03  Andreas Jaeger  <aj@suse.de>
69623         [BZ #10709]
69624         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
69625         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
69626         * math/libm-test.inc (sin_test): Add test case.
69628 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
69630         [BZ #13337]
69631         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
69632         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
69634         * elf/chroot_canon.c (chroot_canon): Cleanups.
69636         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
69638         [BZ #13335]
69639         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
69640         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
69642         * string/test-strchr.c: Make usable for strchrnul testing.
69643         * string/test-strchrnul.c: New file.
69644         * string/Makefile (strop-tests): Add strchrnul.
69646         * po/it.po: Update from translation team.
69647         * po/es.po: Likewise.
69649 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
69651         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
69652         the three constants needed as parameters.  Drop the others.
69653         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
69654         __m128i_strloadu_tolower.
69655         Create and initialize variable zero and use it in all the places
69656         where _mm_setzero_si128 was used.
69658         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
69659         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
69660         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
69661         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
69662         anymore.
69663         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
69664         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
69665         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
69666         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
69667         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
69668         __mpranred, __mptan.
69669         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
69670         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
69671         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
69672         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
69673         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
69674         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
69675         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
69676         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
69677         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
69679 2011-10-28  Andreas Schwab  <schwab@redhat.com>
69681         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
69682         redefine if SHARED.
69683         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
69685         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
69686         wide char related routines to wcsmbs subdir.
69688 2011-10-27  Andreas Schwab  <schwab@redhat.com>
69690         [BZ #13344]
69691         * misc/sys/cdefs.h (__THROWNL): Define.
69692         * posix/unistd.h: Use __THREADNL instead of __THREAD
69693         for memory synchronization functions.
69695 2011-10-26  Roland McGrath  <roland@hack.frob.com>
69697         [BZ #13349]
69698         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
69699         doesn't exist.
69700         * manual/stdio.texi (Obstack Streams): Node removed.
69702 2011-10-26  Andreas Schwab  <schwab@redhat.com>
69704         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
69705         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69706         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69708         * math/math_private.h (math_force_eval): Allow non-addressable
69709         arguments.
69710         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
69712 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69714         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
69715         file is not needed.
69717         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
69718         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
69719         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69720         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69721         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69722         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69723         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69724         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
69725         Add AVX variants.
69726         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
69727         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
69728         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
69729         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
69730         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
69731         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
69732         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
69733         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
69734         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
69735         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
69736         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
69737         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
69738         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
69739         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
69740         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
69741         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
69742         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
69743         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
69744         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
69746         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
69747         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
69749         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
69750         place.  Use VEX encoding when compiling for AVX.
69752 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69754         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
69755         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
69757         * string/test-strchr.c (do_test): Don't generate NUL bytes.
69759 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69761         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
69762         useless if() expression.
69763         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69764         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69765         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69766         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69767         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69768         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69769         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69770         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69771         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69772         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69773         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69774         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69775         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69776         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69777         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
69778         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69779         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69780         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69781         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69783         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
69785 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69787         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
69788         condition.
69789         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69791 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69793         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
69794         .text section.  Avoid duplicate constants.
69795         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69796         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69797         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69798         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69799         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69800         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69801         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69802         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69803         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
69804         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
69805         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
69806         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69807         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
69808         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
69809         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
69810         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
69811         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
69812         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
69813         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69814         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69815         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69816         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69817         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69818         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
69819         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
69820         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
69821         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
69822         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
69823         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
69824         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
69825         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
69826         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
69827         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69828         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
69829         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
69830         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
69831         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
69832         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
69833         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
69834         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
69835         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
69836         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
69837         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
69838         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
69839         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
69841 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
69843         * sysdeps/x86_64/dla.h: Move to ...
69844         * sysdeps/x86_64/fpu/dla.h: ...here.
69845         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
69846         situations.  Use __builtin_fma only for gcc 4.6 and up.
69848         * config.make.in: Add have-mfma4 entry.
69849         * configure.in: Substitute libc_cv_cc_fma4.
69850         * math/Makefile (dbl-only-routines): Add sincostab.
69851         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
69852         Use __sincostab not sincos.
69853         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
69854         name is a macro.
69855         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69856         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69857         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69858         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
69859         using __copysign.
69860         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
69861         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
69862         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
69863         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
69864         and __inv.
69865         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
69866         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
69867         __copysign.
69868         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
69869         define aliases when function name is a macro.
69870         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
69871         sysdeps/ieee754/dbl-64/sincos.tbl.
69872         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
69873         fma4-enabled routines.
69874         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
69875         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
69876         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
69877         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
69878         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
69879         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
69880         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
69881         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
69882         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
69883         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
69884         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
69885         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
69886         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
69887         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
69888         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
69889         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
69890         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
69891         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
69892         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
69893         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
69894         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
69895         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
69896         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
69897         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
69898         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
69899         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
69900         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
69901         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
69902         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
69903         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
69905         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
69906         rename.
69907         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69908         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69909         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69910         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69911         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69912         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69913         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69914         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69916 2011-10-24  Andreas Schwab  <schwab@redhat.com>
69918         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
69920 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69922         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
69924         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
69925         prediction.
69926         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
69928         * string/strnlen.c: Don't define STRNLEN, reverse logic.
69929         Remove unused variable magic_bits.
69930         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
69932         * string/strnlen.c: Define and use STRNLEN macro.
69933         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
69934         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
69935         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
69936         * wcsmbs/wcslen.c: Define and use WCSLEN.
69937         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
69938         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
69939         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
69940         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
69941         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
69942         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
69943         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
69945 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69947         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69948         strnlen-sse2-no-bsf.
69949         Rename strlen-no-bsf to strlen-sse2-no-bsf.
69950         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
69951         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
69952         Add strnlen support.
69953         (USE_AS_STRNLEN): New macro.
69954         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
69955         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
69956         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
69957         * sysdeps/x86_64/wcslen.S: New file.
69959 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
69961         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69962         XMM-moves are used for copying on small sizes.
69964 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69966         * wcsmbs/Makefile (strop-tests): Add wcschr.
69967         * wcsmbs/test-wcschr.c: New file.
69968         * string/test-strchr.c: Update.
69969         Add wcschr support.
69970         (WIDE): New macro.
69972 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69974         * wcsmbs/Makefile (strop-tests): Add wcslen.
69975         * wcsmbs/test-wcslen.c: New file.
69976         * string/test-strlen.c: Update.
69977         Add wcslen support.
69978         (WIDE): New macro.
69980 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69982         * po/it.po: Update from translation team.
69984 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69986         * sysdeps/x86_64/wcscmp.S: Update.
69987         Fix wrong comparison semantics.
69988         wcscmp shall use signed comparison not unsigned.
69989         Don't use substraction to avoid overflow bug.
69990         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
69991         * wcsmbc/wcscmp.c: Likewise.
69992         * string/test-strcmp.c: Likewise.
69993         Add new tests to check cases with negative values.
69995 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69997         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
69998         * sysdeps/x86_64/dla.h: ...here.  New file.
69999         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
70000         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70001         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70002         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70003         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70004         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70005         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70006         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70007         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70009 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
70011         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
70012         __ynl_finite aliases.
70014 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
70016         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70018         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
70019         define DLA_FMA.
70020         [DLA_FMA] (EMULV): Use DLA_FMA.
70021         [DLA_FMA] (MUL12): Use EMULV.
70022         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
70023         that are not needed.
70024         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70025         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70026         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70027         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70028         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70029         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70030         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70032 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
70034         * math/s_nan.c: Undef __nan.
70035         * math/s_nanf.c: Undef __nanf.
70036         * math/s_nanl.c: Undef __nanl.
70037         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
70038         "math_private.h".
70040 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
70042         * math/s_catan.c: Add branch predictions.
70043         * math/s_catanf.c: Likewise.
70044         * math/s_catanh.c: Likewise.
70045         * math/s_catanhf.c: Likewise.
70046         * math/s_catanhl.c: Likewise.
70047         * math/s_catanl.c: Likewise.
70048         * math/s_cexp.c: Likewise.
70049         * math/s_cexpf.c: Likewise.
70050         * math/s_cexpl.c: Likewise.
70051         * math/s_clog.c: Likewise.
70052         * math/s_clog10.c: Likewise.
70053         * math/s_clog10f.c: Likewise.
70054         * math/s_clog10l.c: Likewise.
70055         * math/s_clogf.c: Likewise.
70056         * math/s_clogl.c: Likewise.
70057         * math/s_csqrt.c: Likewise.
70058         * math/s_csqrtf.c: Likewise.
70059         * math/s_csqrtl.c: Likewise.
70060         * math/s_ctanf.c: Likewise.
70061         * math/s_ctanh.c: Likewise.
70062         * math/s_ctanhf.c: Likewise.
70063         * math/s_ctanhl.c: Likewise.
70064         * math/s_ctanl.c: Likewise.
70066         * math/math_private.h: Define __nan, __nanf, __nanl.
70067         * math/s_cacosh.c: Include <math_private.h>.
70068         * math/s_cacoshl.c: Likewise.
70069         * math/s_casinh.c: Likewise.
70070         * math/s_casinhf.c: Likewise.
70071         * math/s_casinhl.c: Likewise.
70072         * math/s_ccos.c: Rely entire on ccosh.
70073         * math/s_ccosf.c: Rely entire on ccoshf.
70074         * math/s_ccosl.c: Rely entirely on ccoshl.
70075         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
70076         Remove tests for FE_INVALID.
70077         * math/s_ccoshf.c: Likewise.
70078         * math/s_ccoshl.c: Likewise.
70079         * math/s_csin.c: Likewise.
70080         * math/s_csinf.c: Likewise.
70081         * math/s_csinh.c Likewise.
70082         * math/s_csinhf.c: Likewise.
70083         * math/s_csinhl.c: Likewise.
70084         * math/s_csinl.c: Likewise.
70085         * math/s_ctan.c: Likewise.
70086         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
70087         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
70088         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
70090 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
70092         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
70093         compilation problems.
70095         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
70096         __builtin_expect.
70098 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
70100         * sysdeps/i386/configure.in: Test for -mfma4 option.
70101         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
70102         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
70103         COMMON_CPUID_INDEX_80000001.
70104         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
70105         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
70106         use it if FMA3 is not supported.
70107         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
70109         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
70110         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70112 2011-10-20  Andreas Schwab  <schwab@redhat.com>
70114         [BZ #12892]
70115         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
70116         it would create a cycle with a link time dependency.
70118 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
70120         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
70121         instruction.
70122         * string/Makefile (strop-tests): Add rawmemchr.
70123         * string/test-rawmemchr.c: New file.
70125         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
70126         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
70127         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
70128         when compiling str{,n}casecmp and when AVX is available.  Hook up
70129         new optimized code in initializers.
70131 2011-10-19  Andreas Schwab  <schwab@redhat.com>
70133         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
70134         __feraiseexcept instead of feraiseexcept.
70136 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
70138         * math/math_private.h: Define defaults for libc_fetestexcept and
70139         libc_feupdateenv.
70140         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
70141         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
70142         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
70143         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70144         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70145         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70146         libc_fetestexcept and libc_feupdateenv.
70148         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
70149         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
70150         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
70151         * sysdeps/x86_64/fpu/math_private.h: Define special version of
70152         libc_feholdexcept_setround.
70154         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
70155         Add s_nearbyint-c and s_nearbyintf-c.
70156         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
70157         nearbyintf inlines.
70158         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
70159         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
70160         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
70161         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
70163         * math/math_private.h: Define defaults for libc_fegetround,
70164         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
70165         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
70166         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
70167         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
70168         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
70169         standard functions.
70170         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
70171         Remove comments and hacks for old compiler versions.
70172         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70173         libc_fegetround, libc_fesetround, libc_feholdexcept, and
70174         libc_feholdexceptl.
70176 2011-10-18  Andreas Schwab  <schwab@redhat.com>
70178         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
70179         (__feraiseexcept_renamed): Add __NTH.
70180         (feraiseexcept): Add __NTH.  Rename local variables to fix
70181         namespace violations.
70183 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
70185         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
70187         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
70189         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
70190         recently added interfaces.
70191         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
70193         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
70194         about macro parameter expansion.
70196         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
70197         __NO_MATH_INLINES is defined.  Cleanups.
70199         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
70200         and __floorf is target has SSE4.1.
70201         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
70202         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
70203         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
70204         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
70206         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
70207         name.
70208         (floorf): Likewise.
70210         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
70212 2011-10-17  Andreas Schwab  <schwab@redhat.com>
70214         * misc/sys/cdefs.h: Fix last change.
70216         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
70217         database lookup.
70219 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
70221         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
70223         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
70224         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70225         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70226         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70227         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70228         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70229         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70230         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70231         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70232         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
70233         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
70234         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
70235         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
70236         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
70237         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
70238         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
70239         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
70240         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
70241         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
70242         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
70243         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
70244         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
70246         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
70247         ceil, ceilf, floor, floorf.
70249         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
70250         Perform IRELATIVE relocations last.
70252         * elf/do-rel.h: Add another parameter nrelative, replacing the
70253         local variable with the same name.  Change name of the function
70254         to end in Rel or Rela (uppercase).
70255         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
70256         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
70257         elf_dynamic_do_##reloc function.
70259 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
70261         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
70262         is sufficient, at least on modern CPUs.
70264         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
70266         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
70267         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
70269         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
70270         __expl_finite.
70271         * math/bits/math-finite.h: Add entries for exp.
70272         * math/e_expl.c: Add __*_finite alias.
70273         * sysdeps/i386/fpu/e_exp.S: Likewise.
70274         * sysdeps/i386/fpu/e_expf.S: Likewise.
70275         * sysdeps/i386/fpu/e_expl.c: Likewise.
70276         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70277         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70278         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
70279         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
70280         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
70281         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
70282         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
70284         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
70285         is sufficient, at least on modern CPUs.
70287         * ctype/ctype-info.c (__ctype_init): Define.
70288         * include/ctype.h (__ctype_init): Declare.
70289         (__ctype_b_loc): The variable is always initialized.
70290         (__ctype_toupper_loc): Likewise.
70291         (__ctype_tolower_loc): Likewise.
70292         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
70293         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
70295 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
70297         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
70299         * configure.in: Also look in $cxxmachine/include for C++ system
70300         headers.
70302 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70304         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
70305         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
70306         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
70307         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
70308         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
70309         (USE_AS_WMEMCMP): New macro.
70310         Fixing indents.
70311         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
70312         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
70313         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
70314         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
70315         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70316         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
70317         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
70318         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
70319         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
70320         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
70321         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
70322         (USE_AS_WMEMCMP): New macro.
70323         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
70324         * sysdeps/string/test-memcmp.c: Update.
70325         Fix simple_wmemcmp.
70326         Add new tests.
70327         * wcsmbs/wmemcmp.c: Update.
70328         (WMEMCMP): New macro.
70329         Fix overflow bug.
70331 2011-10-12  Andreas Jaeger  <aj@suse.de>
70333         [BZ #13268]
70334         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
70336 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
70338         * libio/iofwide.c (do_length): Avoid warning.
70340         * ctype/ctype.h (__isctype_f): Add missing __THROW.
70342 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
70344         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
70346         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
70347         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
70348         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
70349         * sysdeps/i386/i686/fpu/e_log.S: New file.
70350         * sysdeps/i386/i686/fpu/e_logf.S: New file.
70351         * sysdeps/i386/i686/fpu/e_logl.S: New file.
70353         * ctype/ctype.h: Add support for inlined isXXX functions when
70354         compiling C++ code.
70356 2011-10-14  Andreas Schwab  <schwab@redhat.com>
70358         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70360         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
70362 2011-10-13  Roland McGrath  <roland@hack.frob.com>
70364         [BZ #13291]
70365         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
70367 2011-10-13  Andreas Schwab  <schwab@redhat.com>
70369         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
70370         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
70371         feraiseexcept.
70373         * sysdeps/x86_64/memrchr.S: Check for zero size.
70375         * string/stratcliff.c: Add memrchr tests.
70377 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70379         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70380         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
70381         rawmemchr-sse2 rawmemchr-sse2-bsf.
70382         * sysdeps/i386/i686/multiarch/memchr.S: New file.
70383         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
70384         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
70385         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
70386         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
70387         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
70388         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
70389         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
70390         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
70391         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
70392         * string/memrchr.c (MEMRCHR): New macro.
70394 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
70396         Add integration with gcc's -ffinite-math-only and optimize wrapper
70397         functions in libm.
70398         * Versions.def: Define GLIBC_2.15 version for libm.
70399         * math/Makefile (headers): Add bits/math-finite.h.
70400         * math/bits/math-finite.h: New file.
70401         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
70402         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
70403         * math/e_acoshl.c: Add __*_finite alias.
70404         * math/e_acosl.c: Likewise.
70405         * math/e_asinl.c: Likewise.
70406         * math/e_atan2l.c: Likewise.
70407         * math/e_atanhl.c: Likewise.
70408         * math/e_coshl.c: Likewise.
70409         * math/e_exp10.c: Likewise.
70410         * math/e_exp10f.c: Likewise.
70411         * math/e_exp10l.c: Likewise.
70412         * math/e_exp2l.c: Likewise.
70413         * math/e_fmodl.c: Likewise.
70414         * math/e_gammal_r.c: Likewise.
70415         * math/e_hypotl.c: Likewise.
70416         * math/e_j0l.c: Likewise.
70417         * math/e_j1l.c: Likewise.
70418         * math/e_jnl.c: Likewise.
70419         * math/e_lgammal_r.c: Likewise.
70420         * math/e_log10l.c: Likewise.
70421         * math/e_log2l.c: Likewise.
70422         * math/e_logl.c: Likewise.
70423         * math/e_powl.c: Likewise.
70424         * math/e_sinhl.c: Likewise.
70425         * math/e_sqrtl.c: Likewise.
70426         * math/e_scalb.c: Completely rewritten and optimized.
70427         * math/e_scalbf.c: Likewise.
70428         * math/e_scalbl.c: Likewise.
70429         * math/w_acos.c: Likewise.
70430         * math/w_acosf.c: Likewise.
70431         * math/w_acosl.c: Likewise.
70432         * math/w_acosh.c: Likewise.
70433         * math/w_acoshf.c: Likewise.
70434         * math/w_acoshl.c: Likewise.
70435         * math/w_asin.c: Likewise.
70436         * math/w_asinf.c: Likewise.
70437         * math/w_asinl.c: Likewise.
70438         * math/w_atan2.c: Likewise.
70439         * math/w_atan2f.c: Likewise.
70440         * math/w_atan2l.c: Likewise.
70441         * math/w_atanh.c: Likewise.
70442         * math/w_atanhf.c: Likewise.
70443         * math/w_atanhl.c: Likewise.
70444         * math/w_exp10.c: Likewise.
70445         * math/w_exp10f.c: Likewise.
70446         * math/w_exp10l.c: Likewise.
70447         * math/w_fmod.c: Likewise.
70448         * math/w_fmodf.c: Likewise.
70449         * math/w_fmodl.c: Likewise.
70450         * math/w_j0.c: Likewise.
70451         * math/w_j0f.c: Likewise.
70452         * math/w_j0l.c: Likewise.
70453         * math/w_j1.c: Likewise.
70454         * math/w_j1f.c: Likewise.
70455         * math/w_j1l.c: Likewise.
70456         * math/w_jn.c: Likewise.
70457         * math/w_jnf.c: Likewise.
70458         * math/w_log.c: Likewise.
70459         * math/w_logf.c: Likewise.
70460         * math/w_logl.c: Likewise.
70461         * math/w_log10.c: Likewise.
70462         * math/w_log10f.c: Likewise.
70463         * math/w_log10l.c: Likewise.
70464         * math/w_log2.c: Likewise.
70465         * math/w_log2f.c: Likewise.
70466         * math/w_log2l.c: Likewise.
70467         * math/w_pow.c: Likewise.
70468         * math/w_powf.c: Likewise.
70469         * math/w_powl.c: Likewise.
70470         * math/w_remainder.c: Likewise.
70471         * math/w_remainderf.c: Likewise.
70472         * math/w_remainderl.c: Likewise.
70473         * math/w_scalb.c: Likewise.
70474         * math/w_scalbf.c: Likewise.
70475         * math/w_scalbl.c: Likewise.
70476         * math/w_sqrt.c: Likewise.
70477         * math/w_sqrtf.c: Likewise.
70478         * math/w_sqrtl.c: Likewise.
70479         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
70480         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
70481         used.
70482         * math/math_private.h: Declare __kernel_standard_f.
70483         * math/w_cosh.c: Remove cruft and optimize a bit.
70484         * math/w_coshf.c: Likewise.
70485         * math/w_coshl.c: Likewise.
70486         * math/w_exp2.c: Likewise.
70487         * math/w_exp2f.c: Likewise.
70488         * math/w_exp2l.c: Likewise.
70489         * math/w_hypot.c: Likewise.
70490         * math/w_hypotf.c: Likewise.
70491         * math/w_hypotl.c: Likewise.
70492         * math/w_lgamma.c: Likewise.
70493         * math/w_lgamma_r.c: Likewise.
70494         * math/w_lgammaf.c: Likewise.
70495         * math/w_lgammaf_r.c: Likewise.
70496         * math/w_lgammal.c: Likewise.
70497         * math/w_lgammal_r.c: Likewise.
70498         * math/w_sinh.c: Likewise.
70499         * math/w_sinhf.c: Likewise.
70500         * math/w_sinhl.c: Likewise.
70501         * math/w_tgamma.c: Likewise.
70502         * math/w_tgammaf.c: Likewise.
70503         * math/w_tgammal.c: Likewise.
70504         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70505         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70506         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
70507         Minor optimizations.  Pretty printing.  Remove cruft.
70508         * sysdeps/i386/fpu/e_acosf.S: Likewise.
70509         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70510         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70511         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70512         * sysdeps/i386/fpu/e_acosl.c: Likewise.
70513         * sysdeps/i386/fpu/e_asin.S: Likewise.
70514         * sysdeps/i386/fpu/e_asinf.S: Likewise.
70515         * sysdeps/i386/fpu/e_atan2.S: Likewise.
70516         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
70517         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
70518         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70519         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70520         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70521         * sysdeps/i386/fpu/e_exp10.S: Likewise.
70522         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
70523         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
70524         * sysdeps/i386/fpu/e_exp2.S: Likewise.
70525         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
70526         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
70527         * sysdeps/i386/fpu/e_fmod.S: Likewise.
70528         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
70529         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
70530         * sysdeps/i386/fpu/e_hypot.S: Likewise.
70531         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
70532         * sysdeps/i386/fpu/e_log.S: Likewise.
70533         * sysdeps/i386/fpu/e_log10.S: Likewise.
70534         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70535         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70536         * sysdeps/i386/fpu/e_log2.S: Likewise.
70537         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70538         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70539         * sysdeps/i386/fpu/e_logf.S: Likewise.
70540         * sysdeps/i386/fpu/e_logl.S: Likewise.
70541         * sysdeps/i386/fpu/e_pow.S: Likewise.
70542         * sysdeps/i386/fpu/e_powf.S: Likewise.
70543         * sysdeps/i386/fpu/e_powl.S: Likewise.
70544         * sysdeps/i386/fpu/e_remainder.S: Likewise.
70545         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
70546         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
70547         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70548         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70549         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70550         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
70551         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
70552         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
70553         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70554         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70555         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70556         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70557         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
70558         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70559         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
70560         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70561         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70562         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70563         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70564         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70565         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70566         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70567         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70568         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70569         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70570         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70571         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70572         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70573         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70574         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70575         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70576         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70577         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70578         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70579         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
70580         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70581         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
70582         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70583         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70584         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70585         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70586         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70587         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70588         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70589         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70590         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70591         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70592         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70593         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70594         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70595         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70596         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70597         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70598         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70599         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70600         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70601         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70602         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
70603         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70604         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70605         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70606         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70607         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70608         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70609         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70610         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70611         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70612         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70613         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70614         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70615         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70616         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70617         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70618         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70619         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70620         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70621         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
70622         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70623         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70624         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70625         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70626         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70627         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70628         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70629         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
70630         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70631         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70632         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70633         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70634         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70635         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
70636         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70637         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70638         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70639         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70640         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70641         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70642         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70643         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70644         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70645         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70646         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
70647         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
70648         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
70649         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
70650         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
70651         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
70652         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
70653         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
70654         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
70655         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
70656         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
70657         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70658         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70659         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70660         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70661         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
70662         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70663         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
70664         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
70665         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
70666         (__isnanf): Likewise.
70667         (__isinf_ns): Likewise.
70668         (__isinf_nsf): Likewise.
70669         (__finite): Likewise.
70670         (__finitef): Likewise.
70671         (__ieee754_sqrt): Define as macro.
70672         (__ieee754_sqrtf): Define as macro.
70673         (__ieee754_sqrtl): Define as macro.
70674         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
70675         inlined copy.
70676         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
70677         __FINITE_MATH_ONLY__ consistent.
70678         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
70680 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
70682         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
70683         of rawmemchr.
70685         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
70687 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
70689         * po/ja.po: Update from translation team.
70691 2011-10-08  Roland McGrath  <roland@hack.frob.com>
70693         * locale/programs/locarchive.c (prepare_address_space): New function.
70694         (create_archive, enlarge_archive, open_archive): Use it.
70696         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
70697         inside [SHARED], where it is used.
70699         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
70701         * nss/getent.c (netgroup_keys): Remove unused variable.
70702         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70704 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
70706         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
70707         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
70708         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
70709         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
70710         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
70711         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
70712         * math/Makefile (libm-calls): Add s_isinf_ns.
70713         * math/divtc3.c: Use __isinf_nsl instead of isinf.
70714         * math/multc3.c: Likewise.
70715         * math/s_casin.c: Likewise.
70716         * math/s_casinf.c: Likewise.
70717         * math/s_casinl.c: Likewise.
70718         * math/s_ccos.c: Likewise.
70719         * math/s_ccosf.c: Likewise.
70720         * math/s_ccosl.c: Likewise.
70721         * math/s_ctan.c: Likewise.
70722         * math/s_ctanf.c: Likewise.
70723         * math/s_ctanh.c: Likewise.
70724         * math/s_ctanhf.c: Likewise.
70725         * math/s_ctanhl.c: Likewise.
70726         * math/s_ctanl.c: Likewise.
70727         * math/w_fmod.c: Likewise.
70728         * math/w_fmodf.c: Likewise.
70729         * math/w_fmodl.c: Likewise.
70730         * math/w_remainder.c: Likewise.
70731         * math/w_remainderf.c: Likewise.
70732         * math/w_remainderl.c: Likewise.
70733         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
70734         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
70735         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
70736         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
70737         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
70738         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
70739         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
70740         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
70742         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
70743         of the number.
70744         * stdio-common/printf_fphex.c: Likewise.
70745         * stdio-common/printf_size.c: Likewise.
70747         * math/e_exp10.c: Include math_private.h using <...> not "...".
70748         * math/e_exp10f.c: Likewise.
70749         * math/e_exp10l.c: Likewise.
70750         * math/e_exp2l.c: Likewise.
70751         * math/e_j0l.c: Likewise.
70752         * math/e_j1l.c: Likewise.
70753         * math/e_jnl.c: Likewise.
70754         * math/e_lgammal_r.c: Likewise.
70755         * math/e_rem_pio2l.c: Likewise.
70756         * math/e_scalb.c: Likewise.
70757         * math/e_scalbf.c: Likewise.
70758         * math/e_scalbl.c: Likewise.
70759         * math/k_cosl.c: Likewise.
70760         * math/k_sinl.c: Likewise.
70761         * math/k_tanl.c: Likewise.
70762         * math/s_cacoshf.c: Likewise.
70763         * math/s_catan.c: Likewise.
70764         * math/s_catanf.c: Likewise.
70765         * math/s_catanh.c: Likewise.
70766         * math/s_catanhf.c: Likewise.
70767         * math/s_catanhl.c: Likewise.
70768         * math/s_catanl.c: Likewise.
70769         * math/s_ccosh.c: Likewise.
70770         * math/s_ccoshf.c: Likewise.
70771         * math/s_ccoshl.c: Likewise.
70772         * math/s_cexp.c: Likewise.
70773         * math/s_cexpf.c: Likewise.
70774         * math/s_cexpl.c: Likewise.
70775         * math/s_clog.c: Likewise.
70776         * math/s_clog10.c: Likewise.
70777         * math/s_clog10f.c: Likewise.
70778         * math/s_clog10l.c: Likewise.
70779         * math/s_clogf.c: Likewise.
70780         * math/s_clogl.c: Likewise.
70781         * math/s_csin.c: Likewise.
70782         * math/s_csinf.c: Likewise.
70783         * math/s_csinh.c: Likewise.
70784         * math/s_csinhf.c: Likewise.
70785         * math/s_csinhl.c: Likewise.
70786         * math/s_csinl.c: Likewise.
70787         * math/s_csqrt.c: Likewise.
70788         * math/s_csqrtf.c: Likewise.
70789         * math/s_csqrtl.c: Likewise.
70790         * math/s_ctan.c: Likewise.
70791         * math/s_ctanf.c: Likewise.
70792         * math/s_ctanh.c: Likewise.
70793         * math/s_ctanhf.c: Likewise.
70794         * math/s_ctanhl.c: Likewise.
70795         * math/s_ctanl.c: Likewise.
70796         * math/s_ldexp.c: Likewise.
70797         * math/s_ldexpf.c: Likewise.
70798         * math/s_ldexpl.c: Likewise.
70799         * math/s_significand.c: Likewise.
70800         * math/s_significandf.c: Likewise.
70801         * math/s_significandl.c: Likewise.
70802         * math/w_acos.c: Likewise.
70803         * math/w_acosf.c: Likewise.
70804         * math/w_acosh.c: Likewise.
70805         * math/w_acoshf.c: Likewise.
70806         * math/w_acoshl.c: Likewise.
70807         * math/w_acosl.c: Likewise.
70808         * math/w_asin.c: Likewise.
70809         * math/w_asinf.c: Likewise.
70810         * math/w_asinl.c: Likewise.
70811         * math/w_atan2.c: Likewise.
70812         * math/w_atan2f.c: Likewise.
70813         * math/w_atan2l.c: Likewise.
70814         * math/w_atanh.c: Likewise.
70815         * math/w_atanhf.c: Likewise.
70816         * math/w_atanhl.c: Likewise.
70817         * math/w_cosh.c: Likewise.
70818         * math/w_coshf.c: Likewise.
70819         * math/w_coshl.c: Likewise.
70820         * math/w_dremf.c: Likewise.
70821         * math/w_exp10.c: Likewise.
70822         * math/w_exp10f.c: Likewise.
70823         * math/w_exp10l.c: Likewise.
70824         * math/w_exp2.c: Likewise.
70825         * math/w_exp2f.c: Likewise.
70826         * math/w_fmod.c: Likewise.
70827         * math/w_fmodf.c: Likewise.
70828         * math/w_fmodl.c: Likewise.
70829         * math/w_hypot.c: Likewise.
70830         * math/w_hypotf.c: Likewise.
70831         * math/w_hypotl.c: Likewise.
70832         * math/w_j0.c: Likewise.
70833         * math/w_j0f.c: Likewise.
70834         * math/w_j0l.c: Likewise.
70835         * math/w_j1.c: Likewise.
70836         * math/w_j1f.c: Likewise.
70837         * math/w_j1l.c: Likewise.
70838         * math/w_jn.c: Likewise.
70839         * math/w_jnf.c: Likewise.
70840         * math/w_jnl.c: Likewise.
70841         * math/w_lgamma.c: Likewise.
70842         * math/w_lgamma_r.c: Likewise.
70843         * math/w_lgammaf.c: Likewise.
70844         * math/w_lgammaf_r.c: Likewise.
70845         * math/w_lgammal.c: Likewise.
70846         * math/w_lgammal_r.c: Likewise.
70847         * math/w_log.c: Likewise.
70848         * math/w_log10.c: Likewise.
70849         * math/w_log10f.c: Likewise.
70850         * math/w_log10l.c: Likewise.
70851         * math/w_log2.c: Likewise.
70852         * math/w_log2f.c: Likewise.
70853         * math/w_log2l.c: Likewise.
70854         * math/w_logf.c: Likewise.
70855         * math/w_logl.c: Likewise.
70856         * math/w_pow.c: Likewise.
70857         * math/w_powf.c: Likewise.
70858         * math/w_powl.c: Likewise.
70859         * math/w_remainder.c: Likewise.
70860         * math/w_remainderf.c: Likewise.
70861         * math/w_remainderl.c: Likewise.
70862         * math/w_scalb.c: Likewise.
70863         * math/w_scalbf.c: Likewise.
70864         * math/w_scalbl.c: Likewise.
70865         * math/w_sinh.c: Likewise.
70866         * math/w_sinhf.c: Likewise.
70867         * math/w_sinhl.c: Likewise.
70868         * math/w_sqrt.c: Likewise.
70869         * math/w_sqrtf.c: Likewise.
70870         * math/w_sqrtl.c: Likewise.
70871         * math/w_tgamma.c: Likewise.
70872         * math/w_tgammaf.c: Likewise.
70873         * math/w_tgammal.c: Likewise.
70875         * po/ja.po: Update from translation team.
70877 2011-09-29  Andreas Jaeger  <aj@suse.de>
70879         [BZ #13179]
70880         * sunrpc/netname.c (netname2host): Fix logic.
70882         [BZ #6779]
70883         [BZ #6783]
70884         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
70885         correctly.
70886         * math/w_remainder.c (__remainder): Likewise.
70887         * math/w_remainderf.c (__remainderf): Likewise.
70888         * math/libm-test.inc (remainder_test): Add test cases.
70890 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70892         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
70893         sdiv_qrnnd.
70895 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
70897         * string/test-memcmp.c: Avoid unncessary #defines.
70898         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
70900 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70902         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
70903         Use new sse2 version for core i3 - i7 as it's faster
70904         than sse42 version.
70905         (bit_Prefer_PMINUB_for_stringop): New.
70906         * sysdeps/x86_64/rawmemchr.S: Update.
70907         Replace with faster SSE2 version.
70908         * sysdeps/x86_64/memrchr.S: New file.
70909         * sysdeps/x86_64/memchr.S: Update.
70910         Replace with faster SSE2 version.
70912 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
70914         * elf/dl-load.c (lose): Add cast to avoid warning.
70916 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
70918         * po/ca.po: Update from translation team.
70920         * inet/getnetgrent_r.c: Hook up nscd.
70921         * nscd/Makefile (routines): Add nscd_netgroup.
70922         (nscd-modules): Add netgroupcache.
70923         (CFLAGS-netgroupcache.c): Define.
70924         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
70925         (cache_search): Add const to second parameter.
70926         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
70927         INNETGR.
70928         (dbs): Add netgrdb entry.
70929         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
70930         (verify_persistent_db): Handle netgrdb.
70931         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
70932         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
70933         GETFDNETGR.
70934         (netgroup_response_header): Define.
70935         (innetgroup_response_header): Define.
70936         (datahead): Add netgroup_response_header and innetgroup_response_header
70937         elements.
70938         * nscd/nscd.conf: Add entries for netgroup cache.
70939         * nscd/nscd.h (dbtype): Add netgrdb.
70940         (_PATH_NSCD_NETGROUP_DB): Define.
70941         (netgroup_iov_disabled): Declare.
70942         (xmalloc, xcalloc, xrealloc): Move declarations here.
70943         (cache_search): Adjust prototype.
70944         Add netgroup-related prototypes.
70945         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
70946         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
70947         (__nscd_innetgr): Declare.
70948         * nscd/selinux.c (perms): Use access_vector_t as element type and
70949         add netgroup-related initializers.
70950         * nscd/netgroupcache.c: New file.
70951         * nscd/nscd_netgroup.c: New file.
70952         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
70953         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
70954         For four parameters use innetgr.
70955         * nss/nss_files/files-init.c: Add definition and callback for netgr.
70956         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
70957         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
70958         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
70960         * nscd/connections.c (register_traced_file): Don't register file
70961         for disabled databases.
70963 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
70965         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
70967         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
70968         from tree and freeing node.
70970 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
70972         * nss/nsswitch.c (__nss_database_lookup): Handle
70973         nss_parse_service_list out of memory case.
70975 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
70977         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
70978         out of memory case.
70980 2011-10-04  Andreas Schwab  <schwab@redhat.com>
70982         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
70983         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
70984         pass it down.
70985         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
70986         elf_machine_rela, elf_machine_lazy_rel.
70987         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
70988         (ELF_DYNAMIC_DO_REL): Likewise.
70989         (ELF_DYNAMIC_DO_RELA): Likewise.
70990         (ELF_DYNAMIC_RELOCATE): Likewise.
70991         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
70992         to ELF_DYNAMIC_DO_REL.
70993         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
70994         (dl_main): In trace mode always set __RTLD_NOIFUNC.
70995         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
70996         elf_machine_rela.
70997         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
70998         skip_ifunc, don't call ifunc function if non-zero.
70999         (elf_machine_rela): Likewise.
71000         (elf_machine_lazy_rel): Likewise.
71001         (elf_machine_lazy_rela): Likewise.
71002         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
71003         (elf_machine_lazy_rel): Likewise.
71004         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
71005         Likewise.
71006         (elf_machine_lazy_rel): Likewise.
71007         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71008         Likewise.
71009         (elf_machine_lazy_rel): Likewise.
71010         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
71011         (elf_machine_lazy_rel): Likewise.
71012         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
71013         (elf_machine_lazy_rel): Likewise.
71014         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
71015         (elf_machine_lazy_rel): Likewise.
71016         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
71017         (elf_machine_lazy_rel): Likewise.
71018         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
71019         (elf_machine_lazy_rel): Likewise.
71020         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
71021         (elf_machine_lazy_rel): Likewise.
71023 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
71025         * nss/nss_files/files-init.c (_nss_files_init): Use static
71026         initialization for all the *_traced_file variables.
71028 2011-09-28  Andreas Schwab  <schwab@redhat.com>
71030         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71032 2011-09-27  Roland McGrath  <roland@hack.frob.com>
71034         [BZ #13226]
71035         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
71037 2011-09-27  Andreas Schwab  <schwab@redhat.com>
71039         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71040         Reread the line before reparsing it.
71042 2011-09-26  Andreas Schwab  <schwab@redhat.com>
71044         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
71046 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
71047             Maxim Kuvyrkov  <maxim@codesourcery.com>
71048             Joseph Myers  <joseph@codesourcery.com>
71050         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
71051         if needed for __stack_chk_guard.
71053 2011-09-19  Roland McGrath  <roland@hack.frob.com>
71055         * sysdeps/posix/spawni.c (script_execute): Always define it.
71056         It will be optimized away if unused.
71057         (maybe_script_execute): New function.
71058         (__spawni): Call it.
71060         * Makerules: Don't include tls.make.
71061         (config-tls): Always set to thread.
71062         * tls.make.c: File removed.
71064 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
71066         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
71067         * config.make.in (CPPFLAGS-config): New substituted variable.
71069 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71071         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
71073         [BZ #13192]
71074         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
71075         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
71077 2011-09-15  Roland McGrath  <roland@hack.frob.com>
71079         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
71080         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
71081         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71082         (CALL_FAIL): Likewise.
71083         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
71084         (CALL_FAIL): Macro removed.
71085         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
71087 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71089         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
71090         for __FINITE_MATH_ONLY__ == 1.
71092 2011-09-15  Andreas Schwab  <schwab@redhat.com>
71094         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
71095         __ieee754_sqrt instead of sqrt.
71096         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
71097         __ieee754_sqrtf instead of sqrtf.
71098         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
71099         __floorf instead of floorf.
71100         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
71101         __floorf, __truncf instead of floorf, truncf.
71103 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
71105         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
71107         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
71108         __extern_always_inline.
71109         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
71110         32-bit.
71112 2011-09-14  Andreas Schwab  <schwab@redhat.com>
71114         * elf/rtld.c (dl_main): Also relocate in dependency order when
71115         doing symbol dependency testing.
71117 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
71119         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71120         Always define `refsym'.
71122 2011-09-13  Andreas Schwab  <schwab@redhat.com>
71124         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
71125         (__FD_ELT): Renamed from __FDELT.
71126         * misc/bits/select2.h (__FD_ELT): Likewise.
71127         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
71128         __FD_MASK instead of __FDELT, __FDMASK.
71129         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71130         Likewise.
71131         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71132         Likewise.
71134         * elf/Makefile (gen-ldd): Fix pattern.
71136         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
71137         (init_tls): Likewise.
71139 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
71141         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
71143 2011-09-12  Andreas Schwab  <schwab@redhat.com>
71145         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
71146         `struct cmsghdr *' instead of `void *'.
71147         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
71148         Likewise.
71150 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
71152         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
71153         if non-absolute.
71154         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
71155         ldd_rewrite_script.
71157 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
71159         * configure.in: Remove --with-tls option.
71160         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
71161         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
71162         out in case it is missing.
71163         * sysdeps/ia64/elf/configure.in: Likewise.
71164         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
71165         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
71166         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
71167         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
71168         * sysdeps/sh/elf/configure.in: Likewise.
71169         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
71170         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71171         * sysdeps/x86_64/elf/configure.in: Likewise.
71172         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
71173         * sysdeps/mach/hurd/tls.h: Likewise.
71175         [BZ #13067]
71176         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
71178         [BZ #13090]
71179         * configure.in: Fix use of AC_INIT.
71181         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
71183 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
71185         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
71186         __set_errno.
71187         * malloc/hooks.c: Likewise.
71189         [BZ #11929]
71190         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
71191         variables statically.
71192         (narenas): Initialize.
71193         (list_lock): Initialize.
71194         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
71195         initializtion of main_arena and list_lock.  Small cleanups.
71196         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
71197         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
71198         Add initializers to main_arena and mp_.
71199         (malloc_state): Remove pagesize member.  Change all users to use
71200         GLRO(dl_pagesize).
71202         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
71203         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
71204         is always initialized.
71206         * malloc/malloc.c: Removed unused configurations and dead code.
71207         * malloc/arena.c: Likewise.
71208         * malloc/hooks.c: Likewise.
71209         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
71211         * include/tls.h: Removed.  USE___THREAD must always be defined.
71212         * bits/libc-tsd.h: Don't handle !USE___THREAD.
71213         * elf/dl-libc.c: Likewise.
71214         * elf/dl-tsd.c: Likewise.
71215         * include/errno.h: Likewise.
71216         * include/netdb.h: Likewise.
71217         * include/resolv.h: Likewise.
71218         * inet/herrno-loc.c: Likewise.
71219         * inet/herrno.c: Likewise.
71220         * malloc/arena.c: Likewise.
71221         * malloc/hooks.c: Likewise.
71222         * malloc/malloc.c: Likewise.
71223         * resolv/res-state.c: Likewise.
71224         * resolv/res_libc.c: Likewise.
71225         * sysdeps/i386/dl-machine.h: Likewise.
71226         * sysdeps/ia64/dl-machine.h: Likewise.
71227         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
71228         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
71229         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
71230         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
71231         * sysdeps/sh/dl-machine.h: Likewise.
71232         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71233         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71234         * sysdeps/unix/i386/sysdep.S: Likewise.
71235         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
71236         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
71237         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
71238         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
71239         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
71240         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
71241         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
71242         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71243         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71244         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
71245         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71246         * sysdeps/x86_64/dl-machine.h: Likewise.
71247         * tls.make.c: Likewise.
71249         * configure.in: Remove --with-__thread option.  Make tests for
71250         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
71251         tls_model attribute fail if no support is available.  Remove
71252         USE_IN_LIBIO.
71253         * Makeconfig: Adjust for dropped configure option.  All features are
71254         now mandatory.
71255         * Makerules: Likewise.
71256         * Versions.def: Likewise.
71257         * argp/argp-fmtstream.c: Likewise.
71258         * argp/argp-fmtstream.h: Likewise.
71259         * argp/argp-help.c: Likewise.
71260         * assert/assert.c: Likewise.
71261         * config.h.in: Likewise.
71262         * config.make.in: Likewise.
71263         * configure: Likewise.
71264         * configure.in: Likewise.
71265         * csu/Versions: Likewise.
71266         * csu/init.c: Likewise.
71267         * elf/tst-audit2.c: Likewise.
71268         * elf/tst-tls10.c: Likewise.
71269         * elf/tst-tls10.h: Likewise.
71270         * elf/tst-tls11.c: Likewise.
71271         * elf/tst-tls12.c: Likewise.
71272         * elf/tst-tls14.c: Likewise.
71273         * elf/tst-tlsmod11.c: Likewise.
71274         * elf/tst-tlsmod12.c: Likewise.
71275         * elf/tst-tlsmod13.c: Likewise.
71276         * elf/tst-tlsmod13a.c: Likewise.
71277         * elf/tst-tlsmod14a.c: Likewise.
71278         * elf/tst-tlsmod15b.c: Likewise.
71279         * elf/tst-tlsmod16a.c: Likewise.
71280         * elf/tst-tlsmod16b.c: Likewise.
71281         * elf/tst-tlsmod7.c: Likewise.
71282         * elf/tst-tlsmod8.c: Likewise.
71283         * elf/tst-tlsmod9.c: Likewise.
71284         * gmon/gmon.c: Likewise.
71285         * grp/fgetgrent_r.c: Likewise.
71286         * grp/putgrent.c: Likewise.
71287         * hurd/fopenport.c: Likewise.
71288         * include/libc-symbols.h: Likewise.
71289         * include/tls.h: Likewise.
71290         * intl/gettextP.h: Likewise.
71291         * intl/loadinfo.h: Likewise.
71292         * locale/global-locale.c: Likewise.
71293         * locale/localeinfo.h: Likewise.
71294         * mach/devstream.c: Likewise.
71295         * malloc/arena.c: Likewise.
71296         * malloc/set-freeres.c: Likewise.
71297         * misc/err.c: Likewise.
71298         * misc/getttyent.c: Likewise.
71299         * misc/mntent_r.c: Likewise.
71300         * posix/getopt.c: Likewise.
71301         * posix/wordexp.c: Likewise.
71302         * pwd/fgetpwent_r.c: Likewise.
71303         * resolv/Versions: Likewise.
71304         * resolv/res_hconf.c: Likewise.
71305         * shadow/fgetspent_r.c: Likewise.
71306         * shadow/putspent.c: Likewise.
71307         * stdio-common/printf_fphex.c: Likewise.
71308         * stdio-common/tmpfile.c: Likewise.
71309         * stdlib/abort.c: Likewise.
71310         * stdlib/fmtmsg.c: Likewise.
71311         * sunrpc/auth_unix.c: Likewise.
71312         * sunrpc/clnt_perr.c: Likewise.
71313         * sunrpc/clnt_tcp.c: Likewise.
71314         * sunrpc/clnt_udp.c: Likewise.
71315         * sunrpc/clnt_unix.c: Likewise.
71316         * sunrpc/openchild.c: Likewise.
71317         * sunrpc/svc_simple.c: Likewise.
71318         * sunrpc/svc_tcp.c: Likewise.
71319         * sunrpc/svc_udp.c: Likewise.
71320         * sunrpc/svc_unix.c: Likewise.
71321         * sunrpc/xdr.c: Likewise.
71322         * sunrpc/xdr_array.c: Likewise.
71323         * sunrpc/xdr_rec.c: Likewise.
71324         * sunrpc/xdr_ref.c: Likewise.
71325         * sunrpc/xdr_stdio.c: Likewise.
71327 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71329         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71331 2011-07-03  Andreas Jaeger  <aj@suse.de>
71333         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
71334         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
71335         regenerate with gen-libm-tests.pl.
71337 2010-05-12  Petr Baudis  <pasky@suse.cz>
71339         [BZ #11589]
71340         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
71341         around j0() zero points by switching to j1().
71342         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71343         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71344         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71345         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71347 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71349         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
71350         instead of 0.
71351         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
71352         instead of 0.
71353         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71354         Patch in part by Pavel Roskin <proski@gnu.org>.
71356         [BZ #13138]
71357         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
71358         realloc.
71359         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
71360         Free memory block if necessary.
71362         [BZ #12847]
71363         * libio/genops.c (INTDEF): For string streams the _lock pointer can
71364         be NULL.  Don't lock in this case.
71366 2011-09-09  Roland McGrath  <roland@hack.frob.com>
71368         * elf/elf.h (ELFOSABI_GNU): New macro.
71369         (ELFOSABI_LINUX): Define to that.
71371 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
71373         * string/strncat.c (strncat): Undef the symbol in case it has been
71374         defined in bits/string.h.
71376 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71378         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
71380         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
71381         link map.
71383 2011-08-17  Andreas Jaeger  <aj@suse.de>
71385         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
71387 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
71388             Ian Lance Taylor  <iant@google.com>
71390         * math/libm-test.inc (lround_test): New testcase.
71391         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
71393 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
71395         * Makefile: Remove support for automatic cvs check-ins.
71396         * Makerules: Likewise.
71397         * config.make.in: Likewise.
71398         * configure.in: Likewise.
71399         * intl/Makefile: Likewise.
71400         * locale/Makefile: Likewise.
71401         * po/Makefile: Likewise.
71402         * posix/Makefile: Likewise.
71403         * sysdeps/gnu/Makefile: Likewise.
71404         * sysdeps/mach/hurd/Makefile: Likewise.
71405         * sysdeps/sparc/sparc32/Makefile: Likewise.
71407         [BZ #13118]
71408         * posix/Makefile (bug-regex32-ENV): Define.
71409         Patch by John Stanley <jpsinthemix@verizon.net>.
71411         * misc/Makefile (headers): Add bits/select2.h.
71412         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
71413         * misc/bits/select2.h: New file.
71414         * include/bits/select2.h: New file.
71415         * debug/Makefile (routines): Add fdelt_chk.
71416         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
71417         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
71418         FD_ISSET.
71419         * debug/fdelt_chk.c: New file.
71421         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
71422         * wcsmbs/test-wmemcmp.c: Likewise.
71423         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
71424         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
71426 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71428         * string/Makefile (strop-tests): Add memcmp.
71429         * string/test-wmemcmp.c: New file.
71430         * string/test-memcmp.c: Add wmemcmp support.
71432 2011-09-08  Roland McGrath  <roland@hack.frob.com>
71434         [BZ #13153]
71435         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
71436         2011-07-19 change.
71438         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
71439         garbage value in a __mach_port_mod_refs call in the cases of the
71440         task-self and thread-self ports.
71442 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71444         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
71446 2011-09-08  Andreas Schwab  <schwab@redhat.com>
71448         * elf/dl-load.c (lose): Check for non-null L.
71450 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
71452         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
71454         * elf/dl-libc.c (dlerror_run): Pass back error code from
71455         dl_catch_error.
71457         [BZ #13123]
71458         * elf/dl-load.c (lose): Free l_origin if it is valid.
71460         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
71461         names.
71462         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
71463         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
71464         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
71465         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
71466         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
71467         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
71469 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71471         * sysdeps/powerpc/fpu/e_hypot.c: New file.
71472         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
71473         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
71474         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
71475         * sysdeps/powerpc/fpu/k_cosf.c: New file.
71476         * sysdeps/powerpc/fpu/k_sinf.c: New file.
71477         * sysdeps/powerpc/fpu/s_cosf.c: New file.
71478         * sysdeps/powerpc/fpu/s_sinf.c: New file.
71479         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
71480         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
71482 2011-08-15  Alan Modra  <amodra@gmail.com>
71484         [BZ #13092]
71485         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
71486         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
71487         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
71488         ppc_mcount to static-only-routines.
71489         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
71490         __mcount_internal.
71491         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
71492         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
71494 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
71496         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
71497         for finite and infinity parameters.
71499 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
71501         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
71502         and add nop instructions for throughput optimization.
71503         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71505 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
71507         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
71508         aligned copy for power7 with vector-scalar instructions.
71509         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
71511 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
71513         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
71514         AVX check.
71516 2011-09-07  Andreas Schwab  <schwab@redhat.com>
71518         [BZ #13144]
71519         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
71520         last change.
71522 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
71524         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71525         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
71526         syscall wrapper around clock_gettime in __vdso_clock_gettime.
71527         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
71528         clock_gettime.
71530 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
71532         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
71533         Forgot to demangle the pointer.
71535         * sysdeps/i386/sysdep.h: Define atom_text_section.
71536         * sysdeps/x86_64/sysdep.h: Likewise.
71537         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
71538         section with atom_text_section.
71539         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
71540         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
71541         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
71542         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
71543         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
71545         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
71546         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
71547         already be defined.  Change to take two parameters and don't assign
71548         result to variable.  Adjust all users.
71549         Define INTERNAL_GETTIME if not already defined.
71550         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
71551         call.
71552         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
71553         HAVE_CLOCK_GETTIME_VSYSCALL.
71554         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
71556         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
71557         gettimeofday vsyscall, just use time.
71559 2011-09-06  Andreas Schwab  <schwab@redhat.com>
71561         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
71562         <errno.h>.
71564 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
71566         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
71567         syscall on x86-64.
71568         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
71569         syscall.
71570         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
71571         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
71572         syscall if possible.
71574 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71576         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
71577         e_ident.  Don't pass to find_mapsXX.
71578         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
71580 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71582         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71583         strchr-sse2-no-bsf strrchr-sse2-no-bsf
71584         * sysdeps/x86_64/multiarch/strchr.S: Update.
71585         Check bit_slow_BSF bit.
71586         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
71587         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
71588         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
71590 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71592         [BZ #13134]
71593         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
71594         before glibc 2.15.
71595         (tryshell): Define.
71596         (__spawni): Change last parameter to be flag.  Test
71597         SPAWN_XFLAGS_USE_PATH flag to use path or not.
71598         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
71599         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
71600         * posix/spawni.c: Likewise.
71601         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
71602         * posix/spawnp.c: Likewise.  Change normal version to use
71603         SPAWN_XFLAGS_USE_PATH.
71604         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
71605         SPAWN_XFLAGS_TRY_SHELL.
71607         [BZ #13150]
71608         * posix/glob.h: Remove gcc 1.x support.
71610         [BZ #13068]
71611         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
71613 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71615         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71616         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
71617         strrchr-sse2-bsf
71618         * sysdeps/i386/i686/multiarch/strchr.S: New file.
71619         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
71620         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
71621         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
71622         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
71623         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
71625 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71627         * sysdeps/x86_64/wcscmp.S: New file.
71629         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
71630         wcscmp-c wcscmp-sse2
71631         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
71632         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
71633         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
71634         * wcsmbs/wcscmp.c: Allow renaming.
71636 2011-09-05  David S. Miller  <davem@davemloft.net>
71638         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
71639         stack slot, rather than the struct return pointer slot.
71640         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
71641         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
71642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
71643         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
71645 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71647         * po/ja.po: Update from translation team.
71649         [BZ #13144]
71650         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
71651         kernel in 64-bit binaries.
71653 2011-09-01  David S. Miller  <davem@davemloft.net>
71655         * elf/elf.h (HWCAP_SPARC_*): Move to..
71656         * sysdeps/sparc/sysdep.h: this new file and add new values.
71657         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
71658         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
71659         _DL_HWCAP_COUNT to 24.
71660         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
71661         entries.
71662         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
71663         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
71664         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
71665         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
71666         instead of magic constants.
71667         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71669 2011-08-31  David S. Miller  <davem@davemloft.net>
71671         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
71672         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
71673         Reimplement to do errno handling inline.
71674         (SYSCALL_ERROR_HANDLER): New macro.
71675         (__SYSCALL_STRING): Do not do errno handling in asm.
71676         (__CLONE_SYSCALL_STRING): Delete.
71677         (__INTERNAL_SYSCALL_STRING): Delete.
71678         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
71679         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
71680         (PSEUDO): Reimplement to do errno handling inline.
71681         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
71682         (SYSCALL_ERROR_HANDLER): New macro.
71683         (__SYSCALL_STRING): Do not do errno handling in asm.
71684         (__CLONE_SYSCALL_STRING): Delete.
71685         (__INTERNAL_SYSCALL_STRING): Delete.
71686         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
71687         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
71688         i386.
71689         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
71690         (inline_syscall*): Add 'err' argument.
71691         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
71692         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
71693         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
71694         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
71696         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
71697         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
71699 2011-08-30  Andreas Schwab  <schwab@redhat.com>
71701         * elf/rtld.c (dl_main): Relocate objects in dependency order.
71703 2011-08-29  Jiri Olsa <jolsa@redhat.com>
71705         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
71706         directive.
71708 2011-08-24  David S. Miller  <davem@davemloft.net>
71710         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
71712 2011-08-24  Andreas Schwab  <schwab@redhat.com>
71714         * elf/Makefile: Add rules to build and run unload8 test.
71715         * elf/unload8.c: New file.
71716         * elf/unload8mod1.c: New file.
71717         * elf/unload8mod1x.c: New file.
71718         * elf/unload8mod2.c: New file.
71719         * elf/unload8mod3.c: New file.
71721         * elf/dl-close.c (_dl_close_worker): Reset private search list if
71722         it wasn't used.
71724 2011-08-23  David S. Miller  <davem@davemloft.net>
71726         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
71727         subtract stack bias.
71728         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
71729         %sp not %fp in calculations.
71730         (_JMPBUF_UNWINDS_ADJ): Likewise.
71732         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
71733         (aio_suspend): Call it to force an exception region around the
71734         AIO_MISC_WAIT() invocation.
71736 2011-08-23  Andreas Schwab  <schwab@redhat.com>
71738         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
71739         backslash.
71741 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
71743         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
71744         protection macro.
71745         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
71746         and <dl-machine.h>.
71747         (Elf64_FuncDesc): Remove.
71749 2011-08-22  David S. Miller  <davem@davemloft.net>
71751         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
71752         sigaltstack check, add missing cfi directives.
71753         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
71754         missing cfi directives, and sigaltstack handling.
71756 2011-08-16  Andreas Schwab  <schwab@redhat.com>
71758         [BZ #11724]
71759         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
71760         object is seen twice.
71761         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71763         * elf/Makefile (distribute): Add tst-initorder2.c.
71764         (tests): Add tst-initorder2.
71765         (modules-names): Add tst-initorder2a tst-initorder2b
71766         tst-initorder2c tst-initorder2d.  Add rules to build them.
71767         ($(objpfx)tst-initorder2.out): New rule.
71768         * elf/tst-initorder2.c: New file.
71769         * elf/tst-initorder2.exp: New file.
71771 2011-08-22  Andreas Schwab  <schwab@redhat.com>
71773         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
71775         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
71776         dependencies back to end of function.
71778         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71779         $(elfobjdir)/ld.so.
71781 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
71783         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
71784         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
71785         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
71786         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
71787         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
71788         of __vdso_gettimeofday.
71789         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
71790         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
71791         attribute_hidden.
71792         (_libc_vdso_platform_setup): Remove initialization of
71793         __vdso_gettimeofday and __vdso_time.
71795 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71797         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
71798         and fgetc_unlocked.
71799         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
71800         getc_unlocked.
71802         * elf/dl-open.c (add_to_global): Report additions to the global scope
71803         for LD_DEBUG=scopes.
71804         (dl_open_worker): Also print scope of newly loaded dependencies.
71805         (_dl_show_scope): Indicate if there is no scope.
71807         [BZ #13114]
71808         * stdio-common/Makefile (tests): Add bug24.
71809         * stdio-common/bug24.c: New file.
71811 2011-08-19  Andreas Jaeger  <aj@suse.de>
71813         [BZ #13114]
71814         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
71815         non-existant file when using close-on-exec mode.
71817 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71819         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
71820         the very first instruction.
71822         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
71823         the CFI state in the end.
71824         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
71825         inclusion of dl-trampoline.h.
71826         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
71828 2011-08-19  Andreas Schwab  <schwab@redhat.com>
71830         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
71831         expectations for long double.
71833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
71834         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
71836 2011-08-14  David S. Miller  <davem@davemloft.net>
71838         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
71839         artificual limit depends upon the system page size.
71841 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
71843         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
71844         * resolv/Makefile: Define CFLAGS-libresolv.
71846 2011-08-17  Andreas Schwab  <schwab@redhat.com>
71848         * nss/makedb.c (compute_tables): Make variables used in nested
71849         function static.
71851 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
71853         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
71854         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
71855         if buffer was too small.
71857         * elf/pldd.c (main): Attach to all threads in the process.
71858         Rewrite /proc handling to use *at functions.
71860 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
71862         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
71863         specifies first scope to show.
71864         (dl_open_worker): Update callers.  Move printing scope of new
71865         object to before the relocation.
71866         * elf/rtld.c (dl_main): Update _dl_show_scope call.
71867         * sysdeps/generic/ldsodefs.h: Update declaration.
71869         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
71870         string for the scope number.
71872 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
71874         * nscd/servicescache.c (cache_addserv): Make sure written is always
71875         initialized.
71877 2011-08-14  Roland McGrath  <roland@hack.frob.com>
71879         * sysdeps/i386/i486/bits/atomic.h
71880         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
71881         statement expression, so as to suppress "set but not used" warning.
71882         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
71884         * string/strncat.c (STRNCAT): Use prototype definition.
71886         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
71887         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
71888         -Iprograms here.
71889         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
71890         (localedef-modules): Add localedef.
71891         (locale-modules): Add locale.
71893         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
71894         * elf/rtld.c (dl_main): Invert order of assignment in last change,
71895         to avoid a warning.
71897 2011-08-14  David S. Miller  <davem@davemloft.net>
71899         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
71900         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
71902 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
71904         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
71905         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
71906         * elf/rtld.c (dl_main): Set l_name of vDSO.
71907         Call _dl_show_scope when DL_DEBUG_SCOPES.
71908         (process_dl_debug): Recognize scopes flag and also set it for all.
71909         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
71910         Declare _dl_show_scope.
71912         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
71913         (do_dlopen): Pass caller_dlopen to dl_open.
71914         (__libc_dlopen_mode): Initialize caller_dlopen.
71916         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
71917         of libc.  Make tolower call locale-independent.  Optimize a bit by
71918         using isdigit instead of isalnum.
71919         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
71921 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
71923         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
71924         was a dependency or dynamically loaded.
71926 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
71928         * intl/l10nflist.c: Allow architecture-specific pop function.
71929         * sysdeps/x86_64/l10nflist.c: New file.
71931         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
71932         classification.
71934 2011-08-10  Andreas Schwab  <schwab@redhat.com>
71936         * include/dirent.h: Add libc_hidden_proto for scandirat and
71937         scandirat64.  Don't declare __scandirat64.
71938         * dirent/scandirat.c: Add libc_hidden_def.
71939         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
71940         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
71942 2011-08-10  David S. Miller  <davem@davemloft.net>
71944         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
71945         enum.
71946         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
71947         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
71948         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
71950 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
71952         * Versions.def [libc]: Add GLIBC_2.15.
71953         * dirent/Makefile (routines): Add scandirat and scandirat64.
71954         * dirent/Versions [libc]: Export scandirat and scandirat64 for
71955         GLIBC_2.15.
71956         * dirent/dirent.h: Declare scandirat and scandirat64.
71957         * dirent/scandirat.c: New file.
71958         * dirent/scandirat64.c: New file.
71959         * sysdeps/wordsize-64/scandirat.c: New file.
71960         * sysdeps/wordsize-64/scandirat64.c: New file.
71961         * dirent/opendir.c: Define opendirat.
71962         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
71963         using scandirat.
71964         * dirent/scandir64.c: Adjust for scandir.c change.
71965         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
71966         __scandirat64, and __scandir_cancel_handler.
71967         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
71968         additional parameter and use openat instead of open (outside of ld.so).
71969         Add new __opendir as wrapper around __opendirat.
71970         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
71971         here without requiring old scandirat implementation.
71973 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
71975         * dirent/scandir.c (cancel_handler): Renamed to
71976         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
71977         defined.  Adjust users.
71978         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
71979         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
71981 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
71983         * string/test-string.h (IMPL): Use __STRING to expand name and then
71984         stringify it.
71986         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
71987         of cleanups.
71989 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71991         * string/Makefile: Update.
71992         (strop-tests): Append strncat.
71993         * string/test-wcscmp.c: New file.
71994         New comprehensive test for wcscmp.
71995         * string/test-strcmp.c: Update.
71996         (WIDE): New define.
71998 2011-07-22  Andreas Schwab  <schwab@redhat.com>
72000         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
72001         line.
72003 2011-07-26  Andreas Schwab  <schwab@redhat.com>
72005         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
72006         encoding to ACE if AI_IDN.
72008 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
72010         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
72011         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
72013 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72015         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
72016         Fix overflow bug in strncat.
72017         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
72019         * string/test-strncat.c: Update.
72020         Add new tests for checking overflow bugs.
72022 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72024         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72025         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
72026         * sysdeps/i386/i686/multiarch/strcat.S: New file.
72027         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
72028         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
72029         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
72030         * sysdeps/i386/i686/multiarch/strncat.S: New file.
72031         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
72032         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
72034         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
72035         (USE_AS_STRCAT): Define.
72036         Add strcat and strncat support.
72037         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
72039 2011-07-25  Andreas Schwab  <schwab@redhat.com>
72041         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
72042         __n bigger than INT_MAX+1.
72043         (__strncmp_g): Likewise.
72045 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
72047         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
72048         * libio/stido.h: Likewise.
72050         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
72051         (AF_NFC): Define.
72052         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
72053         (AF_NFC): Define.
72055         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
72056         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
72057         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
72058         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
72059         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72061         [BZ #13021]
72062         * scripts/test-installation.pl: Don't expect libnss_test1 to be
72063         installed.
72065         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
72066         typo.
72067         (_dl_x86_64_save_sse): Likewise.
72069 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
72071         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
72072         OSXSAVE.
72073         (_dl_x86_64_save_sse): Likewise.
72075         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
72077         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
72079 2011-07-21  Andreas Schwab  <schwab@redhat.com>
72081         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
72082         change.
72083         (_dl_x86_64_save_sse): Use correct AVX check.
72085 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72087         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
72088         bug in strncpy/strncat.
72089         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
72091 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
72093         * string/tester.c (test_strcat): Add tests for different alignments
72094         of source and destination.
72095         (test_strncat): Likewise.
72097 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72099         [BZ #12852]
72100         * posix/glob.c (glob): Check passed in values before using them in
72101         expressions to avoid some overflows.
72102         (glob_in_dir): Likewise.
72104         [BZ #13007]
72105         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
72106         check for AVX enablement so that we don't crash with old kernels and
72107         new hardware.
72108         * elf/tst-audit4.c: Add same checks here.
72109         * elf/tst-audit6.c: Likewise.
72111         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
72113 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
72115         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
72117 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72119         * po/cs.po: Update from translation team.
72120         * po/bg.po: Likewise.
72122 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
72124         * misc/sys/cdefs.h: Add support for const attribute.
72125         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
72126         to gnu_dev_{major,minor,makedev} functions.
72128 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
72130         * intl/dcigettext.c (get_output_charset): Add missing bracket.
72132 2011-07-20  Andreas Schwab  <schwab@redhat.com>
72134         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
72135         strlen results.
72137 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72139         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
72140         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
72141         register in order to avoid conflicts with the soft frame pointer
72142         being held in r11 when necessary.
72143         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
72144         (INTERNAL_VSYSCALL_NCS): Likewise.
72146 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
72148         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
72149         * elf/dl-fini.c (_dl_fini): Adjust caller.
72150         * elf/dl-close.c (_dl_close_worker): Likewise.
72151         * sysdeps/generic/ldsodefs.h: Adjust declaration.
72153 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72155         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
72156         "aux_cache->nlibs < 0".
72158         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
72159         in the reload-count case.
72161 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72163         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72164         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
72165         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
72166         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
72167         * sysdeps/x86_64/multiarch/strcat.S: New file.
72168         * sysdeps/x86_64/multiarch/strncat.S: New file.
72169         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
72170         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
72171         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
72172         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
72173         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
72174         (USE_AS_STRCAT): Define.
72175         Add strcat and strncat support.
72176         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72177         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
72178         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
72179         * string/strncat.c: Update.
72180         (USE_AS_STRNCAT): Define.
72181         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72182         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
72183         and i7.
72184         * sysdeps/x86_64/multiarch/init-arch.h
72185         (bit_Prefer_PMINUB_for_stringop): New.
72186         (index_Prefer_PMINUB_for_stringop): Likewise.
72187         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
72188         bit_Prefer_PMINUB_for_stringop.
72190 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72192         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
72193         buffer64.
72194         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
72195         of casting of buffer.
72196         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
72197         buffer32 and buffer64.
72198         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
72199         writes instead of casting of buffer.
72200         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
72201         buffer32.
72202         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
72203         casting of buffer.
72205 2011-07-19  Andreas Schwab  <schwab@redhat.com>
72207         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
72209 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72211         * nscd/nscd.c (termination_handler): Don't do anything for a database
72212         if it has not yet been initialized.
72214 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72216         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72218 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72220         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72222 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72224         * po/nl.po: Update from translation team.
72225         * po/sv.po: Likewise.
72227 2011-07-16  Roland McGrath  <roland@hack.frob.com>
72229         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
72230         now disallowed by GCC.
72232         * configure.in (use-default-link): Default to yes if a test -shared
72233         link meets our qualifications.
72234         * configure: Regenerated.
72236         * config.make.in (output-format): New variable.
72237         * configure.in: Check for ld --print-output-format support.
72238         * configure: Regenerated.
72239         * Makerules ($(common-objpfx)format.lds)
72240         [$(output-format) != unknown]: Just use $(output-format),
72241         instead of the linker-script munging.
72243 2011-07-14  Roland McGrath  <roland@hack.frob.com>
72245         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
72246         of $(common-objpfx)shlib.lds.
72247         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
72249         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
72250         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
72252         * configure.in (-z relro check): Adjust test code to add a large
72253         writable data section after it.
72254         * configure: Regenerated.
72256 2011-07-11  Roland McGrath  <roland@hack.frob.com>
72258         * configure.in (-z relro check): Fix test code to make the variable
72259         truly const.
72260         * configure: Regenerated.
72262 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
72264         * nscd/nscd.h (struct traced_file): Define.
72265         (struct database_dyn): Remove inotify_descr, reset_res, and filename
72266         elements.  Add traced_files.
72267         (inotify_fd): Declare.
72268         (register_traced_file): Declare.
72269         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
72270         (inotify_fd): Export.
72271         (resolv_conf_descr): Remove.
72272         (nscd_init): Move inotify descriptor creation to main.
72273         Don't register files for notification here.
72274         (register_traced_file): New function.
72275         (invalidate_cache): Don't use reset_res to determine whether to call
72276         res_init, go through the list of registered files.
72277         (main_loop_poll): The inotify descriptors are now stored in the
72278         structures for the traced files.
72279         (main_loop_epoll): Likewise.
72280         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
72281         to __nss_disable_nscd.
72282         * nscd/cache.c (prune_cache): There is no single inotify descriptor
72283         for a database anymore.  Check the records for all the registered
72284         files instead.
72285         * nss/Makefile (libnss_files-routines): Add files-init.
72286         (libnss_db-routines): Add db-init.
72287         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
72288         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
72289         * nss/nss_db/db-init.c: New file.
72290         * nss/nss_files/files-init.c: New file.
72291         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
72292         __nss_lookup_function.
72293         (__nss_lookup_function): Call nss_load_library.
72294         (nss_load_all_libraries): New function.
72295         (__nss_disable_nscd): Take parameter with callback function for files
72296         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
72297         used for the cached services.
72298         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
72299         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
72300         options for features to all the files in nscd.
72302         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
72304 2011-07-10  Roland McGrath  <roland@hack.frob.com>
72306         * csu/elf-init.c (__libc_csu_init): Comment typo.
72308 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
72310         * po/pl.po: Update from translation team.
72311         * po/ja.po: Likewise.
72312         * po/ru.po: Likewise.
72313         * po/ko.po: Likewise.
72314         * po/fr.po: Likewise.
72316 2011-07-09  Roland McGrath  <roland@hack.frob.com>
72318         * configure.in (.ctors/.dtors header and trailer check):
72319         Use an empirical test on a built program.
72320         * configure: Regenerated.
72322         * configure.in (-z relro check): Use an empirical test on a built DSO.
72323         Detect, but do not require, on ia64.
72324         * configure: Regenerated.
72326         * configure.in (READELF): Find it with AC_CHECK_TOOL.
72327         Update tests that use readelf to use $READELF instead.
72328         * configure: Regenerated.
72330 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
72332         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
72333         if the result is not used.
72335 2011-07-05  Andreas Jaeger  <aj@suse.de>
72337         [BZ#9696]
72338         * stdlib/tst-strtod.c: Add testcase.
72340 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
72342         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
72343         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
72344         The latter has a higher limit.  Take additional parameter to pass to
72345         the new function.
72346         (__pathconf): Pass file to __statfs_link_max.
72347         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
72348         __statfs_link_max.
72349         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
72350         __statfs_link_max.
72352         [BZ #12868]
72353         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
72354         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72355         Handle Lustre.
72356         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
72357         (__statfs_filesize_max): Likewise.
72358         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
72360 2011-07-05  Andreas Jaeger  <aj@suse.de>
72362         * resolv/res_comp.c (dn_skipname): Remove unused variable.
72364 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
72366         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
72367         `status' variable.
72368         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
72369         Likewise.
72371 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
72373         * Makefile (strop-tests): Add strncat.
72374         * string/test-strncat.c: New file.
72376 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
72378         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
72380 2011-06-21  Andreas Jaeger  <aj@suse.de>
72382         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
72383         Copy rule from iconvdata/Makefile.
72385 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
72387         [BZ #12922]
72388         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
72389         but no long options are defined, just return 'W'.
72391 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
72393         [BZ #9696]
72394         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
72396 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
72398         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
72399         netgroups to read.
72400         (innetgr): Likewise.
72402 2011-07-05  Roland McGrath  <roland@hack.frob.com>
72404         * config.make.in (install_root): Default to $(DESTDIR).
72406 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
72408         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
72410 2011-07-02  Roland McGrath  <roland@hack.frob.com>
72412         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
72414         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
72415         containing directory rather than embedding absolute directory names.
72417         * scripts/check-local-headers.sh: Rewritten using awk.
72418         Match by word, not by line.  Print error messages for matches.
72419         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
72421         * Makerules [shlib-lds-flags empty]:
72422         ($(common-objpfx)libc_pic.opts): New target.
72423         ($(common-objpfx)libc_pic.os.clean): New target.
72424         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
72426         * config.make.in (OBJCOPY): New variable.
72427         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
72428         * configure: Regenerated.
72430         * config.make.in (use-default-link): New variable.
72431         * configure.in (use_default_link): Grok --with-default-link to set it.
72432         * configure: Regenerated.
72433         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
72434         (shlib-lds, shlib-lds-flags): Define to empty.
72436         * Makerules (shlib-lds): New variable.
72437         (shlib-lds-flags): New variable.
72438         (build-shlib, build-moduile, build-module-asneeded): Use it.
72439         ($(common-objpfx)libc.so): Use $(shlib-lds).
72440         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
72441         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
72443         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
72444         DT_FLAGS/DT_FLAGS_1 with zero flags.
72446         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
72447         linker script munging.
72449 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
72451         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
72452         as 128-bit value.
72453         * crypt/sha512.c (sha512_process_block): Perform total addition using
72454         128-bit if possible.
72455         (__sha512_finish_ctx): Likewise.
72456         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
72457         as 64-bit value.
72458         * crypt/sha256.c (SWAP64): Define.
72459         (sha256_process_block): Perform total addition using 64-bit if
72460         possible.
72461         (__sha256_finish_ctx): Likewise.
72463 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
72465         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
72466         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72467         * nscd/hstcache.c (cache_addhst): Likewise.
72468         * nscd/grpcache.c (cache_addgr): Likewise.
72469         * nscd/aicache.c (addhstaiX): Likewise.
72470         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
72472 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
72474         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
72475         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72476         * nscd/hstcache.c (cache_addhst): Likewise.
72477         * nscd/grpcache.c (cache_addgr): Likewise.
72478         * nscd/aicache.c (addhstaiX): Likewise.
72480 2011-07-01  Andreas Schwab  <schwab@redhat.com>
72482         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
72483         domain only when needed.
72485 2011-06-30  Andreas Schwab  <schwab@redhat.com>
72487         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
72488         is always restored.
72490 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
72492         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
72493         are re-adding the entry.
72494         * nscd/servicescache.c (cache_addserv): Likewise.
72496 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
72498         * sysdeps/generic/dl-irel.h: fix protection against multiple
72499         inclusions.
72500         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
72502 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
72504         [BZ #12935]
72505         * malloc/memusage.sh: Fix quoting in message.
72506         * debug/xtrace.sh: Likewise.
72508         * configure.in: Remove support for --experimental-malloc option, make
72509         it the default.
72510         * config.make.in: Likewise.
72511         * malloc/Makefile: Likewise.
72513 2011-06-27  Andreas Schwab  <schwab@redhat.com>
72515         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
72516         two-byte characters.
72518 2011-06-27  Roland McGrath  <roland@hack.frob.com>
72520         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
72521         AC_CACHE_CHECK invocation.
72522         * configure: Regenerated.
72524         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
72526 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
72528         [BZ #12350]
72529         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
72530         bit from old_res_options.
72532         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
72534         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
72535         value type for setfct.
72537 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
72539         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
72540         __gettimeofday instead of gettimeofday.
72542 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
72544         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
72546 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
72548         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
72550         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
72551         info.
72553 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
72555         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72556         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
72557         strcpy-sse2-unaligned strncpy-sse2-unaligned
72558         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
72559         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
72560         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
72561         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
72562         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
72563         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
72564         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
72565         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
72566         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
72567         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
72568         (STRCPY): Support SSE2 and SSSE3 versions.
72570 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
72572         [BZ #12874]
72573         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
72574         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
72575         kernels which artificially limit size of requests.
72577 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
72579         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72580         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
72581         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
72582         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
72583         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
72584         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
72585         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
72586         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
72587         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
72588         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
72589         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
72590         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
72591         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
72592         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
72593         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
72594         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72595         Enable unaligned load optimization for Intel Core i3, i5 and i7
72596         processors.
72597         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
72598         Define.
72599         (index_Fast_Unaligned_Load): Define.
72600         (HAS_FAST_UNALIGNED_LOAD): Define.
72602 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
72604         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
72606 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
72608         [BZ #12907]
72609         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
72610         until it is clear that the information is realy needed.
72611         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
72613 2011-06-22  Andreas Schwab  <schwab@redhat.com>
72615         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
72617 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
72619         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
72620         /sys/devices/system/cpu/online if it is usable.
72622         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
72623         reading the information from the /proc filesystem to once a second.
72625 2011-06-21  Andreas Jaeger  <aj@suse.de>
72627         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
72628         NULL after inclusion of kernel headers.
72630 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
72632         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
72633         calls to internal_setent.
72635         [BZ #12885]
72636         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
72637         addresses using gethostbyname4_r ignore IPv4 addresses.
72639         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
72640         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
72642         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
72644 2011-06-20  David S. Miller  <davem@davemloft.net>
72646         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
72647         inclusions.
72648         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
72650         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
72651         (elf_irel): Use it.
72652         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
72653         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
72654         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
72655         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
72656         * sysdeps/x86_64/dl-irel.h: Likewise.
72658         * elf/dl-runtime.c: Use elf_ifunc_invoke.
72659         * elf/dl-sym.c: Likewise.
72661 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
72663         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
72664         need to dereference resplen2.
72666 2011-06-14  Andreas Schwab  <schwab@redhat.com>
72668         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
72670 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
72672         * Makeconfig: Define vardbdir and inst_vardbdir.
72673         * nss/Makefile: Add rules to install db-Makefile.
72675         * nss/nss_db/db-XXX.c: Cleanup.
72677         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
72678         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
72679         GLIBC_PRIVATE.
72680         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
72681         * nss/makedb.c: Implement -g option to specify that value strings
72682         are generated and should not be added to table iterated over for
72683         get*ent calls.
72684         * nss/nss_db/db-initgroups.c: New file.
72686         * nss/getent.c: Add support for initgroups lookups through getgrouplist
72687         interface.
72689         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
72690         (internal_getgrouplist): Adjust to name change.
72691         Update use_initgroups_entry if this is not the first call.
72692         * nss/databases.def: Add initgroups entry.
72694         * nss/makedb.c (compute_tables): Check result of multiple hash table
72695         sizes to minimize maximum chain length.
72697 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
72699         * Versions.def: Add entry for libnss_db.
72700         * shlib-versions: Likewise.
72701         * nss/Makefile: Add rules to build libnss_db.
72702         * nss/Versions: Add libnss_db information.  Organize libnss_files
72703         entries better.
72704         * nss/db-Makefile: Add gshadow support.  Change rules for the new
72705         makedb progra.  Some minor improvements to generate smaller files.
72706         * nss/nss_db/nss_db.h: Move NSS database header data structures to
72707         here from...
72708         * nss/makedb.c: ...here.
72709         Improve database format to be smaller and require less memory at
72710         runtime.
72711         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
72712         db anymore.
72713         * nss/nss_db/db-netgrp.c: Likewise.
72714         * nss/nss_db/db-open.c: Likewise.
72715         * nss/nss_files/flies-XXX.x: Adjust comments.
72716         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
72717         * nss/nss_files/files-grp.c: Likewise.
72718         * nss/nss_files/files-hosts.c: Likewise.
72719         * nss/nss_files/files-network.c: Likewise.
72720         * nss/nss_files/files-proto.c: Likewise.
72721         * nss/nss_files/files-pwd.c: Likewise.
72722         * nss/nss_files/files-rpc.c: Likewise.
72723         * nss/nss_files/files-service.c: Likewise.
72724         * nss/nss_files/files-sgrp.c: Likewise.
72725         * nss/nss_files/files-spwd.c: Likewise.
72726         * nss/nss_db/db-alias.c: Removed.
72727         * nss/nss_db/dummy-db.h: Removed.
72729 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
72731         * nss/makedb.c: Rewritten to not use database library.
72732         * nss/Makefile: Update to build new makedb program.
72734 2011-06-14  Andreas Jaeger  <aj@suse.de>
72736         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
72737         memset declaration.
72739 2011-06-10  Andreas Schwab  <schwab@redhat.com>
72741         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
72742         tmpbuf.
72744 2011-06-10  Roland McGrath  <roland@hack.frob.com>
72746         * Makerules (shlib.lds): Fail if the linker script comes out empty.
72747         * elf/Makefile ($(objpfx)ld.so): Likewise.
72749         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
72750         Don't list ld.so twice in dependencies.
72752         * posix/bug-regex31.c: Include <stdlib.h>.
72754         * nscd/hstcache.c (cache_addhst): Remove unused variable.
72756         * nis/nss_compat/compat-spwd.c
72757         (getspent_next_nss_netgr): Remove unused variable.
72758         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
72760         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
72761         nonmembers" output to use the right array.
72763         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
72765         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
72767         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
72768         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
72769         * catgets/gencat.c (read_input_file): Likewise.
72770         * locale/programs/locarchive.c (enlarge_archive): Likewise.
72772         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
72773         variable definition inside #if's controlling its use.
72775         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
72777         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
72779         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
72781         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
72782         unreachable code.
72784         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
72786         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
72787         * configure: Regenerated.
72789         * Makerules: Revert last change.
72790         * elf/Makefile: Likewise.
72792 2011-06-09  Roland McGrath  <roland@hack.frob.com>
72794         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
72795         * elf/Makefile ($(objpfx)librtld.os): Likewise.
72796         (reloc-link): Likewise.
72798 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
72800         * elf/Makefile: Add rules to build pldd.
72801         * elf/pldd.c: New file.
72802         * elf/pldd-xx.c: New file.
72804 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
72806         * version.h: Update for 2.15 development version.
72808 2011-06-07  David S. Miller  <davem@davemloft.net>
72810         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
72811         ifuncs.
72812         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
72813         elf_machine_lazy_rel): Likewise.
72814         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
72815         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
72816         elf_machine_lazy_rel): Likewise.
72817         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
72818         dl_hwcap via passed in argument.
72819         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
72820         Likewise.
72822 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72824         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
72826 2011-06-06  Roland McGrath  <roland@hack.frob.com>
72828         [BZ #12849]
72829         * manual/fdl-1.1.texi: New file, verbatim from:
72830         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
72831         * manual/lgpl-2.1.texi: New file, verbatim from:
72832         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
72833         * manual/Makefile (licenses): New variable, list those new file names.
72834         (texis): Use it.
72835         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
72837         * manual/fdl.texi: File removed.
72838         * manual/lesser.texi: File removed.
72839         * manual/libc.texinfo (Copying, Documentation License):
72840         Use new @include file names, put @appendix directive before @include.
72842 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
72844         [BZ #12841]
72845         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
72846         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
72847         (mq_open): Add __NTH.
72849 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
72851         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72852         Assume Intel Core i3/i5/i7 processor if AVX is available.
72854 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
72856         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
72857         typo.
72859 2011-05-31  Andreas Schwab  <schwab@redhat.com>
72861         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
72862         memory.  Use alloca_account.  Fix memory leak when retrying.
72864 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
72866         * version.h (RELEASE): Bump for 2.14 release.
72867         * include/features.h (__GLIBC_MINOR__): Bump to 14.
72869         * config.make.in (RANLIB): Remove entry.
72871 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
72873         * po/Makefile (po-sed-cmd): Add ksh to extensions.
72874         (libc.pot): Work around missing support for .ksh extension in xgettext.
72876         [BZ #12684]
72877         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
72878         if both request failed.
72879         (send_dg): In case of server errors clear resplen or *resplen2.
72881         [BZ #12454]
72882         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
72883         when there are multiple maps.
72884         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
72885         (_dl_fini): Remove test here.
72887         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
72889 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
72891         [BZ #12350]
72892         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
72893         bit from old_res_options.
72894         (gaih_inet): Likewise.
72896         [BZ #11099]
72897         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
72898         as signed.
72900         * resolv/res_init.c (res_setoptions): Make the code more compact.
72902         [BZ #11558]
72903         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
72904         set RES_USEVC.
72906         [BZ #11634]
72907         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
72909         * malloc/malloc.h: Mark malloc hook variables as deprecated.
72911         [BZ #11781]
72912         * malloc/malloc.h: Declare malloc hook variables as volatile.
72914         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
72915         in last patch.
72917         [BZ #11799]
72918         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
72919         raise in the comment.
72920         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72921         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72922         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
72924 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
72926         [BZ #12811]
72927         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
72928         grow the buffers more if it already has to be sufficient.
72929         (build_wcs_upper_buffer): Likewise.
72930         * posix/regexec.c (check_matching): Likewise.
72931         (clean_state_log_if_needed): Likewise.
72932         (extend_buffers): Don't enlarge buffers beyond size of the input
72933         buffer.
72934         Patches mostly by Emil Wojak <emil@wojak.eu>.
72935         * posix/bug-regex32.c: New file.
72936         * posix/Makefile (tests): Add bug-regex32.
72938         * locale/findlocale.c (_nl_find_locale): Return right away if
72939         _nl_explode_name failed.
72940         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
72942         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
72944         * debug/xtrace.sh: Unify messages.
72945         * malloc/memusage.sh: Likewise.
72947         [BZ #12813]
72948         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
72949         time symbol from vDSO.  Substitute with vsyscall if not available.
72950         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
72951         __vdso_time.
72953         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
72954         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
72955         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
72956         Add sendmmsg and internal_sendmmsg.
72957         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
72958         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
72959         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
72961         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
72962         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
72963         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
72965 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
72967         [BZ #12813]
72968         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
72969         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
72970         available.
72971         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
72972         __vdso_getcpu.
72974         [BZ #12814]
72975         * iconvdata/Makefile (tests): Add bug-iconv9.
72976         * iconvdata/bug-iconv9.c: New file.
72978 2011-05-27  Andreas Schwab  <schwab@redhat.com>
72980         [BZ #12814]
72981         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
72983 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
72985         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
72986         (struct user_regs_struct): Change intcs field back to cs.
72988 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
72990         * po/ja.po: Update from translation team.
72992 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
72994         [BZ #12795]
72995         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
72996         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
72998 2011-05-20  Andreas Schwab  <schwab@redhat.com>
73000         * stdlib/longlong.h: Update from GCC.
73002 2011-05-23  Andreas Schwab  <schwab@redhat.com>
73004         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
73005         parameter name.
73006         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
73007         Add parameter name.
73008         (__sysconf): Pass it down.
73010 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
73012         [BZ #12671]
73013         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
73014         some situations.
73015         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
73016         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
73017         add in in __libc_use_alloca calls.  Adjust callers.
73018         (glob): Use malloc in some situations.
73020         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
73021         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
73022         pltexit.
73024 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
73026         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
73027         and CLOCK_BOOTTIME_ALARM.
73029         [BZ #12782]
73030         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
73031         is returned.
73033         * string/_strerror.c (__strerror_r): Print negative errors as signed
73034         numbers.
73036         [BZ #12777]
73037         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
73038         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
73039         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
73041         * configure.in: Fix typo in redirection and correct removal of test
73042         files in two cases.
73044         [BZ #12788]
73045         * locale/setlocale.c (new_composite_name): Fix test to check for
73046         identical name of all categories.
73048         [BZ #12792]
73049         * libio/filedoalloc.c (local_isatty): New function.
73050         (_IO_file_doallocate): Use local_isatty.
73051         * stdio-common/perror.c (perror): In case a new stream is used
73052         forward the stream error.
73053         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
73054         error flag.
73056 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
73058         [BZ #11884]
73059         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
73060         alloca.
73061         * include/alloca.h (extend_alloca_account): Define.
73063         [BZ #11857]
73064         * posix/regex.h: Fix comments with documentation of user-accessible
73065         fields after compilation and describe correct free'ing of pattern
73066         after re_compile_pattern.
73067         Patch by Reuben Thomas <rrt@sc3d.org>.
73069 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
73071         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
73072         and -mno-altivec to prevent the compiler from using Altivec and/or
73073         VSX instructions when the corresponding registers are not available.
73075 2011-05-19  Andreas Schwab  <schwab@redhat.com>
73077         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
73079 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
73081         * libio/freopen.c (freopen): Use __dup2, not dup2.
73082         * libio/freopen64.c (freopen64): Likewise.
73084 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73086         [BZ #12775]
73087         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
73088         * math/Makefile (tests): Add test-powl.
73089         (CFLAGS-test-powl.c): Define.
73090         * math/test-powl.c: New file.
73092 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73094         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
73096 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
73098         [BZ #11837]
73099         * iconvdata/gb18030.c: Update to GB18020-2005.
73101 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
73103         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
73104         RE_SYNTAX_POSIX_AWK): Update to match recent development.
73105         Patch by Aharon Robbins <arnold@skeeve.com>.
73107         [BZ #11892]
73108         * stdlib/putenv.c (putenv): Don't always create copy of the variable
73109         on the stack.
73111         [BZ #11895]
73112         * misc/pselect.c (__pselect): Handle timeout value errors hidden
73113         through underflows.
73115         [BZ #12766]
73116         * misc/error.c (error_at_line): Ensure file_name and old_file_name
73117         point to strings before performing equality test for error_one_per_line
73118         mode.
73120         [BZ #11697]
73121         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
73123         [BZ #11820]
73124         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73125         (struct user_fpregs_struct): Avoid __uint*_t types.
73127         [BZ #6420]
73128         * malloc/mtrace.c (tr_where): Add additional parameter to point to
73129         symbol info.  Use it instead of calling _dl_addr locally.
73130         (lock_and_info): New function.
73131         (tr_freehook): Call lock_and_info and pass symbol info as additional
73132         parameter to tr_where.
73133         (tr_mallochook): Likewise.
73134         (tr_reallochook): Likewise.
73135         (tr_memalignhook): Likewise.
73137         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
73138         used and couldn't be at all thread-safe.
73140 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
73142         * libio/freopen.c (freopen): Don't close old file descriptor
73143         before the new one is opened.  Instead dup the new file descriptor
73144         to the old one after the new stream is created.
73145         * libio/freopen64.c (freopen64): Likewise.
73146         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
73147         * libio/fileops.c (_IO_new_file_close_it): Handle new
73148         _IO_FLAGS2_NOCLOSE flag.
73149         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
73150         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
73151         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
73152         _IO_FLAGS2_NOCLOSE flag.
73153         * include/unistd.h: Add hidden_proto for dup3.
73154         Define __have_dup3.
73155         * io/dup3.c: Define hidden symbol.
73156         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
73158         [BZ #7101]
73159         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
73160         when an incomplete long option is used.
73161         * posix/tst-getopt_long1.c: New file.
73162         * posix/Makefile (tests): Add tst-getopt_long1.
73164         [BZ #10138]
73165         * scripts/config.guess: Update from autoconf-2.68.
73166         * scripts/config.sub: Likewise.
73168         [BZ #10157]
73169         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
73170         tests into ...
73171         (has_cpuclock): ...this.  New function.
73172         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
73173         macro here based on has_cpuclock code.
73175         [BZ #10149]
73176         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73177         First byte (not low byte) is now always NUL.
73178         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
73180         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73181         Use non-cancelable interfaces.
73183         [BZ #9809]
73184         * locale/iso-639.def: Add entry for Sorani.
73186         [BZ #11901]
73187         * include/stdlib.h: Move include protection to the right place.
73188         Define abort_msg_s.  Declare __abort_msg with it.
73189         * stdlib/abort.c (__abort_msg): Adjust type.
73190         * assert/assert.c (__assert_fail_base): New function.  Majority
73191         of code from __assert_fail.  Allocate memory for __abort_msg with
73192         mmap.
73193         (__assert_fail): Now call __assert_fail_base.
73194         * assert/assert-perr.c: Remove bulk of implementation.  Use
73195         __assert_fail_base.
73196         * include/assert.hL Declare __assert_fail_base.
73197         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
73198         mmap.
73199         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
73201 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
73203         [BZ #11952]
73204         [BZ #12453]
73205         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
73206         until all modules are registered in the DTV.
73207         * elf/Makefile: Add rules to build and run tst-tls19.
73208         * elf/tst-tls19.c: New file.
73209         * elf/tst-tls19mod1.c: New file.
73210         * elf/tst-tls19mod2.c: New file.
73211         * elf/tst-tls19mod3.c: New file.
73212         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
73214         [BZ #12083]
73215         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
73216         correctly.
73218         [BZ #12601]
73219         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
73220         two-byte sequence errors.
73221         * iconvdata/Makefile (tests): Add bug-iconv8.
73222         * iconvdata/bug-iconv8.c: New file.
73224         [BZ #12626]
73225         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
73226         buf2 definition.
73228         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
73230         [BZ #12432]
73231         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
73232         (dummy_getcfa): New function.
73233         (init): Get _Unwind_GetCFA address, use dummy if not found.
73234         (backtrace_helper): In recursion check, also check whether CFA changes.
73235         (__backtrace): Completely initialize arg.
73237         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
73238         storing incomplete byte sequence in state object.  Avoid testing for
73239         guaranteed too small input if we know there is enough data available.
73241 2011-05-11  Andreas Schwab  <schwab@redhat.com>
73243         * Makeconfig (+link-pie): Indent.
73244         * Rules (binaries-pie): Define if $(have-fpie) and
73245         $(build-shared).
73246         (binaries-shared): Also filter out $(binaries-pie).
73247         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
73248         * nscd/Makefile (others-pie): Add nscd.
73249         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
73250         ($(objpfx)nscd): Remove command override.
73251         * login/Makefile (others-pie): Add pt_chown.
73252         ($(objpfx)pt_chown): Remove command override.
73253         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
73254         remove command overrides.
73256 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
73258         * libio/tst_putwc.c: Fix error messages.
73260         [BZ #12724]
73261         * libio/fileops.c (_IO_new_file_close_it): Always flush when
73262         currently writing and seek to current position when not.
73263         * libio/Makefile (tests): Add bug-fclose1.
73264         * libio/bug-fclose1.c: New file.
73266 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
73268         [BZ #12511]
73269         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
73270         don't set DF_1_NODELETE here.
73271         (do_lookup_x): When entering new entry test for copy relocation
73272         and if necessary set DF_1_NODELETE flag.
73273         * elf/tst-unique4.cc: New file.
73274         * elf/tst-unique4.h: New file.
73275         * elf/tst-unique4lib.cc: New file.
73276         * elf/Makefile: Add rules to build and run tst-unique4.
73277         Patch by Piotr Bury <pbury@goahead.com>.
73279 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
73281         [BZ #12052]
73282         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
73284         [BZ #12625]
73285         * misc/mntent_r.c (addmntent): Flush the stream after the output
73287         [BZ #12393]
73288         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
73289         (is_trusted_path_normalize): Skip initial colon.  Append slash
73290         to empty buffer.  Duplicate is_trusted_path code but allow
73291         constructed patch to be prefix.
73292         (is_dst): Allow $ORIGIN followed by /.
73293         (_dl_dst_substitute): Correct clearing of check_for_trusted.
73294         Correct testing of result of is_trusted_path_normalize
73295         (decompose_rpath): Fix warning.
73297 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
73299         [BZ #11257]
73300         * grp/initgroups.c (internal_getgrouplist): When we found the service
73301         list through the initgroups entry in nsswitch.conf do not always
73302         continue on a successful lookup.  Don't always use the
73303         __nss_group_database value if it is set.
73304         * nss/nsswitch.conf (initgroups): Change action for successful db
73305         lookup to continue for compatibility.
73307 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
73309         [BZ #11532]
73310         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
73311         and CP774 modules.
73312         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
73313         and CP774 modules.
73314         * iconvdata/tst-tables.sh: Likewise.
73315         * iconvdata/cp770.c: New file.
73316         * iconvdata/cp771.c: New file.
73317         * iconvdata/cp772.c: New file.
73318         * iconvdata/cp773.c: New file.
73319         * iconvdata/cp774.c: New file.
73320         * iconvdata/testdata/CP770: New file.
73321         * iconvdata/testdata/CP770..UTF8: New file.
73322         * iconvdata/testdata/CP771: New file.
73323         * iconvdata/testdata/CP771..UTF8: New file.
73324         * iconvdata/testdata/CP772: New file.
73325         * iconvdata/testdata/CP772..UTF8: New file.
73326         * iconvdata/testdata/CP773: New file.
73327         * iconvdata/testdata/CP773..UTF8: New file.
73328         * iconvdata/testdata/CP774: New file.
73329         * iconvdata/testdata/CP774..UTF8: New file.
73331         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
73332         END CHARMAP line.
73333         * iconvdata/gen-8bit-gap.sh: Likewise.
73334         * iconvdata/gen-8bit.sh: Likewise.
73336         * locale/iso-639.def: Add ary entry.
73338         [BZ #11258]
73339         * locale/C-translit.h.in: Add U20A1 transliteration.
73341         [BZ #12178]
73342         * locale/iso-639.def: Add wae entry.
73343         Patch by Kevin Bortis <bortis@translate-wae.ch>.
73345         [BZ #12545]
73346         * locale/programs/localedef.c (construct_output_path): Use ssize_t
73347         for n.
73349         [BZ #12711]
73350         * locale/C-translit.h.in: Add entry for U20B9.
73351         Patch by pravin.d.s@gmail.com.
73353 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
73355         [BZ #12713]
73356         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
73357         ENAMETOOLONG use generic getcwd.
73358         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
73359         in rtld.  Use *stat64.
73360         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
73361         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
73362         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
73363         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
73364         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
73365         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
73366         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
73367         __fstatat64 macros.
73368         * include/dirent.h: Add libc_hidden_proto for rewinddir.
73369         * dirent/rewinddir.c: Add libc_hidden_def.
73370         * sysdeps/mach/hurd/rewinddir.c: Likewise.
73371         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
73373         * include/dirent.h (__alloc_dir): Add flags parameter.
73374         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
73375         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
73376         __alloc_dir.
73377         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
73378         from fdopendir if O_CLOEXEC is already set.
73380 2011-03-15  Alan Modra  <amodra@gmail.com>
73382         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
73383         l_tls_firstbyte_offset non-zero.  Save padding offset in
73384         l_tls_firstbyte_offset for later use.
73385         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
73386         freeing static tls block.
73388 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
73390         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
73391         where #ifdef was intended.  The intent is to prevent ARG_MAX from
73392         being defined by the kernel headers.
73394 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
73396         [BZ #12734]
73397         * resolv/resolv.h: Define RES_NOTLDQUERY.
73398         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
73399         no-tld-query and set RES_NOTLDQUERY.
73400         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
73401         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
73402         modern BIND to search name as TLD unless forbidden.
73404 2011-05-07  Petr Baudis  <pasky@suse.cz>
73405             Ulrich Drepper  <drepper@gmail.com>
73407         [BZ #12393]
73408         * elf/dl-load.c (fillin_rpath): Move trusted path check...
73409         (is_trusted_path): ...to here.
73410         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
73411         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
73412         using is_trusted_path_normalize() in setuid scripts.
73414 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
73416         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
73417         __BEGIN/__END_DECLS.
73419 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
73421         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
73422         NSS_STATUS_NOTFOUND if no record was found.
73424 2011-05-05  Andreas Schwab  <schwab@redhat.com>
73426         * sunrpc/Makefile (headers): Add rpc/netdb.h.
73427         (headers-not-in-tirpc): Remove rpc/netdb.h
73428         * resolv/netdb.h: Revert last change.
73430 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73432         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
73433         circular dependency between libgcc.a and libc.a.
73435 2011-05-05  Andreas Schwab  <schwab@redhat.com>
73437         * resolv/netdb.h: Don't include <rpc/netdb.h>.
73438         * nis/Makefile: Don't install rpcsvc/*.
73439         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
73440         instead of <rpc/types.h>.
73441         (MAXHOSTNAMELEN): Define.
73443 2011-05-03  Andreas Schwab  <schwab@redhat.com>
73445         * elf/ldconfig.c (add_dir): Don't crash on empty path.
73447 2011-04-28  Maciej Babinski  <mbabinski@google.com>
73449         [BZ #12714]
73450         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
73451         gethostbyname4_r when IPv6 results are possible.
73453 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
73455         [BZ #12723]
73456         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
73457         _PC_PIPE_BUF handling.
73459 2011-04-30  Bruno Haible  <bruno@clisp.org>
73461         [BZ #12717]
73462         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
73463         * resolv/netdb.h (getnameinfo): Change type of flags parameter
73464         to 'int'.
73465         * inet/getnameinfo.c (getnameinfo): Likewise.
73467 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
73469         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
73470         to groups setting in database lookup.
73471         * nss/nsswitch.conf: Add initgroups entry.
73473 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
73475         [BZ #12685]
73476         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
73477         mode string.
73478         Patch by Eric Blake <eblake@redhat.com>.
73480 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
73482         * sunrpc/Makefile (need-export-routines): Add svc_run.
73483         (routines): Remove svc_run.
73484         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
73485         * sunrpc/clnt_perr.c (clnt_perrno): Export.
73486         * sunrpc/svc_run.c (svc_run): Likewise.
73487         * sunrpc/svc_udp.c (svcudp_create): Likewise.
73489 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
73491         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
73492         problem in reallocation in last patch.
73494 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
73496         * sunrpc/Makefile: Move inclusion of Rules.
73498 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
73500         * nss/nss_files/files-initgroups.c: New file.
73501         * nss/Makefile (libnss_files-routines): Add files-initgroups.
73502         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
73503         _nss_files_initgroups_dyn.
73505 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
73507         * elf/elf.h (R_ARM_IRELATIVE): Define.
73509 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
73511         * po/ru.po: Update from translation team.
73513 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
73515         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
73516         dependencies.
73518 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
73520         [BZ #12653]
73521         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
73522         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
73523         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
73524         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
73525         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
73527 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
73529         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
73530         differing bytes.
73531         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
73532         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
73533         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73535 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
73537         [BZ #12420]
73538         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
73539         storing it.
73540         * stdlib/bug-getcontext.c: New file.
73541         * stdlib/Makefile: Add rules to build and run bug-getcontext.
73543 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73545         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
73546         instructions into .machine "z9-109".
73547         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
73548         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
73550 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73552         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
73553         between environment variables and auxiliary vector.
73555 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
73557         * Makefile: Add rules to build linkobj/libc.so.
73558         * include/libc-symbols.h: Define libc_hidden_nolink.
73559         * include/rpc/auth.h: Mark functions which are to be hidden.
73560         * include/rpc/auth_des.h: Likewise.
73561         * include/rpc/auth_unix.h: Likewise.
73562         * include/rpc/clnt.h: Likewise.
73563         * include/rpc/des_crypt.h: Likewise.
73564         * include/rpc/key_prot.h: Likewise.
73565         * include/rpc/pmap_clnt.h: Likewise.
73566         * include/rpc/pmap_prot.h: Likewise.
73567         * include/rpc/pmap_rmt.h: Likewise.
73568         * include/rpc/rpc_msg.h: Likewise.
73569         * include/rpc/svc.h: Likewise.
73570         * include/rpc/svc_auth.h: Likewise.
73571         * include/rpc/xdr.h: Likewise.
73572         * nis/Makefile: Link all DSOs against linkobj/libc.so.
73573         * nss/Makefile: Likewise.
73574         * sunrpc/Makefile: Don't install headers.  Build library with normal
73575         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
73576         * sunrpc/auth_des.c: Hide exported symbols by default, export some
73577         for the compat linking library.  Remove use of INTDEF/INTUSE.
73578         * sunrpc/auth_none.c: Likewise.
73579         * sunrpc/auth_unix.c: Likewise.
73580         * sunrpc/authdes_prot.c: Likewise.
73581         * sunrpc/authuxprot.c: Likewise.
73582         * sunrpc/clnt_gen.c: Likewise.
73583         * sunrpc/clnt_perr.c: Likewise.
73584         * sunrpc/clnt_raw.c: Likewise.
73585         * sunrpc/clnt_simp.c: Likewise.
73586         * sunrpc/clnt_tcp.c: Likewise.
73587         * sunrpc/clnt_udp.c: Likewise.
73588         * sunrpc/clnt_unix.c: Likewise.
73589         * sunrpc/des_crypt.c: Likewise.
73590         * sunrpc/des_soft.c: Likewise.
73591         * sunrpc/get_myaddr.c: Likewise.
73592         * sunrpc/key_call.c: Likewise.
73593         * sunrpc/key_prot.c: Likewise.
73594         * sunrpc/netname.c: Likewise.
73595         * sunrpc/pm_getmaps.c: Likewise.
73596         * sunrpc/pm_getport.c: Likewise.
73597         * sunrpc/pmap_clnt.c: Likewise.
73598         * sunrpc/pmap_prot.c: Likewise.
73599         * sunrpc/pmap_prot2.c: Likewise.
73600         * sunrpc/pmap_rmt.c: Likewise.
73601         * sunrpc/publickey.c: Likewise.
73602         * sunrpc/rpc_cmsg.c: Likewise.
73603         * sunrpc/rpc_common.c: Likewise.
73604         * sunrpc/rpc_dtable.c: Likewise.
73605         * sunrpc/rpc_prot.c: Likewise.
73606         * sunrpc/rpc_thread.c: Likewise.
73607         * sunrpc/rtime.c: Likewise.
73608         * sunrpc/svc.c: Likewise.
73609         * sunrpc/svc_auth.c: Likewise.
73610         * sunrpc/svc_authux.c: Likewise.
73611         * sunrpc/svc_raw.c: Likewise.
73612         * sunrpc/svc_run.c: Likewise.
73613         * sunrpc/svc_simple.c: Likewise.
73614         * sunrpc/svc_tcp.c: Likewise.
73615         * sunrpc/svc_udp.c: Likewise.
73616         * sunrpc/svc_unix.c: Likewise.
73617         * sunrpc/svcauth_des.c: Likewise.
73618         * sunrpc/xcrypt.c: Likewise.
73619         * sunrpc/xdr.c: Likewise.
73620         * sunrpc/xdr_array.c: Likewise.
73621         * sunrpc/xdr_float.c: Likewise.
73622         * sunrpc/xdr_intXX_t.c: Likewise.
73623         * sunrpc/xdr_mem.c: Likewise.
73624         * sunrpc/xdr_rec.c: Likewise.
73625         * sunrpc/xdr_ref.c: Likewise.
73626         * sunrpc/xdr_sizeof.c: Likewise.
73627         * sunrpc/xdr_stdio.c: Likewise.
73629 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
73631         [BZ #12650]
73632         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
73633         * sysdeps/ia64/dl-tls.h: Likewise.
73634         * sysdeps/powerpc/dl-tls.h: Likewise.
73635         * sysdeps/s390/dl-tls.h: Likewise.
73636         * sysdeps/sh/dl-tls.h: Likewise.
73637         * sysdeps/sparc/dl-tls.h: Likewise.
73638         * sysdeps/x86_64/dl-tls.h: Likewise.
73639         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
73641 2011-03-14  Andreas Schwab  <schwab@redhat.com>
73643         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
73644         rpath element also skip the following colon.
73645         (expand_dynamic_string_token): Add is_path parameter and pass
73646         down to DL_DST_REQUIRED and _dl_dst_substitute.
73647         (decompose_rpath): Call expand_dynamic_string_token with
73648         non-zero is_path.  Ignore empty rpaths.
73649         (_dl_map_object_from_fd): Call expand_dynamic_string_token
73650         with zero is_path.
73652 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
73654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
73655         Make cancelable.
73657 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
73659         [BZ #12655]
73660         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
73661         Patch by Filipe David Manana <fdmanana@apache.org>.
73663 2011-04-07  Andreas Schwab  <schwab@redhat.com>
73665         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
73666         Maintain aligned stack.
73667         (CHECK_RSP): Remove unused macro.
73669 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
73671         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
73672         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
73674 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
73676         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
73678         * include/features.h: Mention __USE_XOPEN2K8 in comment.
73680 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
73682         [BZ #12518]
73683         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
73684         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
73685         * sysdeps/x86_64/memmove.c: New file.
73686         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
73687         (memcpy): Renamed to ...
73688         (__new_memcpy): This.
73689         (memcpy): Provide GLIBC_2_14 memcpy.
73690         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
73691         (memcpy): Provide GLIBC_2_2_5 memcpy.
73693 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73695         [BZ #12631]
73696         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
73698 2011-03-30  Andreas Schwab  <schwab@redhat.com>
73700         * misc/syncfs.c: New file.
73701         * misc/Makefile (routines): Add syncfs.
73702         * posix/unistd.h: Declare syncfs.
73703         * sysdeps/unix/syscalls.list: Add syncfs.
73705 2011-04-01  Andreas Schwab  <schwab@redhat.com>
73707         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
73708         open_by_handle_at.
73709         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
73710         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73711         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73712         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73713         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73714         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
73715         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73717 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73719         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
73720         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73721         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
73722         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73723         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73724         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73725         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73727         * io/Makefile: Compile fallocate.c, fallocate64.c, and
73728         sync_file_range.c with -fexceptions.
73729         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
73730         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
73731         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
73732         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
73733         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
73734         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
73735         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
73736         sync_file_range as cancellation point
73737         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
73738         now a wrapper around __call_sync_file_range with cancellation handling.
73739         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
73740         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
73741         function name to __call_sync_file_range.
73742         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
73743         Add call_sync_file_range.
73745 2011-04-01  Andreas Schwab  <schwab@redhat.com>
73747         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73748         bits/timex.h.
73750 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73752         * iconv/iconv.h: Fix typo in comment.
73753         * io/fcntl.h: Likewise.
73754         * libio/stdio.h: Likewise.
73755         * posix/spawn.h: Likewise.
73756         * posix/unistd.h: Likewise.
73757         * stdlib/stdlib.h: Likewise.
73758         * time/time.h: Likewise.
73759         * wcsmbs/wchar.h: Likewise.
73761         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
73762         open_by_handle): Add.
73763         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
73764         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
73765         Augment a few comments.
73766         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73767         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73768         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73769         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73770         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73771         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
73772         open_by_handle.
73774         * io/fcntl.h (AT_EMPTY_PATH): Define.
73776 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
73778         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
73779         * sysdeps/unix/sysv/linux/bits/time.h: New file.
73780         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
73781         to...
73782         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
73783         * Versions.def: Add GLIBC_2.14.
73784         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
73785         Export.
73787 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
73789         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
73790         round counter.
73791         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73793 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73795         [BZ #12597]
73796         * string/test-strncmp.c (do_page_test): New function.
73797         (check2): Likewise.
73798         (test_main): Call check2.
73799         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
73801 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
73803         [BZ #12587]
73804         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
73805         Handle cache information in CPU leaf 4.
73806         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73808 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
73810         [BZ #12583]
73811         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
73812         character representation.
73813         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
73815 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
73817         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
73818         END(__isnan) to END(__isnanf) to match function entry point/label
73819         EALIGN(__isnanf,...).
73821 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
73823         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
73825 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
73827         [BZ #12510]
73828         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
73829         copy from the symbol referenced in the relocation to initialize the
73830         used variable.
73831         Patch by Piotr Bury <pbury@goahead.com>.
73832         * elf/Makefile: Add rules to build and tst-unique3.
73833         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
73834         * elf/tst-unique3.cc: New file.
73835         * elf/tst-unique3.h: New file.
73836         * elf/tst-unique3lib.cc: New file.
73837         * elf/tst-unique3lib2.cc: New file.
73839         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
73841 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
73843         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
73844         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
73845         to _start.
73847 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
73849         * elf/dl-load.c (_dl_map_object): If we are looking for the first
73850         to-be-loaded object along a path to loader is ld.so.
73852 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
73853             Ulrich Drepper  <drepper@gmail.com>
73855         * sysdeps/x86_64/memset.S: After aligning destination, code
73856         branches to different locations depending on the value of
73857         misalignment, when multiarch is enabled. Fix this.
73859 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
73861         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
73862         Set _x86_64_preferred_memory_instruction for AMD processsors.
73863         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73864         Set bit_Prefer_SSE_for_memop for AMD processors.
73866 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
73868         * libio/fmemopen.c (fmemopen): Optimize a bit.
73870 2011-03-03  Andreas Schwab  <schwab@redhat.com>
73872         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
73874 2011-03-03  Roland McGrath  <roland@redhat.com>
73876         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
73878 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
73880         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
73881         __bzero_ultra1 instead of __memset_ultra1.
73883 2011-02-23  Andreas Schwab  <schwab@redhat.com>
73884             Ulrich Drepper  <drepper@gmail.com>
73886         [BZ #12509]
73887         * include/link.h (struct link_map): Add l_orig_initfini.
73888         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
73889         returning unsuccessfully.
73890         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
73891         close of a file loaded at startup, restore the original l_initfini
73892         list.
73893         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
73894         list, store the pointer.
73895         * elf/Makefile ($(objpfx)noload-mem): New rule.
73896         (noload-ENV): Define.
73897         (tests): Add $(objpfx)noload-mem.
73898         * elf/noload.c: Include <memcheck.h>.
73899         (main): Call mtrace.  Close all opened handles.
73901 2011-02-17  Andreas Schwab  <schwab@redhat.com>
73903         [BZ #12454]
73904         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
73905         dependencies are missing.
73907 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73909         Fix __if_freereq crash: Unlike the generic version which uses free,
73910         Hurd needs munmap.
73911         * sysdeps/mach/hurd/ifreq.h: New file.
73913 2011-01-27  Petr Baudis  <pasky@suse.cz>
73914             Ulrich Drepper  <drepper@gmail.com>
73916         [BZ 12445]#
73917         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
73918         to extend_alloca().
73919         * stdio-common/bug23.c: New file.
73920         * stdio-common/Makefile (tests): Add bug23.
73922 2010-09-28  Andreas Schwab  <schwab@redhat.com>
73923             Ulrich Drepper  <drepper@gmail.com>
73925         [BZ #12489]
73926         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
73927         before performing relro protection.  At old place add assertion
73928         to make sure nothing changed.
73930 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
73931             Glauber de Oliveira Costa  <glommer@gmail.com>
73933         * elf/elf.h: Add new ARM TLS relocs.
73935 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
73937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
73938         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
73939         cast from r3.
73940         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
73941         'tests' variable.
73942         * sysdeps/wordsize-64/tst-writev.c: New file.
73944 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
73946         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
73947         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
73948         insns in _dl_start to prevent a TOC reference before relocs are
73949         resolved.
73951 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
73953         [BZ #12469]
73954         * Makeconfig: Remove RANLIB definition.
73955         * Makerules: Don't use RANLIB.
73956         * aclocal.m4: Remove ranlib test.
73957         * configure.in: No need to check for ranlib.
73958         * elf/rtld-Rules: Don't use RANLIB.
73960 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73962         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
73963         protection macro.
73964         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
73965         inclusion protection macro.
73967         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
73968         SIGRTMIN and SIGRTMAX and print information in that case only when
73969         SIGRTMIN is defined.
73971 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
73973         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
73974         arginfo fn returning -1.
73976         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
73977         and thousands string is zero terminated.
73979 2011-02-03  Andreas Schwab  <schwab@redhat.com>
73981         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
73982         sysdeps/unix/sysv/linux/bits/socket.h.
73984 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73986         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
73987         (__CPU_COUNT): Remove old macros.
73988         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
73989         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
73990         (__CPU_ALLOC, __CPU_FREE): Add macros.
73991         (__sched_cpualloc, __sched_cpufree): Add declarations.
73993 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
73995         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
73996         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
73997         * nscd/aicache.c (addhstaiX): Return timeout of added value.
73998         (readdhstai): Return value of addhstaiX call.
73999         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
74000         (addgrbyX): Return value returned by cache_addgr.
74001         (readdgrbyname): Return value returned by addgrbyX.
74002         (readdgrbygid): Likewise.
74003         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
74004         (addpwbyX): Return value returned by cache_addpw.
74005         (readdpwbyname): Return value returned by addhstbyX.
74006         (readdpwbyuid): Likewise.
74007         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
74008         (addservbyX): Return value returned by cache_addserv.
74009         (readdservbyname): Return value returned by addservbyX:
74010         (readdservbyport): Likewise.
74011         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
74012         (addhstbyX): Return value returned by cache_addhst.
74013         (readdhstbyname): Return value returned by addhstbyX.
74014         (readdhstbyaddr): Likewise.
74015         (readdhstbynamev6): Likewise.
74016         (readdhstbyaddrv6): Likewise.
74017         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
74018         (readdinitgroups): Return value returned by addinitgroupsX.
74019         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
74020         (prune_cache): Keep track of timeout value of re-added entries.
74021         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
74022         * nscd/nscd.h: Adjust prototypes of readd* functions.
74024 2011-02-04  Roland McGrath  <roland@redhat.com>
74026         * nis/nis_server.c (nis_servstate): Use the right name for 0.
74027         (nis_stats): Likewise.
74028         * nis/nis_modify.c (nis_modify): Likewise.
74029         * nis/nis_remove.c (nis_remove): Likewise.
74030         * nis/nis_add.c (nis_add): Likewise.
74032         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
74034         * posix/fnmatch_loop.c: Add some consts.
74036         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
74038 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
74040         [BZ #12460]
74041         * config.make.in (config-cflags-novzeroupper): Define.
74042         * configure.in: Substitute libc_cv_cc_novzeroupper.
74043         * elf/Makefile (AVX-CFLAGS): Define.
74044         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
74045         (CFLAGS-tst-auditmod4a.c): Likewise.
74046         (CFLAGS-tst-auditmod4b.c): Likewise.
74047         (CFLAGS-tst-auditmod6b.c): Likewise.
74048         (CFLAGS-tst-auditmod6c.c): Likewise.
74049         (CFLAGS-tst-auditmod7b.c): Likewise.
74050         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
74052 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
74054         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
74055         function to the callback.
74056         Patch partly by Jiri Olsa <jolsa@redhat.com>.
74058 2011-02-02  Andreas Schwab  <schwab@redhat.com>
74060         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
74061         of errno.
74063 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
74065         [BZ #11724]
74066         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
74067         of constructors.
74068         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
74069         of destructors.
74070         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
74072         [BZ #11724]
74073         * elf/Makefile: Add rules to build and run new test.
74074         * elf/tst-initorder.c: New file.
74075         * elf/tst-initorder.exp: New file.
74076         * elf/tst-initordera1.c: New file.
74077         * elf/tst-initordera2.c: New file.
74078         * elf/tst-initordera3.c: New file.
74079         * elf/tst-initordera4.c: New file.
74080         * elf/tst-initorderb1.c: New file.
74081         * elf/tst-initorderb2.c: New file.
74082         * elf/tst-order-a1.c: New file.
74083         * elf/tst-order-a2.c: New file.
74084         * elf/tst-order-a3.c: New file.
74085         * elf/tst-order-a4.c: New file.
74086         * elf/tst-order-b1.c: New file.
74087         * elf/tst-order-b2.c: New file.
74088         * elf/tst-order-main.c: New file.
74089         New test case by George Gensure <werkt0@gmail.com>.
74091 2010-10-01  Andreas Schwab  <schwab@redhat.com>
74093         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74094         decoding ACE if AI_CANONIDN.
74096 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
74098         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
74100 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
74102         * version.h (RELEASE): Bump for 2.13 release.
74103         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
74105         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
74107         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
74108         MADV_NOHUGEPAGE.
74109         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
74110         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
74111         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74112         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74113         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74114         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74116         * posix/getconf.c: Update copyright year.
74117         * catgets/gencat.c: Likewise.
74118         * csu/version.c: Likewise.
74119         * debug/catchsegv.sh: Likewise.
74120         * debug/xtrace.sh: Likewise.
74121         * elf/ldconfig.c: Likewise.
74122         * elf/ldd.bash.in: Likewise.
74123         * elf/sprof.c (print_version): Likewise.
74124         * iconv/iconv_prog.c: Likewise.
74125         * iconv/iconvconfig.c: Likewise.
74126         * locale/programs/locale.c: Likewise.
74127         * locale/programs/localedef.c: Likewise.
74128         * malloc/memusage.sh: Likewise.
74129         * malloc/mtrace.pl: Likewise.
74130         * nscd/nscd.c (print_version): Likewise.
74131         * nss/getent.c: Likewise.
74133         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
74134         PF_CAIF, and PF_ALG.
74135         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74137 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
74139         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
74140         (modules-names): Use them.
74141         (ifunc-test-modules, ifunc-pie-tests): Define.
74142         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
74143         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
74144         (test-extras): Likewise.
74145         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
74146         $(compile-command.c).
74147         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
74148         (all-built-dso): Define.
74149         (check-textrel.out, check-execstack.out): Depend on it.
74151         * configure.in: Don't override --enable-multi-arch.
74153 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
74155         [BZ #6812]
74156         * nscd/hstcache.c (tryagain): Define.
74157         (cache_addhst): Return tryagain not notfound for temporary errors.
74158         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
74159         failed.
74161 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
74163         [BZ #10563]
74164         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
74165         to make the syscall.
74166         * sysdeps/unix/sysv/linux/setgroups.c: New file.
74168         [BZ #12378]
74169         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
74170         and fall back to matching as normal character if the string ends before
74171         the matching ']' is found.  This is what POSIX requires.
74172         * posix/testfnm.c: Adjust test result.
74173         * posix/globtest.sh: Adjust test result.  Add new test.
74174         * posix/tst-fnmatch.input: Likewise.
74175         * posix/tst-fnmatch2.c: Add new test.
74177 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
74179         * elf/Makefile (check-execstack): Revert last change.  Depend on
74180         check-execstack.h.
74181         (check-execstack.h): New target.
74182         (generated): Add check-execstack.h.
74183         * elf/check-execstack.c: Include "check-execstack.h".
74184         (main): Revert last change.
74185         (handle_file): Return zero if GNU_STACK is absent and
74186         DEFAULT_STACK_PERMS doesn't include PF_X.
74188 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
74190         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
74191         in child fails because the descriptor is already closed.
74192         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
74193         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
74194         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
74196         [BZ #12397]
74197         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
74198         syscall.
74200         [BZ #10484]
74201         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
74202         temporary buffer used to handle multi lookups locally.
74203         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
74205 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74207         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
74208         loader is ld.so.
74210 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
74212         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
74213         alignment for SSE2.
74215 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74217         [BZ #12394]
74218         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
74219         characters.  When rounding increased number of integer digits recompute
74220         number of groups.
74221         * stdio-common/tst-grouping.c: New file.
74222         * stdio-common/Makefile: Add rules to build and run tst-grouping.
74224 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
74226         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
74227         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
74229         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
74230         void.
74231         * bits/select.h: Likewise.
74233 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
74235         * po/ja.po: Update from translation team.
74237 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
74239         [BZ #11155]
74240         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
74241         implementation just like for lxstat, fxstatat, et al.
74243 2010-12-27  Jim Meyering  <meyering@redhat.com>
74245         [BZ #12348]
74246         * posix/regexec.c (build_trtable): Return failure indication upon
74247         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
74249 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
74251         [BZ #12201]
74252         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
74253         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
74254         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
74255         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
74257         [BZ #12207]
74258         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
74260         [BZ #12204]
74261         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
74262         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
74264 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
74266         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
74267         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
74268         script has SORT_BY_INIT_PRIORITY.
74269         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
74270         NO_CTORS_DTORS_SECTIONS is defined.
74271         * elf/soinit.c: Likewise.
74272         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
74273         NO_CTORS_DTORS_SECTIONS is defined.
74274         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
74275         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
74276         * sysdeps/sh/init-first.c: Likewise.
74277         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
74279 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
74281         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
74282         always use the slow path.
74284 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
74286         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
74287         similar rule which adds the sysdep directories to the header search in
74288         order to pick up the correct platform stackinfo.h.
74289         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
74290         perform test if it is, otherwise return successfully without testing.
74291         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
74292         DEFAULT_STACK_PERMS define in stackinfo.h.
74293         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
74294         defined in stackinfo.h.
74295         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
74296         DEFAULT_STACK_PERMS defined in stackinfo.h.
74297         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
74298         * sysdeps/ia64/stackinfo.h: Likewise.
74299         * sysdeps/s390/stackinfo.h: Likewise.
74300         * sysdeps/sh/stackinfo.h: Likewise.
74301         * sysdeps/sparc/stackinfo.h: Likewise.
74302         * sysdeps/x86_64/stackinfo.h: Likewise.
74303         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
74304         PF_X for powerpc64.  Retain PF_X for powerpc32.
74306 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
74308         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
74309         accurately.
74310         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
74311         GETDENTS_64BIT_ALIGNED.
74313 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
74315         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
74317 2010-12-10  Andreas Schwab  <schwab@redhat.com>
74319         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
74320         _GNU_SOURCE.
74322         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
74323         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
74324         Remove __restrict.
74325         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
74326         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
74328 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
74330         [BZ #11655]
74331         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
74332         are initialized.
74334 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
74336         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
74338 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
74340         * po/it.po: Update from translation team.
74342 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
74344         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
74345         unused codes.
74347 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
74349         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
74351 2010-11-24  Andreas Schwab  <schwab@redhat.com>
74353         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
74354         specially.
74355         (gaih_getanswer_slice): Likewise.
74357 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
74359         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
74361 2010-05-31  Petr Baudis  <pasky@suse.cz>
74363         [BZ #11149]
74364         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
74365         silently even in the chroot mode.
74367 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
74369         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
74370         last patch a bit.  Pretty printing
74372 2010-05-31  Petr Baudis <pasky@suse.cz>
74374         [BZ #10085]
74375         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
74376         initialization of skip_initgroups_dyn.
74378 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
74380         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
74381         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74383 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
74385         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
74387 2010-11-11  Andreas Schwab  <schwab@redhat.com>
74389         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
74390         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
74391         (tst-fnmatch-ENV): Set MALLOC_TRACE.
74392         ($(objpfx)tst-fnmatch-mem): New rule.
74393         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
74394         * posix/tst-fnmatch.c (main): Call mtrace.
74396 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
74398         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74399         Support Intel processor model 6 and model 0x2c.
74401 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
74403         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
74404           signed comparison.
74406 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
74408         [BZ #12205]
74409         * string/test-strncasecmp.c (check_result): New function.
74410         (do_one_test): Use it.
74411         (check1): New function.
74412         (test_main): Use it.
74413         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
74414         Support strcasecmp and strncasecmp.
74416 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
74418         [BZ #12194]
74419         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
74420         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74422 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
74424         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
74425         IFUNC support.
74426         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74427         memset-x86-64.
74428         * sysdeps/x86_64/multiarch/bzero.S: New file.
74429         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
74430         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
74431         * sysdeps/x86_64/multiarch/memset.S: New file.
74432         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
74433         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74434         Set bit_Prefer_SSE_for_memop for Intel processors.
74435         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
74436         Define.
74437         (index_Prefer_SSE_for_memop): Define.
74438         (HAS_PREFER_SSE_FOR_MEMOP): Define.
74440 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
74442         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
74443         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
74445 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
74447         [BZ #12191]
74448         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
74449         (__x86_64_raw_data_cache_size_half): Likewise.
74450         (__x86_64_raw_shared_cache_size): Likewise.
74451         (__x86_64_raw_shared_cache_size_half): Likewise.
74453         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
74454         (__x86_64_raw_data_cache_size_half): Likewise.
74455         (__x86_64_raw_shared_cache_size): Likewise.
74456         (__x86_64_raw_shared_cache_size_half): Likewise.
74457         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
74458         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
74459         and __x86_64_raw_shared_cache_size_half.  Round
74460         __x86_64_data_cache_size_half, __x86_64_data_cache_size
74461         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
74462         to multiple of 256 bytes.
74464 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
74466         [BZ #12167]
74467         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
74468         of inacessible symlinks.  Verify result of symlink before returning it.
74469         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
74470         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
74472 2010-10-28  Erich Ritz  <erichritz@gmail.com>
74474         * math/math.h (isinf): Fix typo in comment.
74476 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
74478         * po/da.po: Update from translation team.
74480 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
74482         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
74483         is added to the list.
74485 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74486             Ulrich Drepper  <drepper@gmail.com>
74488         * elf/dl-object.c (_dl_new_object): Don't append the new object to
74489         the global list here.  Move code to...
74490         (_dl_add_to_namespace_list): ...here.  New function.
74491         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
74492         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
74493         * elf/dl-load.c (lose): Don't remove the element from the list.
74494         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
74495         (_dl_map_object): Likewise.
74497 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
74499         [BZ #12159]
74500         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
74501         into all bytes of SSE register.
74502         Patch by Richard Li <richardpku@gmail.com>.
74504 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
74506         [BZ #12140]
74507         * malloc/malloc.c (_int_free): Fill correct number of bytes when
74508         perturbing.
74510 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
74512         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
74513         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
74514         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
74515         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
74516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
74517         submachine.
74518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
74520 2010-10-22  Andreas Schwab  <schwab@redhat.com>
74522         * include/dlfcn.h (__RTLD_SECURE): Define.
74523         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
74524         mode & __RTLD_SECURE instead.
74525         (open_path): Rename preloaded parameter to secure.
74526         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
74527         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
74528         * elf/dl-deps.c (openaux): Likewise.
74529         * elf/rtld.c (struct map_args): Remove is_preloaded.
74530         (map_doit): Don't use it.
74531         (dl_main): Likewise.
74532         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
74533         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
74535 2010-09-09  Andreas Schwab  <schwab@redhat.com>
74537         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
74538         (sysd-rules-targets): Remove duplicates.
74539         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
74540         rtld-%.$o dependency.
74542 2010-10-18  Andreas Schwab  <schwab@redhat.com>
74544         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
74545         _dl_map_object do it.
74547 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
74549         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
74550         fast fma builtins, define the macros in the C99 standard.
74551         (FP_FAST_FMAF): Likewise.
74552         (FP_FAST_FMAL): Likewise.
74553         * sysdeps/x86_64/bits/mathdef.h: Likewise.
74555         * bits/mathdef.h: Update copyright year.
74556         * sysdeps/powerpc/bits/mathdef.h: Likewise.
74558 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
74560         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
74561         builtins, define the macros in the C99 standard.
74562         (FP_FAST_FMAF): Likewise.
74563         (FP_FAST_FMAL): Likewise.
74564         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
74565         multiply/add.
74566         (FP_FAST_FMAF): Likewise.
74568 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
74570         [BZ #3268]
74571         * math/libm-test.inc (fma_test): Some new testcases.
74572         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
74573         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
74574         y and infinite z.  Do multiplication by C already in long double.
74575         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
74576         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
74577         y and infinite z.  Do bitwise or of inexact bit into u.d.
74578         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
74579         * sysdeps/i386/fpu/s_fmaf.S: Removed.
74580         * sysdeps/i386/fpu/s_fma.S: Removed.
74581         * sysdeps/i386/fpu/s_fmal.S: Removed.
74583 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
74585         [BZ #3268]
74586         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
74587         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
74588         computation is not scheduled after fetestexcept.  Fix value
74589         of minimum denormal long double.
74591 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
74593         [BZ #3268]
74594         * math/libm-test.inc (fma_test): Add some more tests.
74595         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
74596         correctly.
74598 2010-10-15  Andreas Schwab  <schwab@redhat.com>
74600         * scripts/data/localplt-s390-linux-gnu.data: New file.
74601         * scripts/data/localplt-s390x-linux-gnu.data: New file.
74603 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
74605         [BZ #3268]
74606         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
74607         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
74608         instead of dbl-64.
74609         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
74610         inlines.
74611         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
74612         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
74613         if one of x and y is very large and the other is subnormal.
74614         * sysdeps/s390/fpu/s_fmaf.c: New file.
74615         * sysdeps/s390/fpu/s_fma.c: New file.
74616         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
74617         * sysdeps/powerpc/fpu/s_fma.S: New file.
74618         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
74619         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
74620         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
74622 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
74624         [BZ #3268]
74625         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
74626         fma tests.
74627         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
74628         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
74629         * sysdeps/i386/i686/multiarch/s_fma.c: Include
74630         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
74631         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
74632         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
74633         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
74635 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
74637         [BZ #12078]
74638         * posix/regcomp.c (parse_branch): One more memory leak plugged.
74639         * posix/bug-regex31.input: Add test case.
74641 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
74643         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
74644         * posix/bug-regex31.input: New file.
74646         [BZ #12078]
74647         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
74648         (parse_sub_exp): Fix last change, use postorder.
74650         * posix/bug-regex31.c: New file.
74651         * posix/Makefile: Add rules to build and run bug-regex31.
74653         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
74655         [BZ #12078]
74656         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
74658         [BZ #12108]
74659         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
74660         to have entries in sys_siglist.
74662         [BZ #12093]
74663         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
74664         be NULL.
74666 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
74668         [BZ #3268]
74669         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
74670         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
74671         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
74672         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
74673         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74674         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
74675         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
74676         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
74677         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
74678         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
74679         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
74680         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
74681         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
74682         * math/ftestexcept.c (fetestexcept): Likewise.
74683         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
74684         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
74685         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
74686         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
74687         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
74688         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
74689         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74691 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
74693         [BZ #12107]
74694         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
74695         newline.
74697 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
74699         * string/bug-strstr1.c: New file.
74700         * string/Makefile: Add rules to build and run bug-strstr1.
74702 2010-10-05  Eric Blake  <eblake@redhat.com>
74704         [BZ #12092]
74705         * string/str-two-way.h (two_way_long_needle): Always clear memory
74706         when skipping input due to the shift table.
74708 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
74710         [BZ #12005]
74711         * malloc/mcheck.c: Handle large requests.
74713         [BZ #12077]
74714         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
74715         for strncmp and strncasecmp.
74716         * string/stratcliff.c: Add tests for strcmp and strncmp.
74717         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
74719 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74721         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
74722         __set_fpscr.
74724 2010-09-30  Andreas Jaeger  <aj@suse.de>
74726         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
74727         (CGROUP_SUPER_MAGIC): Define.
74728         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74729         Handle btrfs and cgroup file systems.
74730         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
74731         Likewise.
74733 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
74735         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
74736         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
74738 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74740         [BZ #12067]
74741         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
74742         trying to locate the ELF header.
74744 2010-09-27  Andreas Schwab  <schwab@redhat.com>
74746         [BZ #11611]
74747         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
74748         Mask out sign-bit copies when constructing f_fsid.
74750 2010-09-24  Petr Baudis <pasky@suse.cz>
74752         * debug/stack_chk_fail_local.c: Add missing licence exception.
74753         * debug/warning-nop.c: Likewise.
74755 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
74757         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
74758         implementing getdents64 using getdents syscall, set d_type if
74759         __ASSUME_GETDENTS32_D_TYPE.
74761 2010-09-16  Andreas Schwab  <schwab@redhat.com>
74763         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
74764         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
74766 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
74768         [BZ #12037]
74769         * posix/unistd.h: Undo change of feature selection for ftruncate from
74770         2010-01-11.
74772 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
74774         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
74775         detection.
74777 2010-09-20  Andreas Schwab  <schwab@redhat.com>
74779         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
74780         fanotify_mark.
74781         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
74783 2010-09-14  Andreas Schwab  <schwab@redhat.com>
74785         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
74786         variables after CHECK_SP call.
74787         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
74789 2010-09-13  Andreas Schwab  <schwab@redhat.com>
74790             Ulrich Drepper  <drepper@redhat.com>
74792         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
74793         re-relocationg ld.so.
74794         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
74795         _dl_init_paths call.
74796         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
74797         here anymore.
74799 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
74801         * resolv/res_init.c (__res_vinit): Count the default server we added.
74803 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
74804             Ulrich Drepper  <drepper@redhat.com>
74806         [BZ #11968]
74807         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74808         (____longjmp_chk): Use %ebx for saving value across system call.
74809         Add unwind info.
74811 2010-09-06  Andreas Schwab  <schwab@redhat.com>
74813         * manual/Makefile: Don't mix pattern rules with normal rules.
74815 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
74817         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
74818         operation.
74819         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
74820         * libio/iofopncook.c (_IO_cookie_init): Likewise.
74821         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
74822         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
74823         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74824         Likewise.
74826 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
74828         [BZ #11979]
74829         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
74830         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
74832 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
74834         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
74835         * sysdeps/x86_64/addmul_1.S: Likewise.
74836         * sysdeps/x86_64/lshift.S: Likewise.
74837         * sysdeps/x86_64/mul_1.S: Likewise.
74838         * sysdeps/x86_64/rshift.S: Likewise.
74839         * sysdeps/x86_64/sub_n.S: Likewise.
74840         * sysdeps/x86_64/submul_1.S: Likewise.
74842 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74844         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
74845         Define __sched_param instead of SCHED_* and sched_param when
74846         <bits/sched.h> is included with __need_schedparam defined.
74847         * bits/sched.h [__need_schedparam]
74848         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
74849         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
74850         (__defined_schedparam): Define to 1.
74851         (__sched_param): New structure, identical to sched_param.
74852         (__need_schedparam): Undefine.
74854 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
74856         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
74857         (epoll_create1): Declare.
74859         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
74861 2010-08-31  Andreas Schwab  <schwab@redhat.com>
74863         [BZ #7066]
74864         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
74865         shifting retval into place.
74867 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
74869         * nis/rpcsvc/nis.h: Update copyright notice.
74870         * nis/rpcsvc/nis.x: Likewise.
74871         * nis/rpcsvc/nis_callback.h: Likewise.
74872         * nis/rpcsvc/nis_callback.x: Likewise.
74873         * nis/rpcsvc/nis_object.x: Likewise.
74874         * nis/rpcsvc/nis_tags.h: Likewise.
74875         * nis/rpcsvc/yp.h: Likewise.
74876         * nis/rpcsvc/yp.x: Likewise.
74877         * nis/rpcsvc/ypupd.h: Likewise.
74878         * nis/yp_xdr.c: Likewise.
74879         * nis/ypupdate_xdr.c: Likewise.
74881         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
74882         mainly the body of pmap_getport.  Add parameters to specify timeouts.
74883         (pmap_getport): Use __libc_rpc_getport.
74884         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
74885         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
74886         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
74888 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
74890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
74891         fanotify_mark.
74893 2010-08-27  Roland McGrath  <roland@redhat.com>
74895         * sysdeps/i386/i686/multiarch/Makefile
74896         (CFLAGS-varshift.c): New variable.
74898 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
74900         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
74901         * sysdeps/i386/i686/multiarch/varshift.c: New file.
74903         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
74905         * sysdeps/x86_64/strlen.S: Minimal code improvement.
74907 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
74909         * sysdeps/x86_64/strlen.S: Unroll the loop.
74910         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74911         strlen-sse2 strlen-sse2-bsf.
74912         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
74913         __strlen_no_bsf if bit_Slow_BSF is set.
74914         (__strlen_sse42): Removed.
74915         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
74916         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
74918 2010-08-25  Roland McGrath  <roland@redhat.com>
74920         * sysdeps/x86_64/multiarch/varshift.S: File removed.
74921         * sysdeps/x86_64/multiarch/varshift.c: New file.
74922         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
74923         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
74924         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
74925         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
74927 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
74929         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74930         strlen-sse2 strlen-sse2-bsf.
74931         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
74932         __strlen_sse2_bsf if bit_Slow_BSF is unset.
74933         (__strlen_sse2): Removed.
74934         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
74935         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
74936         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
74937         bit_Slow_BSF for Atom.
74938         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
74939         (index_Slow_BSF): Define.
74940         (HAS_SLOW_BSF): Define.
74942 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
74944         [BZ #10851]
74945         * resolv/res_init.c (__res_vinit): When no server address at all
74946         is given default to loopback.
74948 2010-08-24  Roland McGrath  <roland@redhat.com>
74950         * configure.in: Remove config-name.h generation.
74951         * configure: Regenerated.
74952         * config-name.in: File removed.
74953         * scripts/config-uname.sh: New file.
74954         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
74955         ($(objdir)config-name.h): New target.
74957         * sunrpc/rpc_parse.h: Avoid nested comment.
74959 2010-08-24  Richard Henderson  <rth@redhat.com>
74960             Ulrich Drepper  <drepper@redhat.com>
74961             H.J. Lu  <hongjiu.lu@intel.com>
74963         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
74964         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
74965         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
74966         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
74967         _mm_alignr_epi8 with _mm_loadu_si128.
74968         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
74969         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
74970         (__m128i_shift_right): Removed.
74971         * sysdeps/i386/i686/multiarch/varshift.h: New file.
74972         * sysdeps/i386/i686/multiarch/varshift.S: New file.
74973         * sysdeps/x86_64/multiarch/varshift.h: New file.
74974         * sysdeps/x86_64/multiarch/varshift.S: New file.
74976 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
74978         * configure.in: Move assembler checks to before sysdep dir checking.
74980 2010-08-20  Petr Baudis  <pasky@suse.cz>
74982         * LICENSES: Sync the sunrpc license.
74984 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
74986         * sunrpc/auth_des.c: Update copyright notice once again.
74987         * sunrpc/auth_none.c: Likewise.
74988         * sunrpc/auth_unix.c: Likewise.
74989         * sunrpc/authdes_prot.c: Likewise.
74990         * sunrpc/authuxprot.c: Likewise.
74991         * sunrpc/bindrsvprt.c: Likewise.
74992         * sunrpc/clnt_gen.c: Likewise.
74993         * sunrpc/clnt_perr.c: Likewise.
74994         * sunrpc/clnt_raw.c: Likewise.
74995         * sunrpc/clnt_simp.c: Likewise.
74996         * sunrpc/clnt_tcp.c: Likewise.
74997         * sunrpc/clnt_udp.c: Likewise.
74998         * sunrpc/clnt_unix.c: Likewise.
74999         * sunrpc/des_crypt.c: Likewise.
75000         * sunrpc/des_soft.c: Likewise.
75001         * sunrpc/get_myaddr.c: Likewise.
75002         * sunrpc/getrpcport.c: Likewise.
75003         * sunrpc/key_call.c: Likewise.
75004         * sunrpc/key_prot.c: Likewise.
75005         * sunrpc/openchild.c: Likewise.
75006         * sunrpc/pm_getmaps.c: Likewise.
75007         * sunrpc/pm_getport.c: Likewise.
75008         * sunrpc/pmap_clnt.c: Likewise.
75009         * sunrpc/pmap_prot.c: Likewise.
75010         * sunrpc/pmap_prot2.c: Likewise.
75011         * sunrpc/pmap_rmt.c: Likewise.
75012         * sunrpc/rpc/auth.h: Likewise.
75013         * sunrpc/rpc/auth_unix.h: Likewise.
75014         * sunrpc/rpc/clnt.h: Likewise.
75015         * sunrpc/rpc/des_crypt.h: Likewise.
75016         * sunrpc/rpc/key_prot.h: Likewise.
75017         * sunrpc/rpc/netdb.h: Likewise.
75018         * sunrpc/rpc/pmap_clnt.h: Likewise.
75019         * sunrpc/rpc/pmap_prot.h: Likewise.
75020         * sunrpc/rpc/pmap_rmt.h: Likewise.
75021         * sunrpc/rpc/rpc.h: Likewise.
75022         * sunrpc/rpc/rpc_des.h: Likewise.
75023         * sunrpc/rpc/rpc_msg.h: Likewise.
75024         * sunrpc/rpc/svc.h: Likewise.
75025         * sunrpc/rpc/svc_auth.h: Likewise.
75026         * sunrpc/rpc/types.h: Likewise.
75027         * sunrpc/rpc/xdr.h: Likewise.
75028         * sunrpc/rpc_clntout.c: Likewise.
75029         * sunrpc/rpc_cmsg.c: Likewise.
75030         * sunrpc/rpc_common.c: Likewise.
75031         * sunrpc/rpc_cout.c: Likewise.
75032         * sunrpc/rpc_dtable.c: Likewise.
75033         * sunrpc/rpc_hout.c: Likewise.
75034         * sunrpc/rpc_main.c: Likewise.
75035         * sunrpc/rpc_parse.c: Likewise.
75036         * sunrpc/rpc_parse.h: Likewise.
75037         * sunrpc/rpc_prot.c: Likewise.
75038         * sunrpc/rpc_sample.c: Likewise.
75039         * sunrpc/rpc_scan.c: Likewise.
75040         * sunrpc/rpc_scan.h: Likewise.
75041         * sunrpc/rpc_svcout.c: Likewise.
75042         * sunrpc/rpc_tblout.c: Likewise.
75043         * sunrpc/rpc_util.c: Likewise.
75044         * sunrpc/rpc_util.h: Likewise.
75045         * sunrpc/rpcinfo.c: Likewise.
75046         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
75047         * sunrpc/rpcsvc/key_prot.x: Likewise.
75048         * sunrpc/rpcsvc/klm_prot.x: Likewise.
75049         * sunrpc/rpcsvc/mount.x: Likewise.
75050         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
75051         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
75052         * sunrpc/rpcsvc/rex.x: Likewise.
75053         * sunrpc/rpcsvc/rstat.x: Likewise.
75054         * sunrpc/rpcsvc/rusers.x: Likewise.
75055         * sunrpc/rpcsvc/sm_inter.x: Likewise.
75056         * sunrpc/rpcsvc/spray.x: Likewise.
75057         * sunrpc/rpcsvc/yppasswd.x: Likewise.
75058         * sunrpc/rtime.c: Likewise.
75059         * sunrpc/svc.c: Likewise.
75060         * sunrpc/svc_auth.c: Likewise.
75061         * sunrpc/svc_authux.c: Likewise.
75062         * sunrpc/svc_raw.c: Likewise.
75063         * sunrpc/svc_run.c: Likewise.
75064         * sunrpc/svc_simple.c: Likewise.
75065         * sunrpc/svc_tcp.c: Likewise.
75066         * sunrpc/svc_udp.c: Likewise.
75067         * sunrpc/svc_unix.c: Likewise.
75068         * sunrpc/svcauth_des.c: Likewise.
75069         * sunrpc/xcrypt.c: Likewise.
75070         * sunrpc/xdr.c: Likewise.
75071         * sunrpc/xdr_array.c: Likewise.
75072         * sunrpc/xdr_float.c: Likewise.
75073         * sunrpc/xdr_mem.c: Likewise.
75074         * sunrpc/xdr_rec.c: Likewise.
75075         * sunrpc/xdr_ref.c: Likewise.
75076         * sunrpc/xdr_sizeof.c: Likewise.
75077         * sunrpc/xdr_stdio.c: Likewise.
75079         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
75080         handling.
75082 2010-08-19  Andreas Schwab  <schwab@redhat.com>
75084         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
75086 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
75088         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
75089         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
75090         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
75091         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
75092         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
75093         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
75094         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
75095         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
75096         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
75097         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
75098         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
75099         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
75100         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
75101         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
75103 2010-07-26  Anton Blanchard  <anton@samba.org>
75105         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
75106         * malloc/arena.c (heap_trim): Likewise.
75108 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
75110         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
75111         here.  Not...
75112         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
75113         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
75115 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
75117         * sysdeps/i386/elf/Makefile: New file.
75119 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75121         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
75122         from fanotify_init.
75123         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
75124         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75126 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
75128         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
75129         of strncasecmp_l.
75130         * sysdeps/multiarch/strcmp.S: Likewise.
75132 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
75134         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75135         strncase_l-nonascii.
75136         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75137         Add strncase_l-ssse3.
75138         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
75139         * sysdeps/x86_64/strcmp.S: Likewise.
75140         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
75141         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
75142         * sysdeps/x86_64/strncase.S: New file.
75143         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
75144         * sysdeps/x86_64/strncase_l.S: New file.
75145         * string/Makefile (strop-tests): Add strncasecmp.
75146         * string/test-strncasecmp.c: New file.
75148         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
75149         warning.
75151         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
75152         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
75154 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75156         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
75158 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
75160         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
75161         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
75162         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
75164 2010-05-01  Alan Modra  <amodra@gmail.com>
75166         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
75167         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
75168         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
75169         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
75170         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
75171         tidying.  Don't tail-call __sigjmp_save for static lib.
75172         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
75173         save location.
75174         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
75175         (CALL_MCOUNT): Add eh info, and nop after bl.
75176         (TAIL_CALL_SYSCALL_ERROR): New macro.
75177         (PSEUDO_RET): Use it.
75178         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
75179         Correct save location of integer regs and cr.
75180         (_dl_profile_resolve): Correct cr save location.  Delete nops
75181         after bl when SHARED.  Reduce cfi size a little by better
75182         placement of cfi directives.
75183         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
75184         make a stack frame.  Instead use parm save area as a temp.
75185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
75186         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
75187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
75188         Don't make a stack frame for parent, use parm save area.
75189         Increase child stack frame to 112 bytes.  Don't save unused reg,
75190         and adjust reg usage.  Set up cfi on error recovery and
75191         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
75192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
75193         (__makecontext): Add dummy nop after jump to exit.
75194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
75195         Use correct parm save area and cr save, reduce stack frame.
75196         Correct cfi for possible PSEUDO_RET frame setup.
75197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
75198         Branch to local label emitted by PSEUDO_RET rather than
75199         __syscall_error.
75201 2010-08-12  Andreas Schwab  <schwab@redhat.com>
75203         [BZ #11904]
75204         * locale/programs/locale.c (print_assignment): New function.
75205         (show_locale_vars): Use it.
75207 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
75209         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
75210         field.
75211         (struct statfs64): Likewise.
75212         (_STATFS_F_FLAGS): Define.
75213         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
75214         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75215         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
75216         (ST_VALID): Define locally.
75217         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
75218         __statvfs_getflags, use the provided value.
75219         * sysdeps/unix/sysv/linux/kernel-features.h: Define
75220         __ASSUME_STATFS_F_FLAGS.
75222         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
75224         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
75225         Add sys/fanotify.h.
75226         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
75227         fanotify_mask for GLIBC_2.13.
75228         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
75229         fanotify_init and fanotify_mark.
75230         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75231         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
75233         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
75234         Add prlimit.
75235         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
75236         prlimit64 for GLIBC_2.13.
75237         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
75238         prlimit64.
75239         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
75240         syscall.
75241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
75242         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
75243         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
75244         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
75245         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
75246         add prlimit alias.
75247         * sysdeps/unix/sysv/linux/prlimit.c: New file.
75249         [BZ #11903]
75250         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
75251         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
75253         * nss/Makefile: Add rules to build and run tst-nss-test1.
75254         * shlib-versions: Add entry for libnss_test1.
75255         * nss/nss_test1.c: New file.
75256         * nss/tst-nss-test1.c: New file.
75258         * nss/nsswitch.c (__nss_database_custom): Define new variable.
75259         (__nss_configure_lookup): Set appropriate entry in
75260         __nss_configure_lookup to true.
75261         * nss/nsswitch.h: Define enum with indeces of databases in
75262         databases and __nss_database_custom arrays.  Declare
75263         __nss_database_custom.
75264         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
75265         to avoid using nscd when custom rules are installed.
75266         * nss/getXXbyYY_r.c: Likewise.
75267         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
75269         * nss/nss_files/files-parse.c: Whitespace fixes.
75271 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
75273         [BZ #11883]
75274         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
75275         * posix/fnmatch_loop.c: Likewise.
75277 2010-07-17  Andi Kleen  <ak@linux.intel.com>
75279         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
75280         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
75281         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
75282         * Versions.def [GLIBC_2.13]: Add.
75284 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
75286         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
75287         Also fail if tpwd after pwuid call is NULL.
75289 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75291         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
75292         when converting to ms.
75294 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75296         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
75297         EOPNOTSUPP errors with ENOTTY.
75298         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
75299         EOPNOTSUPP errors with ENOTTY.
75301 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
75303         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75304         Add strcasecmp_l-ssse3.
75305         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
75306         strcasecmp.
75307         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
75308         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
75309         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
75311 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
75313         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
75315         * string/Makefile (strop-tests): Add strcasecmp.
75316         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75317         strcasecmp_l-nonascii.
75318         (gen-as-const-headers): Add locale-defines.sym.
75319         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
75320         * sysdeps/x86_64/strcasecmp.S: New file.
75321         * sysdeps/x86_64/strcasecmp_l.S: New file.
75322         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
75323         * sysdeps/x86_64/locale-defines.sym: New file.
75324         * string/test-strcasecmp.c: New file.
75326         * string/test-strcasestr.c: Test both ends of the range of characters.
75327         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
75329 2010-07-29  Roland McGrath  <roland@redhat.com>
75331         [BZ #11856]
75332         * manual/locale.texi (Yes-or-No Questions): Fix example code.
75334 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
75336         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
75337         for ld.so.
75339 2010-07-27  Andreas Schwab  <schwab@redhat.com>
75341         * manual/memory.texi (Malloc Tunable Parameters): Document
75342         M_PERTURB.
75344 2010-07-26  Roland McGrath  <roland@redhat.com>
75346         [BZ #11840]
75347         * configure.in (-fgnu89-inline check): Set and substitute
75348         gnu89_inline, not libc_cv_gnu89_inline.
75349         * configure: Regenerated.
75350         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
75352 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
75354         * string/test-strnlen.c: New file.
75355         * string/Makefile (strop-tests): Add strnlen.
75356         * string/tester.c (test_strnlen): Add a few more test cases.
75357         * string/tst-strlen.c: Better error reporting.
75359         * sysdeps/x86_64/strnlen.S: New file.
75361 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
75363         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
75364         lower-latency instructions.
75366 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
75368         * string/test-strcasestr.c: New file.
75369         * string/test-strstr.c: New file.
75370         * string/Makefile (strop-tests): Add strstr and strcasestr.
75371         * string/str-two-way.h: Don't undefine MAX.
75372         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
75374 2010-07-21  Andreas Schwab  <schwab@redhat.com>
75376         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75377         strcasestr-nonascii.
75378         (CFLAGS-strcasestr-nonascii.c): Define.
75379         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
75380         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
75381         Remove unused attribute.
75383 2010-07-20  Roland McGrath  <roland@redhat.com>
75385         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
75386         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
75387         ld.so.cache was broken.  With it, there is no way to disable dsocaps
75388         like LD_HWCAP_MASK can disable hwcaps.
75390 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
75392         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
75394 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
75396         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
75397         call in strcasestr.
75398         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
75399         __strcasestr_sse42_nonascii.
75400         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
75401         strcasestr-nonascii.c.
75402         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
75404 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
75406         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
75407         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
75408         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
75409         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
75411 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
75413         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
75414         fcntl.
75416 2010-07-06  Andreas Schwab  <schwab@redhat.com>
75418         [BZ #11577]
75419         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
75420         dl_signal_cerror.
75422 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
75424         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
75425         _PC_PIPE_BUF using F_GETPIPE_SZ.
75427 2010-07-05  Roland McGrath  <roland@redhat.com>
75429         * manual/arith.texi (Rounding Functions): Fix rint description
75430         implicit in round description.
75432 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
75434         * elf/Makefile: Fix linking for a few tests to make recent linker
75435         happy.
75437 2010-06-30  Andreas Schwab  <schwab@redhat.com>
75439         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
75440         $(common-objpfx)libc_nonshared.a.
75442 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
75444         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
75445         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
75446         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
75447         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
75448         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
75449         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
75450         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
75451         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
75452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
75453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
75454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
75455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
75456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
75457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
75458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
75459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
75460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
75461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
75462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
75463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
75464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
75465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
75466         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
75467         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
75468         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
75469         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
75470         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
75471         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
75472         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
75473         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
75474         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
75475         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
75476         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
75477         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
75478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
75479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
75480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
75481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
75482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
75483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
75484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
75485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
75486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
75487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
75488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
75489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
75490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
75491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
75493 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
75495         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
75496         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
75497         * string/memmove.c (memmove): Renamed to ...
75498         (MEMMOVE): ...this.  Default to memmove.
75499         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
75500         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
75501         (END_CHK): Define.
75502         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75503         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
75504         mempcpy-ssse3-back memmove-ssse3-back.
75505         * sysdeps/x86_64/multiarch/bcopy.S: New file .
75506         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
75507         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
75508         * sysdeps/x86_64/multiarch/memcpy.S: New file.
75509         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
75510         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
75511         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
75512         * sysdeps/x86_64/multiarch/memmove.c: New file.
75513         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
75514         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
75515         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
75516         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
75517         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
75518         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
75519         Define.
75520         (index_Fast_Copy_Backward): Define.
75521         (HAS_ARCH_FEATURE): Define.
75522         (HAS_FAST_REP_STRING): Define.
75523         (HAS_FAST_COPY_BACKWARD): Define.
75525 2010-06-21  Andreas Schwab  <schwab@redhat.com>
75527         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
75528         Restore proper fallback handling.
75530 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
75532         [BZ #11701]
75533         * posix/group_member.c (__group_member): Correct checking loop.
75535         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
75536         OOM in getpwuid_r correctly.  Return error number when the caller
75537         should return, otherwise -1.
75538         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
75539         call returning > 0 value.
75540         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
75542 2010-06-07  Andreas Schwab  <schwab@redhat.com>
75544         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
75545         libc_nonshared.a from targets in modules-names.
75547 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
75549         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
75550         requires it.
75552 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
75554         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
75555         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
75556         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
75557         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
75559 2010-06-02  Andreas Schwab  <schwab@redhat.com>
75561         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
75563 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
75565         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
75566         and F_GETPIPE_SZ.
75567         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75568         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75569         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75570         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75571         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75572         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75574 2010-06-14  Roland McGrath  <roland@redhat.com>
75576         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
75578 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
75580         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
75581         __REDIRECT followed by __THROW.
75582         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
75583         * posix/getopt.h (getopt): Likewise.
75585 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
75587         * hurd/lookup-at.c (__file_name_lookup_at): Accept
75588         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
75589         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
75590         in AT_FLAGS.
75591         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
75592         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
75594 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
75596         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
75598 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
75600         [BZ #11640]
75601         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75602         Properly check family and model.
75604 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
75606         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
75608 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
75610         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
75612 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
75614         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
75615         symbol reference.
75617 2010-05-19  Andreas Schwab  <schwab@redhat.com>
75619         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
75620         symbol reference.
75622 2010-05-21  Andreas Schwab  <schwab@redhat.com>
75624         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
75625         and internal_recvmmsg.
75626         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
75627         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
75628         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
75629         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
75631         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
75632         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
75633         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
75635 2010-05-20  Andreas Schwab  <schwab@redhat.com>
75637         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
75639 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
75641         POWER7 optimizations.
75642         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
75643         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
75645 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
75647         * version.h: Update for 2.13 development version.
75649 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
75651         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
75652         exceptions.  Return 0.
75654 2010-05-07  Roland McGrath  <roland@redhat.com>
75656         * elf/ldconfig.c (main): Add a const.
75658 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
75660         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
75661         (args_options): Add no-idn option.
75662         (ahosts_keys_int): Add idn_flags to ai_flags.
75663         (parse_option): Handle 'i' option to clear idn_flags.
75665         * malloc/malloc.c (_int_free): Possible race in the most recently
75666         added check.  Only act on the data if no current modification
75667         happened.
75669 See ChangeLog.17 for earlier changes.